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

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

Issue 1358263002: [Android] Support double-tap selection (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix contextual search Created 5 years, 3 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 39315cc006d585ba78c15cced1445ad4431169ce..11cace7e8256c2a9c4335768900154ea2ce1df35 100644
--- a/content/browser/renderer_host/input/stylus_text_selector.cc
+++ b/content/browser/renderer_host/input/stylus_text_selector.cc
@@ -103,7 +103,7 @@ bool StylusTextSelector::OnTouchEvent(const MotionEvent& event) {
return true;
}
-bool StylusTextSelector::OnSingleTapUp(const MotionEvent& e) {
+bool StylusTextSelector::OnSingleTapUp(const MotionEvent& e, int tap_count) {
DCHECK(text_selection_triggered_);
DCHECK(!dragging_);
client_->OnStylusSelectTap(e.GetEventTime(), e.GetX(), e.GetY());

Powered by Google App Engine
This is Rietveld 408576698