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

Unified Diff: content/browser/renderer_host/render_widget_host_impl.cc

Issue 2894043002: Add machinery to show touch editing context menus in OOPIFs. (Closed)
Patch Set: Remove WVI call to WFWI. 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/renderer_host/render_widget_host_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index bf9523d3a7783abbefe634c71d6454e89e9d42d9..47a7bddfb9c605bd1007246aa67d93601ddf2da6 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -1331,8 +1331,8 @@ void RenderWidgetHostImpl::SetCursor(const WebCursor& cursor) {
}
void RenderWidgetHostImpl::ShowContextMenuAtPoint(const gfx::Point& point) {
- Send(new ViewMsg_ShowContextMenu(
- GetRoutingID(), ui::MENU_SOURCE_MOUSE, point));
+ Send(new FrameMsg_ShowContextMenu(GetRoutingID(), ui::MENU_SOURCE_MOUSE,
+ point));
}
void RenderWidgetHostImpl::SendCursorVisibilityState(bool is_visible) {

Powered by Google App Engine
This is Rietveld 408576698