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

Unified Diff: ui/views/view.h

Issue 10827198: Change View::HitTest to View::HitTestRect (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 4 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 9482cefa86b0b5b57bc7dc12250bbc8602425846..50fd28f6fc8190223d6fd74dc71948e9240d73c3 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -510,7 +510,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
virtual gfx::NativeCursor GetCursor(const MouseEvent& event);
// Convenience to test whether a point is within this view's bounds
sky 2012/08/07 20:11:43 Update description.
tdanderson 2012/08/08 23:47:51 Done.
- virtual bool HitTest(const gfx::Point& l) const;
+ virtual bool HitTest(const gfx::Rect& r) const;
// This method is invoked when the user clicks on this view.
// The provided event is in the receiver's coordinate system.

Powered by Google App Engine
This is Rietveld 408576698