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

Unified Diff: content/renderer/render_view_impl.cc

Issue 2864833002: Tapping handle shouldn't select misspelled word (Closed)
Patch Set: fix naming Created 3 years, 7 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/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 3ee151f4e5d5c1d36e31be1df8dd7c37eedbcfa6..74831d33ff32aefa4363cfaf24c0bc21e5b7a073 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -2413,7 +2413,7 @@ void RenderViewImpl::OnShowContextMenu(
has_host_context_menu_location_ = true;
host_context_menu_location_ = location;
if (webview())
- webview()->ShowContextMenu();
+ webview()->ShowContextMenu(source_type == ui::MENU_SOURCE_TOUCH_HANDLE);
has_host_context_menu_location_ = false;
}

Powered by Google App Engine
This is Rietveld 408576698