OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2007, 2010, 2011, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2007, 2010, 2011, 2012 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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 void play(); | 71 void play(); |
72 void pause(); | 72 void pause(); |
73 | 73 |
74 // controls | 74 // controls |
75 attribute boolean controls; | 75 attribute boolean controls; |
76 [SetterRaisesException] attribute double volume; | 76 [SetterRaisesException] attribute double volume; |
77 attribute boolean muted; | 77 attribute boolean muted; |
78 [Reflect=muted] attribute boolean defaultMuted; | 78 [Reflect=muted] attribute boolean defaultMuted; |
79 | 79 |
80 // WebKit extensions | 80 // WebKit extensions |
81 attribute boolean webkitPreservesPitch; | |
82 | |
83 readonly attribute boolean webkitHasClosedCaptions; | 81 readonly attribute boolean webkitHasClosedCaptions; |
84 attribute boolean webkitClosedCaptionsVisible; | 82 attribute boolean webkitClosedCaptionsVisible; |
85 | 83 |
86 // The number of bytes consumed by the media decoder. | 84 // The number of bytes consumed by the media decoder. |
87 readonly attribute unsigned long webkitAudioDecodedByteCount; | 85 readonly attribute unsigned long webkitAudioDecodedByteCount; |
88 readonly attribute unsigned long webkitVideoDecodedByteCount; | 86 readonly attribute unsigned long webkitVideoDecodedByteCount; |
89 | 87 |
90 // FIXME: add DeprecateAs=PrefixedMediaGenerateKeyRequest when MediaKeys is read
y. | 88 // FIXME: add DeprecateAs=PrefixedMediaGenerateKeyRequest when MediaKeys is read
y. |
91 [EnabledAtRuntime=PrefixedEncryptedMedia, RaisesException] void webkitGenerateKe
yRequest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySyst
em, optional Uint8Array initData); | 89 [EnabledAtRuntime=PrefixedEncryptedMedia, RaisesException] void webkitGenerateKe
yRequest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySyst
em, optional Uint8Array initData); |
92 [EnabledAtRuntime=PrefixedEncryptedMedia, RaisesException] void webkitAddKey([Tr
eatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, Uint8Arr
ay key, optional Uint8Array initData, [Default=NullString] optional DOMString se
ssionId); | 90 [EnabledAtRuntime=PrefixedEncryptedMedia, RaisesException] void webkitAddKey([Tr
eatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, Uint8Arr
ay key, optional Uint8Array initData, [Default=NullString] optional DOMString se
ssionId); |
93 [EnabledAtRuntime=PrefixedEncryptedMedia, RaisesException] void webkitCancelKeyR
equest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem
, [Default=NullString] optional DOMString sessionId); | 91 [EnabledAtRuntime=PrefixedEncryptedMedia, RaisesException] void webkitCancelKeyR
equest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem
, [Default=NullString] optional DOMString sessionId); |
94 | 92 |
95 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyadde
d; | 93 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyadde
d; |
96 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyerro
r; | 94 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyerro
r; |
97 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeymess
age; | 95 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeymess
age; |
98 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedkey
; | 96 [EnabledAtRuntime=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedkey
; |
99 | 97 |
100 [EnabledAtRuntime=EncryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute Medi
aKeys mediaKeys; | 98 [EnabledAtRuntime=EncryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute Medi
aKeys mediaKeys; |
101 | 99 |
102 [EnabledAtRuntime=VideoTrack, RaisesException] TextTrack addTextTrack(DOMString
kind, optional DOMString label, optional DOMString language); | 100 [EnabledAtRuntime=VideoTrack, RaisesException] TextTrack addTextTrack(DOMString
kind, optional DOMString label, optional DOMString language); |
103 [EnabledAtRuntime=VideoTrack] readonly attribute TextTrackList textTracks; | 101 [EnabledAtRuntime=VideoTrack] readonly attribute TextTrackList textTracks; |
104 | 102 |
105 [Reflect, TreatNullAs=NullString] attribute DOMString mediaGroup; | 103 [Reflect, TreatNullAs=NullString] attribute DOMString mediaGroup; |
106 [CustomSetter] attribute MediaController controller; | 104 [CustomSetter] attribute MediaController controller; |
107 }; | 105 }; |
OLD | NEW |