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

Unified Diff: content/browser/web_contents/web_contents_android.cc

Issue 2785853002: Selection Action mode triggered like a context menu (Closed)
Patch Set: fix rebase 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/browser/web_contents/web_contents_android.cc
diff --git a/content/browser/web_contents/web_contents_android.cc b/content/browser/web_contents/web_contents_android.cc
index 90990f3c186b0aaa2ccaa32b3de84229678b2f08..3b2550c201d51962fba0463def1d5265d8b44061 100644
--- a/content/browser/web_contents/web_contents_android.cc
+++ b/content/browser/web_contents/web_contents_android.cc
@@ -653,7 +653,8 @@ void WebContentsAndroid::ShowContextMenuAtTouchHandle(
int y) {
RenderWidgetHostViewAndroid* view = GetRenderWidgetHostViewAndroid();
if (view)
- view->ShowContextMenuAtTouchHandle(gfx::Point(x, y));
+ view->ShowContextMenuAtPoint(gfx::Point(x, y),
+ ui::MENU_SOURCE_TOUCH_HANDLE);
}
void WebContentsAndroid::SetHasPersistentVideo(
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_android.cc ('k') | content/child/assert_matching_enums.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698