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

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

Issue 183313003: Added non-prefixed navigator.getGamepads() with updated API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added LayoutTests Created 6 years, 9 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 f8d9a2a3700008b8a14ed8306fe0087ebba0725a..ffb5d2da00c3921c5a6029198a41346a673d6915 100644
--- a/Source/core/frame/UseCounter.cpp
+++ b/Source/core/frame/UseCounter.cpp
@@ -685,6 +685,9 @@ String UseCounter::deprecationMessage(Feature feature)
case PrefixedSpeechAttribute:
return "The 'x-webkit-speech' input field attribute is deprecated. Please use the JavaScript API instead.";
+ case PrefixedGamepad:
+ return "'navigator.webkitGetGamepads' is deprecated. Please use the unprefixed 'navigator.getGamepads' method instead.";
eseidel 2014/03/06 01:56:16 You can remove "the unprefixed" and "method" and
+
// Features that aren't deprecated don't have a deprecation message.
default:
return String();

Powered by Google App Engine
This is Rietveld 408576698