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

Unified Diff: content/browser/renderer_host/render_widget_host_view_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: Addressed review comments Created 4 years, 11 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/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 83d7118a115b62419f9396d5bdaa3195bf663fc7..039f930c8dfc2a0448a7b784666651a40bcc2a14 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -2922,6 +2922,7 @@ void RenderWidgetHostViewAura::HandleGestureForTouchSelection(
}
break;
case ui::ET_GESTURE_SCROLL_BEGIN:
+ selection_controller_->OnScrollBeginEvent();
selection_controller_client_->OnScrollStarted();
break;
case ui::ET_GESTURE_SCROLL_END:
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | ui/touch_selection/longpress_drag_selector.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698