Chromium Code Reviews

Unified Diff: Source/core/html/HTMLMediaElement.idl

Issue 456323002: [WIP] Re-implement MediaControls in Blink-in-JS (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: Source/core/html/HTMLMediaElement.idl
diff --git a/Source/core/html/HTMLMediaElement.idl b/Source/core/html/HTMLMediaElement.idl
index aa9d0405be6540ac997516ab4536c35aaef5aedf..f0f429f41611de2fce6f77d996f597b43b840009 100644
--- a/Source/core/html/HTMLMediaElement.idl
+++ b/Source/core/html/HTMLMediaElement.idl
@@ -94,4 +94,7 @@
[MeasureAs=PrefixedVideoDecodedByteCount] readonly attribute unsigned long webkitVideoDecodedByteCount;
[Reflect, RuntimeEnabled=SubresourceIntegrity] attribute DOMString integrity;
+
+ [OnlyExposedToPrivateScript] boolean hasVideo();
+ [OnlyExposedToPrivateScript] boolean hasAudio();
abarth-chromium 2014/08/11 18:04:12 Why is this needed? We should avoid introducing O
philipj_slow 2014/08/11 19:40:15 If things were hooked up just a little bit more in
hajimehoshi 2014/08/12 06:54:09 Hmm, I wasn't sure how to get the same results of
philipj_slow 2014/08/12 08:27:48 AudioVideoTracks is still status=experimental, so
};

Powered by Google App Engine