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

Unified Diff: remoting/client/gesture_interpreter.h

Issue 2904703003: [CRD iOS] Add support for three-finger gestures (Closed)
Patch Set: Remove unused import Created 3 years, 7 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 | remoting/client/gesture_interpreter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/gesture_interpreter.h
diff --git a/remoting/client/gesture_interpreter.h b/remoting/client/gesture_interpreter.h
index d55e554589a537e158c2dfad3636f57c3fd51954..66642e5d1c2c4dc1ada5cacc639cd08a0c0791af 100644
--- a/remoting/client/gesture_interpreter.h
+++ b/remoting/client/gesture_interpreter.h
@@ -54,6 +54,8 @@ class GestureInterpreter {
void TwoFingerTap(float x, float y);
+ void ThreeFingerTap(float x, float y);
+
// Caller is expected to call both Pan() and Drag() when dragging is in
// progress.
void Drag(float x, float y, GestureState state);
@@ -82,8 +84,9 @@ class GestureInterpreter {
void AbortAnimations();
- void InjectMouseClick(float x,
- float y,
+ // Injects the mouse click event and shows the touch feedback.
+ void InjectMouseClick(float touch_x,
+ float touch_y,
protocol::MouseEvent_MouseButton button);
void InjectCursorPosition(float x, float y);
« no previous file with comments | « no previous file | remoting/client/gesture_interpreter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698