Index: third_party/WebKit/Source/modules/gamepad/GamepadButton.h |
diff --git a/third_party/WebKit/Source/modules/gamepad/GamepadButton.h b/third_party/WebKit/Source/modules/gamepad/GamepadButton.h |
index 1b2ca71736b80e75a6b426b46bbc8fbffab977ff..5d875e1d6fa34ca42bc905f709545a32eb3b397b 100644 |
--- a/third_party/WebKit/Source/modules/gamepad/GamepadButton.h |
+++ b/third_party/WebKit/Source/modules/gamepad/GamepadButton.h |
@@ -22,12 +22,16 @@ public: |
bool pressed() const { return m_pressed; } |
void setPressed(bool val) { m_pressed = val; } |
+ bool touched() const { return m_touched; } |
+ void setTouched(bool val) { m_touched = val; } |
+ |
DEFINE_INLINE_TRACE() { } |
private: |
GamepadButton(); |
double m_value; |
bool m_pressed; |
+ bool m_touched; |
}; |
typedef HeapVector<Member<GamepadButton>> GamepadButtonVector; |