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

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

Issue 2352713004: Added displayId to Gamepad (Closed)
Patch Set: Re-upstream w/o webvr dependency 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 81966a3ebd6a57bab376a824d8d2191b7436ee50..fd3f23d5e95f6d2dc33ba163bcc9b8bd80788355 100644
--- a/third_party/WebKit/Source/modules/gamepad/Gamepad.idl
+++ b/third_party/WebKit/Source/modules/gamepad/Gamepad.idl
@@ -40,4 +40,7 @@ interface Gamepad {
readonly attribute GamepadButton[] buttons;
[RuntimeEnabled=GamepadExtensions] readonly attribute GamepadPose? pose;
[RuntimeEnabled=GamepadExtensions] readonly attribute GamepadHand hand;
+
+ // https://w3c.github.io/webvr/#interface-gamepad
+ [RuntimeEnabled=GamepadExtensions] readonly attribute unsigned long displayId;
};
« no previous file with comments | « third_party/WebKit/Source/modules/gamepad/Gamepad.cpp ('k') | third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698