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

Unified Diff: ppapi/shared_impl/ppb_gamepad_shared.h

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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/gamepad/Gamepad.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/shared_impl/ppb_gamepad_shared.h
diff --git a/ppapi/shared_impl/ppb_gamepad_shared.h b/ppapi/shared_impl/ppb_gamepad_shared.h
index 8787320ef9929a95d6f10c4109814b2528006b68..3a3d6802c09364d3a9f845d65e7ec6f747e63c62 100644
--- a/ppapi/shared_impl/ppb_gamepad_shared.h
+++ b/ppapi/shared_impl/ppb_gamepad_shared.h
@@ -91,6 +91,9 @@ struct WebKitGamepad {
WebKitGamepadPose pose;
WebKitGamepadHand hand;
+
+ // ID of the VRDisplay this gamepad is associated with, if any.
+ unsigned display_id;
};
// This must match the definition of blink::Gamepads. The GamepadHost unit
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/gamepad/Gamepad.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698