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