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

Unified Diff: content/shell/browser/shell_web_contents_view_delegate.h

Issue 351683002: Adds link disambiguation popup support to Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: responding to sky's last round of feedback Created 6 years, 3 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/shell/browser/shell_web_contents_view_delegate.h
diff --git a/content/shell/browser/shell_web_contents_view_delegate.h b/content/shell/browser/shell_web_contents_view_delegate.h
index 54ccfa6de8758e89581a4cfce9134445df0e89f8..6da8865fd95652cc5136c88e3c0d892923446053 100644
--- a/content/shell/browser/shell_web_contents_view_delegate.h
+++ b/content/shell/browser/shell_web_contents_view_delegate.h
@@ -26,6 +26,14 @@ class ShellWebContentsViewDelegate : public WebContentsViewDelegate {
void MenuItemSelected(int selection);
#endif
+#if defined(TOOLKIT_VIEWS)
+ virtual void ShowLinkDisambiguationPopup(const gfx::Rect& target_rect,
+ const SkBitmap& zoomed_bitmap,
+ const gfx::NativeView content,
+ const GestureCallback callback)
+ OVERRIDE;
+#endif
+
private:
WebContents* web_contents_;
ContextMenuParams params_;

Powered by Google App Engine
This is Rietveld 408576698