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

Unified Diff: content/browser/renderer_host/input/touch_selection_controller_client_child_frame.cc

Issue 2894043002: Add machinery to show touch editing context menus in OOPIFs. (Closed)
Patch Set: Don't fall back to mainframe, formatting. 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
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/input/touch_selection_controller_client_child_frame.cc
diff --git a/content/browser/renderer_host/input/touch_selection_controller_client_child_frame.cc b/content/browser/renderer_host/input/touch_selection_controller_client_child_frame.cc
index 140b63473cf7ee9e7ed58ff8eb0900ce2cccdfb0..5a40845ad3bb6352d397bec2e5122412ae2b9c6b 100644
--- a/content/browser/renderer_host/input/touch_selection_controller_client_child_frame.cc
+++ b/content/browser/renderer_host/input/touch_selection_controller_client_child_frame.cc
@@ -187,9 +187,6 @@ void TouchSelectionControllerClientChildFrame::RunContextMenu() {
anchor_point.Offset(-origin.x(), -origin.y());
RenderWidgetHostImpl* host =
RenderWidgetHostImpl::From(rwhv_->GetRenderWidgetHost());
- // TODO(wjmaclean): Probably this ViewMsg should be converted to a FrameMsg
- // since it will need to go to a RenderFrame once the Blink-side plumbing for
- // this is hooked up.
host->Send(new ViewMsg_ShowContextMenu(host->GetRoutingID(),
ui::MENU_SOURCE_TOUCH_EDIT_MENU,
gfx::ToRoundedPoint(anchor_point)));
« no previous file with comments | « no previous file | content/renderer/render_view_impl.h » ('j') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698