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

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: Updated comments Created 4 years, 12 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/render_widget_host_view_android.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_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();
sadrul 2016/01/04 21:00:42 I think this should go in RenderWidgetHostViewAura
mohsen 2016/01/05 19:46:17 Done.
scroll_in_progress_ = true;
rwhva_->selection_controller()->SetTemporarilyHidden(true);
UpdateQuickMenu();
« no previous file with comments | « no previous file | content/browser/renderer_host/render_widget_host_view_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698