Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 1 | // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
| 5 | #ifndef ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ |
| 6 | #define ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ |
| 7 | |
| 8 | #include "ash/ash_export.h" |
| 9 | |
| 10 | namespace aura { |
| 11 | class Window; |
| 12 | } |
| 13 | |
| 14 | namespace ash { |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 15 | |
| 16 | class ASH_EXPORT SystemModalContainerEventFilterDelegate { |
| 17 | public: |
| 18 | // Returns true if |window| can receive the specified event. |
| 19 | virtual bool CanWindowReceiveEvents(aura::Window* window) = 0; |
| 20 | }; |
| 21 | |
Torne (Richard Coles) | 5821806 | 2012-11-14 11:43:16 +0000 | [diff] [blame] | 22 | } // namespace ash |
| 23 | |
| 24 | #endif // ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ |