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 20 matching lines...) Expand all Loading... |
31 [Reflect] attribute unsigned long width; | 31 [Reflect] attribute unsigned long width; |
32 [Reflect] attribute unsigned long height; | 32 [Reflect] attribute unsigned long height; |
33 readonly attribute unsigned long videoWidth; | 33 readonly attribute unsigned long videoWidth; |
34 readonly attribute unsigned long videoHeight; | 34 readonly attribute unsigned long videoHeight; |
35 [Reflect, URL] attribute DOMString poster; | 35 [Reflect, URL] attribute DOMString poster; |
36 | 36 |
37 // Non-standard APIs | 37 // Non-standard APIs |
38 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoSupportsFu
llscreen] readonly attribute boolean webkitSupportsFullscreen; | 38 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoSupportsFu
llscreen] readonly attribute boolean webkitSupportsFullscreen; |
39 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoDisplaying
Fullscreen] readonly attribute boolean webkitDisplayingFullscreen; | 39 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoDisplaying
Fullscreen] readonly attribute boolean webkitDisplayingFullscreen; |
40 | 40 |
41 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoEnterFulls
creen, RaisesException, LogActivity, LogAllWorlds] void webkitEnterFullscreen(); | 41 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoEnterFulls
creen, LogActivity, LogAllWorlds] void webkitEnterFullscreen(); |
42 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoExitFullsc
reen] void webkitExitFullscreen(); | 42 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoExitFullsc
reen] void webkitExitFullscreen(); |
43 | 43 |
44 // Note the different capitalization of the "S" in FullScreen. | 44 // Note the different capitalization of the "S" in FullScreen. |
45 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoEnterFullS
creen, ImplementedAs=webkitEnterFullscreen, RaisesException, LogActivity, LogAll
Worlds] void webkitEnterFullScreen(); | 45 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoEnterFullS
creen, ImplementedAs=webkitEnterFullscreen, LogActivity, LogAllWorlds] void webk
itEnterFullScreen(); |
46 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoExitFullSc
reen, ImplementedAs=webkitExitFullscreen] void webkitExitFullScreen(); | 46 [RuntimeEnabled=PrefixedVideoFullscreen, DeprecateAs=PrefixedVideoExitFullSc
reen, ImplementedAs=webkitExitFullscreen] void webkitExitFullScreen(); |
47 | 47 |
48 // The number of frames that have been decoded and made available for | 48 // The number of frames that have been decoded and made available for |
49 // playback. | 49 // playback. |
50 [MeasureAs=PrefixedVideoDecodedFrameCount] readonly attribute unsigned long
webkitDecodedFrameCount; | 50 [MeasureAs=PrefixedVideoDecodedFrameCount] readonly attribute unsigned long
webkitDecodedFrameCount; |
51 | 51 |
52 // The number of decoded frames that have been dropped by the player | 52 // The number of decoded frames that have been dropped by the player |
53 // for performance reasons during playback. | 53 // for performance reasons during playback. |
54 [MeasureAs=PrefixedVideoDroppedFrameCount] readonly attribute unsigned long
webkitDroppedFrameCount; | 54 [MeasureAs=PrefixedVideoDroppedFrameCount] readonly attribute unsigned long
webkitDroppedFrameCount; |
55 }; | 55 }; |
OLD | NEW |