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

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

Issue 416383003: Show handles even when dragging from outside selectable region (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/gesture_text_selector.cc
diff --git a/content/browser/renderer_host/input/gesture_text_selector.cc b/content/browser/renderer_host/input/gesture_text_selector.cc
index d9fa90d1f5e8d5c074bf7ae1f635812e7d1b82da..bed6acfa74682d14635e2b9d22aee80146a50a53 100644
--- a/content/browser/renderer_host/input/gesture_text_selector.cc
+++ b/content/browser/renderer_host/input/gesture_text_selector.cc
@@ -49,6 +49,7 @@ bool GestureTextSelector::OnGestureEvent(const ui::GestureEventData& gesture) {
break;
}
case ui::ET_GESTURE_SCROLL_UPDATE: {
+ client_->ShowSelectionHandlesAutomatically();
jdduke (slow) 2014/07/25 14:07:27 Any idea why the call to |client_->ShowSelectionHa
jdduke (slow) 2014/07/25 14:25:03 I wonder if the |Unselect()| call is triggering a
Changwan Ryu 2014/07/25 22:12:47 Removed ShowSelectionHandlesAutomatically() from E
client_->SelectRange(anchor_x_, anchor_y_, gesture.x, gesture.y);
break;
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698