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

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

Issue 1537493006: Allow scrolling a page with selection after long-press on whitespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a comment Created 5 years 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_client_aura.cc
diff --git a/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc b/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc
index 2cbc8a12f8300b90557f26cdf1c03d53bee0511a..58b42d485f886a41e7427374cf528cf3a19ea578 100644
--- a/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc
+++ b/content/browser/renderer_host/input/touch_selection_controller_client_aura.cc
@@ -142,6 +142,7 @@ void TouchSelectionControllerClientAura::OnTouchUp() {
}
void TouchSelectionControllerClientAura::OnScrollStarted() {
+ rwhva_->selection_controller()->OnScrollBeginEvent();
scroll_in_progress_ = true;
rwhva_->selection_controller()->SetTemporarilyHidden(true);
UpdateQuickMenu();

Powered by Google App Engine
This is Rietveld 408576698