blob: e27ee3d0367850918e1a99e0f6eb29310c2df39d [file] [log] [blame]
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
partial interface Element {
[RuntimeEnabled=FullscreenUnprefixed] void requestFullscreen();
// Mozilla version
[LogActivity, LogAllWorlds, MeasureAs=PrefixedElementRequestFullScreen, ImplementedAs=webkitRequestFullscreen] void webkitRequestFullScreen();
// W3C version
[LogActivity, LogAllWorlds, MeasureAs=PrefixedElementRequestFullscreen] void webkitRequestFullscreen();
attribute EventHandler onwebkitfullscreenchange;
attribute EventHandler onwebkitfullscreenerror;