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 // https://fullscreen.spec.whatwg.org/#api |
| 6 |
5 partial interface Element { | 7 partial interface Element { |
6 [RuntimeEnabled=FullscreenUnprefixed] void requestFullscreen(); | 8 [RuntimeEnabled=FullscreenUnprefixed] void requestFullscreen(); |
7 | 9 |
8 // Mozilla version | 10 // Mozilla version |
9 [LogActivity, LogAllWorlds, MeasureAs=PrefixedElementRequestFullScreen, Impl
ementedAs=webkitRequestFullscreen] void webkitRequestFullScreen(); | 11 [LogActivity, LogAllWorlds, MeasureAs=PrefixedElementRequestFullScreen, Impl
ementedAs=webkitRequestFullscreen] void webkitRequestFullScreen(); |
10 | 12 |
11 // W3C version | 13 // W3C version |
12 [LogActivity, LogAllWorlds, MeasureAs=PrefixedElementRequestFullscreen] void
webkitRequestFullscreen(); | 14 [LogActivity, LogAllWorlds, MeasureAs=PrefixedElementRequestFullscreen] void
webkitRequestFullscreen(); |
13 | 15 |
14 attribute EventHandler onwebkitfullscreenchange; | 16 attribute EventHandler onwebkitfullscreenchange; |
15 attribute EventHandler onwebkitfullscreenerror; | 17 attribute EventHandler onwebkitfullscreenerror; |
16 }; | 18 }; |
OLD | NEW |