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

Unified Diff: Source/core/frame/UseCounter.cpp

Issue 1194763002: Deprecate MediaStream label, ended attributes and stop() method (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 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/core/frame/UseCounter.cpp
diff --git a/Source/core/frame/UseCounter.cpp b/Source/core/frame/UseCounter.cpp
index 0508a133bf78bf741cd430c2065c5814e5433eba..6e00d7724a3f7b6f647e57807c61879f8c00da52 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -938,6 +938,13 @@ String UseCounter::deprecationMessage(Feature feature)
case SVGSMILAnimationInImageRegardlessOfCache:
return "SVG's SMIL animations (<animate>, <set>, etc.) are deprecated and will be removed. Please use CSS animations or Web animations instead.";
+ case MediaStreamLabel:
+ return "'MediaStream.label' is deprecated. See http://w3c.github.io/mediacapture-main/getusermedia.html#idl-def-MediaStream for more details.";
philipj_slow 2015/06/24 10:18:17 Please add a blank line after every return like ab
shiva.jm 2015/06/24 12:06:42 Done.
+ case MediaStreamStop:
+ return "'MediaStream.stop()' is deprecated. Please use MediaStream.active attribute instead.";
+ case MediaStreamEnded:
+ return "'MediaStream.ended' is deprecated. Please use MediaStream.active attribute instead.";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« no previous file with comments | « LayoutTests/fast/mediastream/MediaStreamConstructor-expected.txt ('k') | Source/modules/mediastream/MediaStream.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698