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

Unified Diff: content/browser/renderer_host/input/synthetic_pointer_driver.h

Issue 2336803003: Make SyntheticPointerAction to flush the pointer action sequence (Closed)
Patch Set: controller Created 4 years 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
Index: content/browser/renderer_host/input/synthetic_pointer_driver.h
diff --git a/content/browser/renderer_host/input/synthetic_pointer_driver.h b/content/browser/renderer_host/input/synthetic_pointer_driver.h
index b060b65e8b75c9c383c5480b0baa385e2ee22039..32579fb88fbf615ae049dea80c54bd64cea7e86e 100644
--- a/content/browser/renderer_host/input/synthetic_pointer_driver.h
+++ b/content/browser/renderer_host/input/synthetic_pointer_driver.h
@@ -28,7 +28,7 @@ class CONTENT_EXPORT SyntheticPointerDriver {
virtual void DispatchEvent(SyntheticGestureTarget* target,
const base::TimeTicks& timestamp) = 0;
- virtual int Press(float x, float y) = 0;
+ virtual void Press(float x, float y, int index = 0) = 0;
virtual void Move(float x, float y, int index = 0) = 0;
virtual void Release(int index = 0) = 0;

Powered by Google App Engine
This is Rietveld 408576698