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

Unified Diff: ui/views/view_targeter_delegate.h

Issue 426443002: Do not call into EventTargeter methods from ViewTargeter (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added DCHECK Created 6 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
« no previous file with comments | « ui/views/view_targeter.cc ('k') | ui/views/view_targeter_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/view_targeter_delegate.h
diff --git a/ui/views/view_targeter_delegate.h b/ui/views/view_targeter_delegate.h
index 01b6bd1e13cc17a6ee8492b0815b883cec3044ac..0ad461abac416df1596698ac093aec382c568492 100644
--- a/ui/views/view_targeter_delegate.h
+++ b/ui/views/view_targeter_delegate.h
@@ -15,9 +15,11 @@ class Rect;
namespace views {
class View;
-// Defines the default behaviour for hit-testing a rectangular region against
-// the bounds of a View. Subclasses of View wishing to define custom
-// hit-testing behaviour can extend this class.
+// Defines the default behaviour for hit-testing and event-targeting against a
+// View using a rectangular region representing an event's location. Views
+// wishing to define custom hit-testing or event-targeting behaviour do so by
+// extending ViewTargeterDelegate and then installing a ViewTargeter on
+// themselves.
class VIEWS_EXPORT ViewTargeterDelegate {
public:
ViewTargeterDelegate() {}
« no previous file with comments | « ui/views/view_targeter.cc ('k') | ui/views/view_targeter_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698