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 |