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

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: Rebased my patch 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
« no previous file with comments | « no previous file | content/browser/renderer_host/input/touch_selection_controller_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 f174067ede9cba1b7fde5b7221655a67dc532ecf..ea0e7e7acf55eb2fa85f7f96a5618900a45eac67 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();
if (selection_empty_)
DeactivateInsertion();
« no previous file with comments | « no previous file | content/browser/renderer_host/input/touch_selection_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698