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

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

Issue 21263002: Add back captureEvents and releaseEvents (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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/page/UseCounter.cpp
diff --git a/Source/core/page/UseCounter.cpp b/Source/core/page/UseCounter.cpp
index 0d3eeb4bc9d1f58422b3bf26ad12b879f3848393..6a32186a57f7d528862af8ad345725cbbf523404 100644
--- a/Source/core/page/UseCounter.cpp
+++ b/Source/core/page/UseCounter.cpp
@@ -644,6 +644,12 @@ String UseCounter::deprecationMessage(Feature feature)
case CaptureAttributeAsEnum:
return "Using the 'capture' attribute as an enum is deprecated. Please use it as a boolean and specify the media types that should be accepted in the 'accept' attribute.";
+ case CaptureEvents:
+ return "captureEvents() is deprecated. This method doesn't do anything.";
+
+ case ReleaseEvents:
+ return "releaseEvents() is deprecated. This method doesn't do anything.";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698