| 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..cb8e767f347a74066a0e9aee1b744a65b834f9b7 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_;
|
|
|
| + 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_;
|
|
|