| 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 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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; | 60 readonly attribute double initialTime; |
| 61 readonly attribute double startTime; | |
| 62 readonly attribute double duration; | 61 readonly attribute double duration; |
| 63 readonly attribute boolean paused; | 62 readonly attribute boolean paused; |
| 64 attribute double defaultPlaybackRate; | 63 attribute double defaultPlaybackRate; |
| 65 attribute double playbackRate; | 64 attribute double playbackRate; |
| 66 readonly attribute TimeRanges played; | 65 readonly attribute TimeRanges played; |
| 67 readonly attribute TimeRanges seekable; | 66 readonly attribute TimeRanges seekable; |
| 68 readonly attribute boolean ended; | 67 readonly attribute boolean ended; |
| 69 [Reflect] attribute boolean autoplay; | 68 [Reflect] attribute boolean autoplay; |
| 70 [Reflect] attribute boolean loop; | 69 [Reflect] attribute boolean loop; |
| 71 void play(); | 70 void play(); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 96 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException] void webkitAddKey([
TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, Uint8A
rray key, optional Uint8Array initData, [Default=NullString] optional DOMString
sessionId); | 95 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException] void webkitAddKey([
TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySystem, Uint8A
rray key, optional Uint8Array initData, [Default=NullString] optional DOMString
sessionId); |
| 97 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException] void webkitCancelKe
yRequest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySyst
em, [Default=NullString] optional DOMString sessionId); | 96 [RuntimeEnabled=PrefixedEncryptedMedia, RaisesException] void webkitCancelKe
yRequest([TreatNullAs=NullString, TreatUndefinedAs=NullString] DOMString keySyst
em, [Default=NullString] optional DOMString sessionId); |
| 98 | 97 |
| 99 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyad
ded; | 98 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyad
ded; |
| 100 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyer
ror; | 99 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyer
ror; |
| 101 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyme
ssage; | 100 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyme
ssage; |
| 102 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedk
ey; | 101 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedk
ey; |
| 103 | 102 |
| 104 [RuntimeEnabled=EncryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute Me
diaKeys mediaKeys; | 103 [RuntimeEnabled=EncryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute Me
diaKeys mediaKeys; |
| 105 }; | 104 }; |
| OLD | NEW |