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

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

Issue 20034002: Add support for KeyboardEvent.location attribute (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix nits 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 1f4aa00f4113ee4af6451f3e49b9870f0bf8e058..b4910424c020c11e5821ef658c9980f37dc7707c 100644
--- a/Source/core/page/UseCounter.cpp
+++ b/Source/core/page/UseCounter.cpp
@@ -644,6 +644,10 @@ 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.";
+ // Keyboard Event (DOM Level 3)
+ case KeyboardEventKeyLocation:
+ return "'KeyboardEvent.keyLocation'' is deprecated. Please use 'KeyboardEvent.location' instead.";
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698