Index: ui/views/view.h |
diff --git a/ui/views/view.h b/ui/views/view.h |
index f2ecb3df752e42affa11ace5ad82077aa9602137..8ddf734a412d9e1ad82b8523b3afe25b27155d66 100644 |
--- a/ui/views/view.h |
+++ b/ui/views/view.h |
@@ -601,6 +601,10 @@ class VIEWS_EXPORT View : public ui::LayerDelegate, |
// Tests whether |rect| intersects this view's bounds. |
virtual bool HitTestRect(const gfx::Rect& rect) const; |
+ // Returns true if this view or any of its descendants are permitted to |
+ // be the target of an event. |
+ virtual bool CanProcessEventsWithinSubtree() const; |
+ |
// Returns true if the mouse cursor is over |view| and mouse events are |
// enabled. |
bool IsMouseHovered(); |