Index: chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h |
diff --git a/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h b/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h |
index 7b4c1451baae4214a478faab455a4c01a54f0754..d6101e7a63b14df35efa1cffbd5bd08de0e64139 100644 |
--- a/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h |
+++ b/chrome/browser/guest_view/web_view/chrome_web_view_guest_delegate.h |
@@ -39,6 +39,8 @@ class ChromeWebViewGuestDelegate : public WebViewGuestDelegate { |
return web_view_guest()->web_contents(); |
} |
+ void SetContextMenuPosition(const gfx::Point& position) override; |
+ |
// Returns the top level items (ignoring submenus) as Value. |
static scoped_ptr<base::ListValue> MenuModelToValue( |
const ui::SimpleMenuModel& menu_model); |
@@ -70,6 +72,8 @@ class ChromeWebViewGuestDelegate : public WebViewGuestDelegate { |
WebViewGuest* const web_view_guest_; |
+ scoped_ptr<gfx::Point> context_menu_position_; |
+ |
// This is used to ensure pending tasks will not fire after this object is |
// destroyed. |
base::WeakPtrFactory<ChromeWebViewGuestDelegate> weak_ptr_factory_; |