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

Unified Diff: third_party/WebKit/Source/modules/gamepad/Gamepad.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 | « ppapi/shared_impl/ppb_gamepad_shared.h ('k') | third_party/WebKit/Source/modules/gamepad/Gamepad.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/modules/gamepad/Gamepad.h
diff --git a/third_party/WebKit/Source/modules/gamepad/Gamepad.h b/third_party/WebKit/Source/modules/gamepad/Gamepad.h
index bcfeb4644aef06f76c3cb349f5b06ac9bf0fbc34..03353099162d9a70af7fe198644b97c35fe8956e 100644
--- a/third_party/WebKit/Source/modules/gamepad/Gamepad.h
+++ b/third_party/WebKit/Source/modules/gamepad/Gamepad.h
@@ -74,6 +74,9 @@ public:
const String& hand() const { return m_hand; }
void setHand(const WebGamepadHand&);
+ unsigned displayId() const { return m_displayId; }
+ void setDisplayId(unsigned val) { m_displayId = val; }
+
DECLARE_TRACE();
private:
@@ -88,6 +91,7 @@ private:
GamepadButtonVector m_buttons;
Member<GamepadPose> m_pose;
String m_hand;
+ unsigned m_displayId;
};
} // namespace blink
« no previous file with comments | « ppapi/shared_impl/ppb_gamepad_shared.h ('k') | third_party/WebKit/Source/modules/gamepad/Gamepad.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698