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

Unified Diff: ui/views/view.h

Issue 381323002: [rough WIP] Make View::GetEventHandlerForRect() non-virtual (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase cleanup 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
« no previous file with comments | « ui/message_center/views/notification_view.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view.h
diff --git a/ui/views/view.h b/ui/views/view.h
index 510a6ba6475a95117566602a957526513d82ada1..ac2d8bcebbe3b52c6fb7336e27e48baa3acdd882 100644
--- a/ui/views/view.h
+++ b/ui/views/view.h
@@ -556,6 +556,8 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// a 1x1 rect centered at |point|.
View* GetEventHandlerForPoint(const gfx::Point& point);
+ // Terry - update doc
+
// If point-based targeting should be used, return the deepest visible
// descendant that contains the center point of |rect|.
// If rect-based targeting (i.e., fuzzing) should be used, return the
@@ -563,7 +565,7 @@ class VIEWS_EXPORT View : public ui::LayerDelegate,
// its area covered by |rect|. If no such descendant exists, return the
// deepest visible descendant that contains the center point of |rect|.
// See http://goo.gl/3Jp2BD for more information about rect-based targeting.
- virtual View* GetEventHandlerForRect(const gfx::Rect& rect);
+ View* GetEventHandlerForRect(const gfx::Rect& rect);
// Returns the deepest visible descendant that contains the specified point
// and supports tooltips. If the view does not contain the point, returns
« no previous file with comments | « ui/message_center/views/notification_view.cc ('k') | ui/views/view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698