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; |
}; |