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

Unified Diff: remoting/client/ui/gesture_interpreter.h

Issue 2904703003: [CRD iOS] Add support for three-finger gestures (Closed)
Patch Set: 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/ui/gesture_interpreter.cc » ('j') | remoting/ios/client_gestures.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/ui/gesture_interpreter.h
diff --git a/remoting/client/ui/gesture_interpreter.h b/remoting/client/ui/gesture_interpreter.h
index 0af645eb293191d024d398786a6cd21030b816df..37adf7c530519c29c050f693886232724db2a48c 100644
--- a/remoting/client/ui/gesture_interpreter.h
+++ b/remoting/client/ui/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/ui/gesture_interpreter.cc » ('j') | remoting/ios/client_gestures.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698