| 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 16 matching lines...) Expand all Loading... |
| 27 RuntimeEnabled=Media, | 27 RuntimeEnabled=Media, |
| 28 ActiveDOMObject | 28 ActiveDOMObject |
| 29 ] interface HTMLMediaElement : HTMLElement { | 29 ] interface HTMLMediaElement : HTMLElement { |
| 30 | 30 |
| 31 // error state | 31 // error state |
| 32 readonly attribute MediaError error; | 32 readonly attribute MediaError error; |
| 33 | 33 |
| 34 // network state | 34 // network state |
| 35 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] at
tribute DOMString src; | 35 [Reflect, URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] at
tribute DOMString src; |
| 36 [URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] readonly at
tribute DOMString currentSrc; | 36 [URL, PerWorldBindings, ActivityLogging=SetterForIsolatedWorlds] readonly at
tribute DOMString currentSrc; |
| 37 [Reflect] attribute DOMString crossOrigin; | 37 [Reflect, ReflectOnly="anonymous"|"use-credentials", ReflectEmpty="anonymous
", ReflectInvalid="anonymous"] attribute DOMString crossOrigin; |
| 38 | 38 |
| 39 const unsigned short NETWORK_EMPTY = 0; | 39 const unsigned short NETWORK_EMPTY = 0; |
| 40 const unsigned short NETWORK_IDLE = 1; | 40 const unsigned short NETWORK_IDLE = 1; |
| 41 const unsigned short NETWORK_LOADING = 2; | 41 const unsigned short NETWORK_LOADING = 2; |
| 42 const unsigned short NETWORK_NO_SOURCE = 3; | 42 const unsigned short NETWORK_NO_SOURCE = 3; |
| 43 readonly attribute unsigned short networkState; | 43 readonly attribute unsigned short networkState; |
| 44 attribute DOMString preload; | 44 attribute DOMString preload; |
| 45 | 45 |
| 46 readonly attribute TimeRanges buffered; | 46 readonly attribute TimeRanges buffered; |
| 47 void load(); | 47 void load(); |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 96 [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); |
| 97 | 97 |
| 98 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyad
ded; | 98 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyad
ded; |
| 99 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyer
ror; | 99 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyer
ror; |
| 100 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyme
ssage; | 100 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyme
ssage; |
| 101 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedk
ey; | 101 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedk
ey; |
| 102 | 102 |
| 103 [RuntimeEnabled=EncryptedMedia] readonly attribute MediaKeys mediaKeys; | 103 [RuntimeEnabled=EncryptedMedia] readonly attribute MediaKeys mediaKeys; |
| 104 [RuntimeEnabled=EncryptedMedia] void setMediaKeys(MediaKeys mediaKeys); | 104 [RuntimeEnabled=EncryptedMedia] void setMediaKeys(MediaKeys mediaKeys); |
| 105 }; | 105 }; |
| OLD | NEW |