Index: content/browser/renderer_host/render_view_host_delegate_view.h |
diff --git a/content/browser/renderer_host/render_view_host_delegate_view.h b/content/browser/renderer_host/render_view_host_delegate_view.h |
index 0ff4a000c6e71c3dba73e780db785e372a3533de..19b585e4bbf52da49fcb0bd0efe801a4c836fe1c 100644 |
--- a/content/browser/renderer_host/render_view_host_delegate_view.h |
+++ b/content/browser/renderer_host/render_view_host_delegate_view.h |
@@ -76,6 +76,18 @@ class CONTENT_EXPORT RenderViewHostDelegateView { |
virtual void HidePopupMenu() {}; |
#endif |
+#if defined(TOOLKIT_VIEWS) |
+ // Shows a Link Disambiguation Popup. |target_rect| is the area the user |
+ // touched that resulted in ambiguity, in DIPs in the host's coordinate |
+ // system, and |zoomed_bitmap| is an enlarged image of that |target_rect|. |
+ virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect, |
+ const SkBitmap& zoomed_bitmap) {} |
+ |
+ // Hides the Link Disambiguation Popup, if it was showing, otherwise does |
+ // nothing. |
+ virtual void HideDisambiguationPopup() {} |
+#endif |
+ |
protected: |
virtual ~RenderViewHostDelegateView() {} |
}; |