| 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 12 matching lines...) Expand all Loading... |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 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] attribute DOMString poster; | 33 [Reflect, URL, LogActivity=SetterOnly] attribute DOMString poster; |
| 34 | 34 |
| 35 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoSupportsFu
llscreen] readonly attribute boolean webkitSupportsFullscreen; | 35 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoSupportsFu
llscreen] readonly attribute boolean webkitSupportsFullscreen; |
| 36 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoDisplaying
Fullscreen] readonly attribute boolean webkitDisplayingFullscreen; | 36 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoDisplaying
Fullscreen] readonly attribute boolean webkitDisplayingFullscreen; |
| 37 | 37 |
| 38 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoEnterFulls
creen, RaisesException, LogActivity, LogAllWorlds] void webkitEnterFullscreen(); | 38 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoEnterFulls
creen, RaisesException, LogActivity, LogAllWorlds] void webkitEnterFullscreen(); |
| 39 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoExitFullsc
reen] void webkitExitFullscreen(); | 39 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoExitFullsc
reen] void webkitExitFullscreen(); |
| 40 | 40 |
| 41 // Note the different capitalization of the "S" in FullScreen. | 41 // Note the different capitalization of the "S" in FullScreen. |
| 42 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoEnterFullS
creen, ImplementedAs=webkitEnterFullscreen, RaisesException, LogActivity, LogAll
Worlds] void webkitEnterFullScreen(); | 42 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoEnterFullS
creen, ImplementedAs=webkitEnterFullscreen, RaisesException, LogActivity, LogAll
Worlds] void webkitEnterFullScreen(); |
| 43 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoExitFullSc
reen, ImplementedAs=webkitExitFullscreen] void webkitExitFullScreen(); | 43 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoExitFullSc
reen, ImplementedAs=webkitExitFullscreen] void webkitExitFullScreen(); |
| 44 | 44 |
| 45 // The number of frames that have been decoded and made available for | 45 // The number of frames that have been decoded and made available for |
| 46 // playback. | 46 // playback. |
| 47 [MeasureAs=PrefixedVideoDecodedFrameCount] readonly attribute unsigned long
webkitDecodedFrameCount; | 47 [MeasureAs=PrefixedVideoDecodedFrameCount] readonly attribute unsigned long
webkitDecodedFrameCount; |
| 48 | 48 |
| 49 // The number of decoded frames that have been dropped by the player | 49 // The number of decoded frames that have been dropped by the player |
| 50 // for performance reasons during playback. | 50 // for performance reasons during playback. |
| 51 [MeasureAs=PrefixedVideoDroppedFrameCount] readonly attribute unsigned long
webkitDroppedFrameCount; | 51 [MeasureAs=PrefixedVideoDroppedFrameCount] readonly attribute unsigned long
webkitDroppedFrameCount; |
| 52 }; | 52 }; |
| OLD | NEW |