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