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

Unified Diff: ui/aura/window_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 cpu's feedback 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: ui/aura/window_delegate.h
diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h
index 90e978a39c2e103900cb07dc9c04d2a536fec7da..62460c9f9579f6aad33c770c6e1d86126cd825c3 100644
--- a/ui/aura/window_delegate.h
+++ b/ui/aura/window_delegate.h
@@ -29,6 +29,8 @@ class Texture;
class TouchEvent;
}
+class SkBitmap;
+
namespace aura {
// Delegate interface for aura::Window.
@@ -100,6 +102,10 @@ class AURA_EXPORT WindowDelegate : public ui::EventHandler {
// above returns true.
virtual void GetHitTestMask(gfx::Path* mask) const = 0;
+ virtual void OnLinkDisambiguationPopupRequested(
jam 2014/07/22 01:04:26 nit: every method in this class is documented...
sky 2014/07/22 04:17:23 You should not need to change WindowDelegate to ac
luken 2014/07/30 19:17:31 Done.
luken 2014/07/30 19:17:31 This code is deprecated.
+ const gfx::Rect& target_rect,
+ const SkBitmap& zoomed_bitmap) = 0;
+
protected:
virtual ~WindowDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698