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

Unified Diff: ui/views/view.h

Issue 32463003: Modify hit test masks for tabs and tab close buttons (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: HitTestSource moved Created 7 years, 2 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/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index d6158534bfde399184b68eb10278b4aba6af363e..448e293e04730825e075c9fa4bf5c2e4974caf91 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -32,6 +32,7 @@
#include "ui/views/background.h"
#include "ui/views/border.h"
#include "ui/views/focus_border.h"
+#include "ui/views/rect_based_targeting_utils.h"
#if defined(OS_WIN)
#include "base/win/scoped_comptr.h"
@@ -1126,7 +1127,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// Called by HitTestRect() to retrieve a mask for hit-testing against.
// Subclasses override to provide custom shaped hit test regions.
- virtual void GetHitTestMask(gfx::Path* mask) const;
+ virtual void GetHitTestMask(HitTestSource source, gfx::Path* mask) const;
Ben Goodger (Google) 2013/10/30 17:46:55 I didn't just mean move the enum out of View, I me
virtual DragInfo* GetDragInfo();

Powered by Google App Engine
This is Rietveld 408576698