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

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

Issue 18332015: HTML Media Capture: Update implementation, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@update-media-capture-implementation-part1
Patch Set: Rebase 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
« no previous file with comments | « Source/core/page/UseCounter.h ('k') | Source/core/platform/FileChooser.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/page/UseCounter.cpp
diff --git a/Source/core/page/UseCounter.cpp b/Source/core/page/UseCounter.cpp
index 5ec1faa4cfd023c6fc306381c649f91ab15d18bb..58a983854345a23d9f03a59fbc88f40644a6f17c 100644
--- a/Source/core/page/UseCounter.cpp
+++ b/Source/core/page/UseCounter.cpp
@@ -640,6 +640,10 @@ String UseCounter::deprecationMessage(Feature feature)
case PrefixedDocumentRegister:
return "The document.webkitRegister method is deprecated. Use the document.register method instead.";
+ // HTML Media Capture
+ 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.";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();
« no previous file with comments | « Source/core/page/UseCounter.h ('k') | Source/core/platform/FileChooser.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698