Index: remoting/protocol/input_event_tracker.h |
diff --git a/remoting/protocol/input_event_tracker.h b/remoting/protocol/input_event_tracker.h |
index e167cd2bb16688b073b8c23918dc660c35b07633..e83b269f8d5cd93ba6f15ccf6ecfeacdabd01ce7 100644 |
--- a/remoting/protocol/input_event_tracker.h |
+++ b/remoting/protocol/input_event_tracker.h |
@@ -29,14 +29,15 @@ class InputEventTracker : public InputStub { |
// Returns the count of keys currently pressed. |
int PressedKeyCount() const; |
- // Dispatch release events for all currently-pressed keys and mouse buttons |
- // to the InputStub. |
+ // Dispatch release events for all currently-pressed keys, mouse buttons, and |
+ // touch points to the InputStub. |
void ReleaseAll(); |
// InputStub interface. |
void InjectKeyEvent(const KeyEvent& event) override; |
void InjectTextEvent(const TextEvent& event) override; |
void InjectMouseEvent(const MouseEvent& event) override; |
+ void InjectTouchEvent(const TouchEvent& event) override; |
private: |
protocol::InputStub* input_stub_; |
@@ -46,6 +47,8 @@ class InputEventTracker : public InputStub { |
webrtc::DesktopVector mouse_pos_; |
uint32 mouse_button_state_; |
+ std::set<uint32> touch_point_ids_; |
+ |
DISALLOW_COPY_AND_ASSIGN(InputEventTracker); |
}; |