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

Unified Diff: third_party/WebKit/Source/modules/gamepad/Gamepad.idl

Issue 2300543003: Added Pose attribute to Gamepad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gamepad_touched
Patch Set: Rebase Created 4 years, 3 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: third_party/WebKit/Source/modules/gamepad/Gamepad.idl
diff --git a/third_party/WebKit/Source/modules/gamepad/Gamepad.idl b/third_party/WebKit/Source/modules/gamepad/Gamepad.idl
index 0c08fc596e4ffe04a0761ffc2e6b1b33b3fbc61e..0e6953fe7e60c071c26ec92b5855cdfc73aacc65 100644
--- a/third_party/WebKit/Source/modules/gamepad/Gamepad.idl
+++ b/third_party/WebKit/Source/modules/gamepad/Gamepad.idl
@@ -23,6 +23,7 @@
* DAMAGE.
*/
+// https://w3c.github.io/gamepad/#gamepad-interface
interface Gamepad {
readonly attribute DOMString id;
readonly attribute unsigned long index;
@@ -31,4 +32,5 @@ interface Gamepad {
readonly attribute DOMString mapping;
readonly attribute double[] axes;
readonly attribute GamepadButton[] buttons;
+ [RuntimeEnabled=GamepadExtensions] readonly attribute GamepadPose? pose;
};
« no previous file with comments | « third_party/WebKit/Source/modules/gamepad/Gamepad.cpp ('k') | third_party/WebKit/Source/modules/gamepad/GamepadPose.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698