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 "ui/aura/client/event_client.h" | 11 #include "ui/aura/client/event_client.h" |
10 | 12 |
11 namespace aura { | |
12 class RootWindow; | |
13 } | |
14 | |
15 namespace ash { | 13 namespace ash { |
16 namespace internal { | 14 namespace internal { |
17 | 15 |
18 class EventClientImpl : public aura::client::EventClient { | 16 class EventClientImpl : public aura::client::EventClient { |
19 public: | 17 public: |
20 EventClientImpl(); | 18 EventClientImpl(); |
21 virtual ~EventClientImpl(); | 19 virtual ~EventClientImpl(); |
22 | 20 |
23 private: | 21 private: |
24 // Overridden from aura::client::EventClient: | 22 // Overridden from aura::client::EventClient: |
25 virtual bool CanProcessEventsWithinSubtree( | 23 virtual bool CanProcessEventsWithinSubtree( |
26 const aura::Window* window) const OVERRIDE; | 24 const aura::Window* window) const OVERRIDE; |
27 virtual ui::EventTarget* GetToplevelEventTarget() OVERRIDE; | 25 virtual ui::EventTarget* GetToplevelEventTarget() OVERRIDE; |
28 | 26 |
29 DISALLOW_COPY_AND_ASSIGN(EventClientImpl); | 27 DISALLOW_COPY_AND_ASSIGN(EventClientImpl); |
30 }; | 28 }; |
31 | 29 |
32 } // namespace internal | 30 } // namespace internal |
33 } // namespace ash | 31 } // namespace ash |
34 | 32 |
35 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_ | 33 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_ |
OLD | NEW |