Index: components/renderer_context_menu/render_view_context_menu_base.h |
diff --git a/components/renderer_context_menu/render_view_context_menu_base.h b/components/renderer_context_menu/render_view_context_menu_base.h |
index 45b3fc54b37044a0c9c6260dc88d6f3ebcff40e5..3f3069789cfed8e2da82918d0e28f7f093fd676b 100644 |
--- a/components/renderer_context_menu/render_view_context_menu_base.h |
+++ b/components/renderer_context_menu/render_view_context_menu_base.h |
@@ -69,6 +69,10 @@ class RenderViewContextMenuBase : public ui::SimpleMenuModel::Delegate, |
~RenderViewContextMenuBase() override; |
+ // Displays the menu. |
+ // Different platform will have their own implementation. |
+ virtual void Show() = 0; |
+ |
// Initializes the context menu. |
void Init(); |
@@ -121,6 +125,8 @@ class RenderViewContextMenuBase : public ui::SimpleMenuModel::Delegate, |
} |
// TODO(oshima): Make these methods delegate. |
+ // Fills in |params_| with screen coordinates. |
+ virtual void CalculateScreenCoordinatesInParams() = 0; |
// Menu Construction. |
virtual void InitMenu(); |