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

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

Issue 2058723003: Slop region check for multi-finger scroll (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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/stylus_text_selector.cc
diff --git a/content/browser/renderer_host/input/stylus_text_selector.cc b/content/browser/renderer_host/input/stylus_text_selector.cc
index b383b6c570dfc7cd56a4445ec3e81fa84f624ae1..e7caa2420e079a3729acb71149e90b21645bbd1c 100644
--- a/content/browser/renderer_host/input/stylus_text_selector.cc
+++ b/content/browser/renderer_host/input/stylus_text_selector.cc
@@ -110,10 +110,9 @@ bool StylusTextSelector::OnSingleTapUp(const MotionEvent& e, int tap_count) {
return true;
}
-bool StylusTextSelector::OnScroll(const MotionEvent& e1,
- const MotionEvent& e2,
- float distance_x,
- float distance_y) {
+bool StylusTextSelector::OnScroll(const MotionEvent& e1, const MotionEvent& e2,
+ const MotionEvent& secondary_pointer_down_event, float distance_x,
tdresser 2016/06/28 15:24:18 Remove _event.
sahel 2016/06/29 16:26:18 Done.
+ float distance_y) {
DCHECK(text_selection_triggered_);
// Return if Stylus button is not pressed.

Powered by Google App Engine
This is Rietveld 408576698