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

Unified Diff: content/browser/web_contents/web_contents_view_aura.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/web_contents/web_contents_view_aura.h
diff --git a/content/browser/web_contents/web_contents_view_aura.h b/content/browser/web_contents/web_contents_view_aura.h
index a615c3486b2bb9aac0037ec337955aea43fc7db1..467aa1c66307568eaea390f637391cc4761be57a 100644
--- a/content/browser/web_contents/web_contents_view_aura.h
+++ b/content/browser/web_contents/web_contents_view_aura.h
@@ -102,6 +102,10 @@ class WebContentsViewAura
void OverscrollUpdateForWebContentsDelegate(int delta_y);
+#if defined(OS_WIN)
sky 2014/08/04 20:05:20 No ifdefs here.
luken 2014/09/11 01:07:28 Done.
+ void ProcessLinkDisambiguationGesture(ui::GestureEvent* event);
+#endif
+
// Overridden from WebContentsView:
virtual gfx::NativeView GetNativeView() const OVERRIDE;
virtual gfx::NativeView GetContentNativeView() const OVERRIDE;
@@ -136,6 +140,11 @@ class WebContentsViewAura
virtual void UpdateDragCursor(blink::WebDragOperation operation) OVERRIDE;
virtual void GotFocus() OVERRIDE;
virtual void TakeFocus(bool reverse) OVERRIDE;
+#if defined(OS_WIN)
sky 2014/08/04 20:05:20 No ifdefs here.
luken 2014/09/11 01:07:28 Done.
+ virtual void ShowDisambiguationPopup(const gfx::Rect& target_rect,
+ const SkBitmap& zoomed_bitmap) OVERRIDE;
+ virtual void HideDisambiguationPopup() OVERRIDE;
+#endif
// Overridden from OverscrollControllerDelegate:
virtual gfx::Rect GetVisibleBounds() const OVERRIDE;

Powered by Google App Engine
This is Rietveld 408576698