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

Unified Diff: Source/modules/mediastream/HTMLMediaElementMediaStream.idl

Issue 545933002: Implement HTMLMediaElement::srcObject. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: New approach - with #includes that violate checkdeps rules Created 6 years, 3 months 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 side-by-side diff with in-line comments
Download patch
Index: Source/modules/mediastream/HTMLMediaElementMediaStream.idl
diff --git a/Source/bindings/tests/idls/TestInterfaceConstructor3.idl b/Source/modules/mediastream/HTMLMediaElementMediaStream.idl
similarity index 87%
copy from Source/bindings/tests/idls/TestInterfaceConstructor3.idl
copy to Source/modules/mediastream/HTMLMediaElementMediaStream.idl
index 19b6669a0e57ed612ba86fc12ddf6497c7495e6d..109d77090d5811312aee33dfa3935d0b41ab1c46 100644
--- a/Source/bindings/tests/idls/TestInterfaceConstructor3.idl
+++ b/Source/modules/mediastream/HTMLMediaElementMediaStream.idl
@@ -28,8 +28,10 @@
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-// Test for length > 0, non-overloaded constructor.
+/*
+// http://w3c.github.io/mediacapture-main/getusermedia.html#direct-assignment-to-media-elements
[
- Constructor(DOMString stringArg),
-] interface TestInterfaceConstructor3 {
-};
+ RuntimeEnabled=MediaStream,
+] partial interface HTMLMediaElement {
+ attribute MediaStream? srcObject;
+};*/

Powered by Google App Engine
This is Rietveld 408576698