Chromium Code Reviews| Index: content/port/browser/render_view_host_delegate_view.h |
| diff --git a/content/port/browser/render_view_host_delegate_view.h b/content/port/browser/render_view_host_delegate_view.h |
| index 74d194fcb758e40814254e6ed31ceb6cb190a704..678a449c4f37561f0bedb4afdf437174980d37e2 100644 |
| --- a/content/port/browser/render_view_host_delegate_view.h |
| +++ b/content/port/browser/render_view_host_delegate_view.h |
| @@ -9,6 +9,7 @@ |
| #include "base/basictypes.h" |
| #include "content/common/content_export.h" |
| +#include "content/public/common/context_menu_source_type.h" |
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebDragOperation.h" |
| class SkBitmap; |
| @@ -32,7 +33,8 @@ class CONTENT_EXPORT RenderViewHostDelegateView { |
| public: |
| // A context menu should be shown, to be built using the context information |
| // provided in the supplied params. |
| - virtual void ShowContextMenu(const ContextMenuParams& params) {} |
| + virtual void ShowContextMenu(const ContextMenuParams& params, |
| + const ContextMenuSourceType& type) {} |
|
jam
2012/09/07 17:07:56
ditto
|
| // Shows a popup menu with the specified items. |
| // This method should call RenderViewHost::DidSelectPopupMenuItem[s]() or |