Chromium Code Reviews| 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 ac87fb69e43d18e5296ac15941fbc39d51eb6e05..f5145683d0297746a6ea53f77c5e3958931c79bd 100644 |
| --- a/content/browser/renderer_host/render_widget_host_impl.cc |
| +++ b/content/browser/renderer_host/render_widget_host_impl.cc |
| @@ -1327,9 +1327,10 @@ void RenderWidgetHostImpl::SetCursor(const WebCursor& cursor) { |
| view_->UpdateCursor(cursor); |
| } |
| -void RenderWidgetHostImpl::ShowContextMenuAtPoint(const gfx::Point& point) { |
| - Send(new ViewMsg_ShowContextMenu( |
| - GetRoutingID(), ui::MENU_SOURCE_MOUSE, point)); |
| +void RenderWidgetHostImpl::ShowContextMenuAtPoint( |
| + const gfx::Point& point, |
| + const ui::MenuSourceType source_type) { |
| + Send(new ViewMsg_ShowContextMenu(GetRoutingID(), source_type, point)); |
|
sadrul
2017/05/25 04:13:50
Can you update aura code [1] to call into ShowCont
amaralp1
2017/05/25 04:39:53
Done.
|
| } |
| void RenderWidgetHostImpl::SendCursorVisibilityState(bool is_visible) { |