Chromium Code Reviews| Index: ui/aura/window_delegate.h |
| diff --git a/ui/aura/window_delegate.h b/ui/aura/window_delegate.h |
| index 9a7253b74c8138b24ada71decef72ac12eb158a3..8d3defc984c5d1498be4979921373b347337167b 100644 |
| --- a/ui/aura/window_delegate.h |
| +++ b/ui/aura/window_delegate.h |
| @@ -54,6 +54,10 @@ class AURA_EXPORT WindowDelegate { |
| // attempted for another reason. |
| virtual bool ShouldActivate(Event* event) = 0; |
| + // Returns true if this window should accept events, false if it should |
| + // ignore all events and make them pass to the window behind it. |
| + virtual bool ShouldAcceptEvents() { return true; } |
|
Ben Goodger (Google)
2011/11/15 22:10:53
Everything else on this interface is pure virtual.
|
| + |
| // Sent when the window is activated. |
| virtual void OnActivated() = 0; |