Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(527)

Side by Side Diff: Source/core/html/HTMLMediaElement.idl

Issue 75083002: Support the crossOrigin IDL attribute over HTMLMediaElement. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin-expected.txt ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 38
38 const unsigned short NETWORK_EMPTY = 0; 39 const unsigned short NETWORK_EMPTY = 0;
39 const unsigned short NETWORK_IDLE = 1; 40 const unsigned short NETWORK_IDLE = 1;
40 const unsigned short NETWORK_LOADING = 2; 41 const unsigned short NETWORK_LOADING = 2;
41 const unsigned short NETWORK_NO_SOURCE = 3; 42 const unsigned short NETWORK_NO_SOURCE = 3;
42 readonly attribute unsigned short networkState; 43 readonly attribute unsigned short networkState;
43 attribute DOMString preload; 44 attribute DOMString preload;
44 45
45 readonly attribute TimeRanges buffered; 46 readonly attribute TimeRanges buffered;
46 void load(); 47 void load();
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 [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);
95 [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);
96 97
97 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyad ded; 98 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyad ded;
98 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyer ror; 99 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyer ror;
99 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyme ssage; 100 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitkeyme ssage;
100 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedk ey; 101 [RuntimeEnabled=PrefixedEncryptedMedia] attribute EventHandler onwebkitneedk ey;
101 102
102 [RuntimeEnabled=EncryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute Me diaKeys mediaKeys; 103 [RuntimeEnabled=EncryptedMedia, Conditional=ENCRYPTED_MEDIA_V2] attribute Me diaKeys mediaKeys;
103 }; 104 };
OLDNEW
« no previous file with comments | « LayoutTests/media/track/opera/interfaces/HTMLElement/HTMLMediaElement/crossOrigin-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698