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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 const unsigned short HAVE_NOTHING = 0; | 50 const unsigned short HAVE_NOTHING = 0; |
51 const unsigned short HAVE_METADATA = 1; | 51 const unsigned short HAVE_METADATA = 1; |
52 const unsigned short HAVE_CURRENT_DATA = 2; | 52 const unsigned short HAVE_CURRENT_DATA = 2; |
53 const unsigned short HAVE_FUTURE_DATA = 3; | 53 const unsigned short HAVE_FUTURE_DATA = 3; |
54 const unsigned short HAVE_ENOUGH_DATA = 4; | 54 const unsigned short HAVE_ENOUGH_DATA = 4; |
55 readonly attribute unsigned short readyState; | 55 readonly attribute unsigned short readyState; |
56 readonly attribute boolean seeking; | 56 readonly attribute boolean seeking; |
57 | 57 |
58 // playback state | 58 // playback state |
59 [SetterRaisesException] attribute double currentTime; | 59 [SetterRaisesException] attribute double currentTime; |
60 readonly attribute double initialTime; | |
61 readonly attribute double duration; | 60 readonly attribute double duration; |
62 readonly attribute boolean paused; | 61 readonly attribute boolean paused; |
63 attribute double defaultPlaybackRate; | 62 attribute double defaultPlaybackRate; |
64 attribute double playbackRate; | 63 attribute double playbackRate; |
65 readonly attribute TimeRanges played; | 64 readonly attribute TimeRanges played; |
66 readonly attribute TimeRanges seekable; | 65 readonly attribute TimeRanges seekable; |
67 readonly attribute boolean ended; | 66 readonly attribute boolean ended; |
68 [Reflect] attribute boolean autoplay; | 67 [Reflect] attribute boolean autoplay; |
69 [Reflect] attribute boolean loop; | 68 [Reflect] attribute boolean loop; |
70 void play(); | 69 void play(); |
(...skipping 24 matching lines...) Expand all Loading... |
95 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException] void webkitAddKey([
TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, Uint8A
rray key, optional Uint8Array initData, [Default=NullString] optional DOMString
sessionId); | 94 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException] void webkitAddKey([
TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, Uint8A
rray key, optional Uint8Array initData, [Default=NullString] optional DOMString
sessionId); |
96 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException] void webkitCancelKe
yRequest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySyst
em, [Default=NullString] optional DOMString sessionId); | 95 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException] void webkitCancelKe
yRequest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySyst
em, [Default=NullString] optional DOMString sessionId); |
97 | 96 |
98 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyad
ded; | 97 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyad
ded; |
99 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyer
ror; | 98 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyer
ror; |
100 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyme
ssage; | 99 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyme
ssage; |
101 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedk
ey; | 100 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedk
ey; |
102 | 101 |
103 [RuntimeEnabled=EncryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute Me
diaKeys mediaKeys; | 102 [RuntimeEnabled=EncryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute Me
diaKeys mediaKeys; |
104 }; | 103 }; |
OLD | NEW |