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

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

Issue 827673002: Add MediaStream.active attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebase Created 5 years, 11 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
« no previous file with comments | « Source/modules/mediastream/MediaStream.cpp ('k') | Source/platform/mediastream/MediaStreamDescriptor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/mediastream/MediaStream.idl
diff --git a/Source/modules/mediastream/MediaStream.idl b/Source/modules/mediastream/MediaStream.idl
index 14cf0f51a97c7a7bdc51453c5c807c758212336a..e06dac4a5df581e9169f335c78885d12b4dbf2ab 100644
--- a/Source/modules/mediastream/MediaStream.idl
+++ b/Source/modules/mediastream/MediaStream.idl
@@ -48,10 +48,16 @@
// DEPRECATED
[MeasureAs=MediaStreamEnded] readonly attribute boolean ended;
+ readonly attribute boolean active;
+
// DEPRECATED
[MeasureAs=MediaStreamStop] void stop();
+ attribute EventHandler onactive;
+ attribute EventHandler oninactive;
+ // DEPRECATED
attribute EventHandler onended;
+
attribute EventHandler onaddtrack;
attribute EventHandler onremovetrack;
};
« no previous file with comments | « Source/modules/mediastream/MediaStream.cpp ('k') | Source/platform/mediastream/MediaStreamDescriptor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698