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, TreatNullAs=NullString, URL] attribute DOMString poster; | 33 [Reflect, TreatNullAs=NullString, URL] attribute DOMString poster; |
34 | 34 |
35 readonly attribute boolean webkitSupportsFullscreen; | 35 [MeasureAs=PrefixedVideoSupportsFullscreen] readonly attribute boolean webki
tSupportsFullscreen; |
36 readonly attribute boolean webkitDisplayingFullscreen; | 36 [MeasureAs=PrefixedVideoDisplayingFullscreen] readonly attribute boolean web
kitDisplayingFullscreen; |
37 | 37 |
38 [RaisesException, PerWorldBindings, ActivityLogging=AccessForAllWorlds] void
webkitEnterFullscreen(); | 38 [MeasureAs=PrefixedVideoEnterFullscreen, RaisesException, PerWorldBindings,
ActivityLogging=AccessForAllWorlds] void webkitEnterFullscreen(); |
39 void webkitExitFullscreen(); | 39 [MeasureAs=PrefixedVideoExitFullscreen] 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 [RaisesException, PerWorldBindings, ActivityLogging=AccessForAllWorlds] void
webkitEnterFullScreen(); | 42 [MeasureAs=PrefixedVideoEnterFullScreen, ImplementedAs=webkitEnterFullscreen
, RaisesException, PerWorldBindings, ActivityLogging=AccessForAllWorlds] void we
bkitEnterFullScreen(); |
43 void webkitExitFullScreen(); | 43 [MeasureAs=PrefixedVideoExitFullScreen, 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 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 readonly attribute unsigned long webkitDroppedFrameCount; | 51 [MeasureAs=PrefixedVideoDroppedFrameCount] readonly attribute unsigned long
webkitDroppedFrameCount; |
52 }; | 52 }; |
OLD | NEW |