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

Unified Diff: content/browser/renderer_host/input/synthetic_touch_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_touch_pointer.cc
diff --git a/content/browser/renderer_host/input/synthetic_touch_pointer.cc b/content/browser/renderer_host/input/synthetic_touch_pointer.cc
index ca4637a6711795e825a10c7069bed92afbd6e457..fc3de440c4ee9ac31af677166887631d9cde02d7 100644
--- a/content/browser/renderer_host/input/synthetic_touch_pointer.cc
+++ b/content/browser/renderer_host/input/synthetic_touch_pointer.cc
@@ -43,4 +43,9 @@ void SyntheticTouchPointer::Release(int index,
touch_event_.ReleasePoint(index);
}
+SyntheticGestureParams::GestureSourceType
+SyntheticTouchPointer::PointerSourceType() const {
+ return SyntheticGestureParams::TOUCH_INPUT;
+}
+
} // namespace content

Powered by Google App Engine
This is Rietveld 408576698