1// Copyright 2014 The Chromium Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5partial interface Element {
6    [RuntimeEnabled=FullscreenUnprefixed] void requestFullscreen();
7
8    // Mozilla version
9    const unsigned short ALLOW_KEYBOARD_INPUT = 1;
10    [LogActivity, LogAllWorlds, MeasureAs=PrefixedElementRequestFullScreen] void webkitRequestFullScreen([Default=Undefined] optional unsigned short flags);
11
12    // W3C version
13    [LogActivity, LogAllWorlds, MeasureAs=PrefixedElementRequestFullscreen] void webkitRequestFullscreen();
14
15    attribute EventHandler onwebkitfullscreenchange;
16    attribute EventHandler onwebkitfullscreenerror;
17};
18