Chromium Code Reviews| Index: ui/views/widget/widget_delegate.h |
| diff --git a/ui/views/widget/widget_delegate.h b/ui/views/widget/widget_delegate.h |
| index 33f3ccd5de25acf6582d222581cbda7f50b9e782..bb348426fc716d4c0b89ca4b1779a80c0923f6f8 100644 |
| --- a/ui/views/widget/widget_delegate.h |
| +++ b/ui/views/widget/widget_delegate.h |
| @@ -147,6 +147,14 @@ class VIEWS_EXPORT WidgetDelegate { |
| // Provides the hit-test mask if HasHitTestMask above returns true. |
| virtual void GetHitTestMask(gfx::Path* mask) const; |
| + // Returns true if event handling should descend into |child|. |
| + // |event_location| is in terms of the Window. |event_type| specifies the |
| + // type of the event. |
| + virtual bool ShouldDescendIntoChildForEventHandling( |
| + aura::Window* child, |
|
Ben Goodger (Google)
2012/08/21 02:17:40
This won't compile on non-aura builds. You have to
jianli
2012/08/21 17:22:00
Done.
|
| + const gfx::Point& event_location, |
| + ui::EventType event_type); |
| + |
| protected: |
| virtual ~WidgetDelegate() {} |