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

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

Issue 482723002: Do not hide the selection handles on tap event (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added unit test Created 6 years, 4 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/touch_selection_controller.cc
diff --git a/content/browser/renderer_host/input/touch_selection_controller.cc b/content/browser/renderer_host/input/touch_selection_controller.cc
index d5380487e255bb339823fe0b39f112633f0d2ce6..7867b5afa1d8d7a39195f1374124516afff7e5c4 100644
--- a/content/browser/renderer_host/input/touch_selection_controller.cc
+++ b/content/browser/renderer_host/input/touch_selection_controller.cc
@@ -137,8 +137,6 @@ void TouchSelectionController::OnLongPressEvent() {
void TouchSelectionController::OnTapEvent() {
response_pending_input_event_ = TAP;
- activate_selection_automatically_ = false;
- DeactivateSelection();
ShowInsertionHandleAutomatically();
ResetCachedValuesIfInactive();
}

Powered by Google App Engine
This is Rietveld 408576698