OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2010 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2010 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 14 matching lines...) Expand all Loading... |
25 | 25 |
26 [ | 26 [ |
27 RuntimeEnabled=Media | 27 RuntimeEnabled=Media |
28 ] interface HTMLVideoElement : HTMLMediaElement { | 28 ] interface HTMLVideoElement : HTMLMediaElement { |
29 [Reflect] attribute unsigned long width; | 29 [Reflect] attribute unsigned long width; |
30 [Reflect] attribute unsigned long height; | 30 [Reflect] attribute unsigned long height; |
31 readonly attribute unsigned long videoWidth; | 31 readonly attribute unsigned long videoWidth; |
32 readonly attribute unsigned long videoHeight; | 32 readonly attribute unsigned long videoHeight; |
33 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] at
tribute DOMString poster; | 33 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] at
tribute DOMString poster; |
34 | 34 |
35 [DeprecateAs=PrefixedVideoSupportsFullscreen] readonly attribute boolean web
kitSupportsFullscreen; | |
36 [DeprecateAs=PrefixedVideoDisplayingFullscreen] readonly attribute boolean w
ebkitDisplayingFullscreen; | |
37 | |
38 [DeprecateAs=PrefixedVideoEnterFullscreen, RaisesException, PerWorldBindings
, ActivityLogging=ForAllWorlds] void webkitEnterFullscreen(); | |
39 [DeprecateAs=PrefixedVideoExitFullscreen] void webkitExitFullscreen(); | |
40 | |
41 // Note the different capitalization of the "S" in FullScreen. | |
42 [DeprecateAs=PrefixedVideoEnterFullScreen, ImplementedAs=webkitEnterFullscre
en, RaisesException, PerWorldBindings, ActivityLogging=ForAllWorlds] void webkit
EnterFullScreen(); | |
43 [DeprecateAs=PrefixedVideoExitFullScreen, ImplementedAs=webkitExitFullscreen
] void webkitExitFullScreen(); | |
44 | |
45 // The number of frames that have been decoded and made available for | 35 // The number of frames that have been decoded and made available for |
46 // playback. | 36 // playback. |
47 [MeasureAs=PrefixedVideoDecodedFrameCount] readonly attribute unsigned long
webkitDecodedFrameCount; | 37 [MeasureAs=PrefixedVideoDecodedFrameCount] readonly attribute unsigned long
webkitDecodedFrameCount; |
48 | 38 |
49 // The number of decoded frames that have been dropped by the player | 39 // The number of decoded frames that have been dropped by the player |
50 // for performance reasons during playback. | 40 // for performance reasons during playback. |
51 [MeasureAs=PrefixedVideoDroppedFrameCount] readonly attribute unsigned long
webkitDroppedFrameCount; | 41 [MeasureAs=PrefixedVideoDroppedFrameCount] readonly attribute unsigned long
webkitDroppedFrameCount; |
52 }; | 42 }; |
OLD | NEW |