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

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: 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/views/view_targeter_delegate.h
diff --git a/ui/views/view_targeter_delegate.h b/ui/views/view_targeter_delegate.h
index 01b6bd1e13cc17a6ee8492b0815b883cec3044ac..add625291a594972cea2e3ea18adadbc5e8db1cc 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. Derived
+// classes of View wishing to define custom hit-testing or event-targeting
+// behaviour do so by extending ViewTargeterDelegate and then installing a
+// ViewTargeter on themselves.
sadrul 2014/07/29 18:06:50 s/Derived classes of View/Views/
tdanderson 2014/07/29 19:40:45 Done.
class VIEWS_EXPORT ViewTargeterDelegate {
public:
ViewTargeterDelegate() {}

Powered by Google App Engine
This is Rietveld 408576698