| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "ash/ash_export.h" | 9 #include "ash/ash_export.h" |
| 10 | 10 |
| 11 namespace aura { | 11 namespace aura { |
| 12 class Window; | 12 class Window; |
| 13 } | 13 } |
| 14 | 14 |
| 15 namespace aura_shell { | 15 namespace ash { |
| 16 namespace internal { | 16 namespace internal { |
| 17 | 17 |
| 18 class ASH_EXPORT ModalityEventFilterDelegate { | 18 class ASH_EXPORT ModalityEventFilterDelegate { |
| 19 public: | 19 public: |
| 20 // Returns true if |window| can receive the specified event. | 20 // Returns true if |window| can receive the specified event. |
| 21 virtual bool CanWindowReceiveEvents(aura::Window* window) = 0; | 21 virtual bool CanWindowReceiveEvents(aura::Window* window) = 0; |
| 22 }; | 22 }; |
| 23 | 23 |
| 24 } // namespace internal | 24 } // namespace internal |
| 25 } // namespace aura_shell | 25 } // namespace ash |
| 26 | 26 |
| 27 #endif // ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ | 27 #endif // ASH_WM_MODALITY_EVENT_FILTER_DELEGATE_H_ |
| OLD | NEW |