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

Unified Diff: Source/modules/gamepad/NavigatorGamepad.idl

Issue 183313003: Added non-prefixed navigator.getGamepads() with updated API (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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
« no previous file with comments | « Source/modules/gamepad/NavigatorGamepad.cpp ('k') | Source/modules/gamepad/WebKitGamepad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/modules/gamepad/NavigatorGamepad.idl
diff --git a/Source/modules/gamepad/NavigatorGamepad.idl b/Source/modules/gamepad/NavigatorGamepad.idl
index a9948c80c719a9471ac4075b378864892474299a..81b1f29ce338eef913e161eec985b1730a69efd2 100644
--- a/Source/modules/gamepad/NavigatorGamepad.idl
+++ b/Source/modules/gamepad/NavigatorGamepad.idl
@@ -20,5 +20,6 @@
[
RuntimeEnabled=Gamepad,
] partial interface Navigator {
- GamepadList webkitGetGamepads();
+ [DeprecateAs=PrefixedGamepad] WebKitGamepadList webkitGetGamepads();
+ GamepadList getGamepads();
};
« no previous file with comments | « Source/modules/gamepad/NavigatorGamepad.cpp ('k') | Source/modules/gamepad/WebKitGamepad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698