Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Unified Diff: content/browser/renderer_host/render_view_host_delegate_view.h

Issue 351683002: Adds link disambiguation popup support to Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: removed scrolling cruft Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 fb2babdc87f5e54cf186b5b3f330f4570ac93355..7ec32301649beb6c772c6630eaf3a8d1e6d950c1 100644
--- a/content/browser/renderer_host/render_view_host_delegate_view.h
+++ b/content/browser/renderer_host/render_view_host_delegate_view.h
@@ -73,6 +73,18 @@ class CONTENT_EXPORT RenderViewHostDelegateView {
// retrieved by doing a Shift-Tab.
virtual void TakeFocus(bool reverse) {}
+#if defined(OS_WIN)
sky 2014/08/04 20:05:19 OS_WIN->TOOLKIT_VIEWS
luken 2014/09/11 01:07:27 Done.
+ // 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() {}
};

Powered by Google App Engine
This is Rietveld 408576698