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_EVENT_CLIENT_IMPL_H_ | 5 #ifndef ASH_WM_EVENT_CLIENT_IMPL_H_ |
6 #define ASH_WM_EVENT_CLIENT_IMPL_H_ | 6 #define ASH_WM_EVENT_CLIENT_IMPL_H_ |
7 | 7 |
8 #include "ash/ash_export.h" | 8 #include "ash/ash_export.h" |
9 #include "base/basictypes.h" | |
10 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
| 10 #include "base/macros.h" |
11 #include "ui/aura/client/event_client.h" | 11 #include "ui/aura/client/event_client.h" |
12 | 12 |
13 namespace ash { | 13 namespace ash { |
14 | 14 |
15 class EventClientImpl : public aura::client::EventClient { | 15 class EventClientImpl : public aura::client::EventClient { |
16 public: | 16 public: |
17 EventClientImpl(); | 17 EventClientImpl(); |
18 ~EventClientImpl() override; | 18 ~EventClientImpl() override; |
19 | 19 |
20 private: | 20 private: |
21 // Overridden from aura::client::EventClient: | 21 // Overridden from aura::client::EventClient: |
22 bool CanProcessEventsWithinSubtree(const aura::Window* window) const override; | 22 bool CanProcessEventsWithinSubtree(const aura::Window* window) const override; |
23 ui::EventTarget* GetToplevelEventTarget() override; | 23 ui::EventTarget* GetToplevelEventTarget() override; |
24 | 24 |
25 DISALLOW_COPY_AND_ASSIGN(EventClientImpl); | 25 DISALLOW_COPY_AND_ASSIGN(EventClientImpl); |
26 }; | 26 }; |
27 | 27 |
28 } // namespace ash | 28 } // namespace ash |
29 | 29 |
30 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_ | 30 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_ |
OLD | NEW |