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

Unified Diff: content/browser/renderer_host/input/synthetic_mouse_pointer.cc

Issue 1884883005: Prepare SyntheticPointerAction to handle touch actions for multiple fingers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add tests for mouse and change type of params_list Created 4 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
Index: content/browser/renderer_host/input/synthetic_mouse_pointer.cc
diff --git a/content/browser/renderer_host/input/synthetic_mouse_pointer.cc b/content/browser/renderer_host/input/synthetic_mouse_pointer.cc
index 042603fe5fbfccbc32584234cdfd93846321a91b..6b4c8b546995c1740ad2f33634857e8b425f85cc 100644
--- a/content/browser/renderer_host/input/synthetic_mouse_pointer.cc
+++ b/content/browser/renderer_host/input/synthetic_mouse_pointer.cc
@@ -46,4 +46,9 @@ void SyntheticMousePointer::Release(int index,
mouse_event_.clickCount = 1;
}
+SyntheticGestureParams::GestureSourceType
+SyntheticMousePointer::PointerSourceType() const {
+ return SyntheticGestureParams::MOUSE_INPUT;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698