| Index: chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.h
|
| diff --git a/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.h b/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.h
|
| index b7170b3a8fc7dd697e3c650a8ced4f184ed75a9e..cce5f16e900d971eb181f54d2d01d7c4e607bad3 100644
|
| --- a/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.h
|
| +++ b/chrome/browser/ui/views/tab_contents/chrome_web_contents_view_delegate_views.h
|
| @@ -11,6 +11,7 @@
|
| #include "components/renderer_context_menu/context_menu_delegate.h"
|
| #include "content/public/browser/web_contents_view_delegate.h"
|
|
|
| +class LinkDisambiguationPopup;
|
| class RenderViewContextMenu;
|
| class RenderViewContextMenuViews;
|
|
|
| @@ -49,6 +50,13 @@ class ChromeWebContentsViewDelegateViews
|
| content::RenderFrameHost* render_frame_host,
|
| const content::ContextMenuParams& params) OVERRIDE;
|
| virtual void SizeChanged(const gfx::Size& size) OVERRIDE;
|
| + virtual void ShowDisambiguationPopup(
|
| + const gfx::Rect& target_rect,
|
| + const SkBitmap& zoomed_bitmap,
|
| + const gfx::NativeView content,
|
| + const base::Callback<void(ui::GestureEvent*)>& gesture_cb,
|
| + const base::Callback<void(ui::MouseEvent*)>& mouse_cb) OVERRIDE;
|
| + virtual void HideDisambiguationPopup() OVERRIDE;
|
|
|
| // Overridden from ContextMenuDelegate.
|
| virtual scoped_ptr<RenderViewContextMenu> BuildMenu(
|
| @@ -74,6 +82,8 @@ class ChromeWebContentsViewDelegateViews
|
|
|
| content::WebContents* web_contents_;
|
|
|
| + scoped_ptr<LinkDisambiguationPopup> link_disambiguation_popup_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ChromeWebContentsViewDelegateViews);
|
| };
|
|
|
|
|