| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ | 5 #ifndef ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ |
| 6 #define ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ | 6 #define ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ |
| 7 | 7 |
| 8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
| 9 | 9 |
| 10 namespace aura { | 10 namespace aura { |
| 11 class Window; | 11 class Window; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace ash { | 14 namespace ash { |
| 15 namespace internal { | 15 namespace internal { |
| 16 | 16 |
| 17 class ASH_EXPORT SystemModalContainerEventFilterDelegate { | 17 class ASH_EXPORT SystemModalContainerEventFilterDelegate { |
| 18 public: | 18 public: |
| 19 virtual ~SystemModalContainerEventFilterDelegate() { } |
| 20 |
| 19 // Returns true if |window| can receive the specified event. | 21 // Returns true if |window| can receive the specified event. |
| 20 virtual bool CanWindowReceiveEvents(aura::Window* window) = 0; | 22 virtual bool CanWindowReceiveEvents(aura::Window* window) = 0; |
| 21 }; | 23 }; |
| 22 | 24 |
| 23 } // namespace internal | 25 } // namespace internal |
| 24 } // namespace ash | 26 } // namespace ash |
| 25 | 27 |
| 26 #endif // ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ | 28 #endif // ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ |
| OLD | NEW |