| 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" | 9 #include "base/basictypes.h" |
| 10 #include "base/compiler_specific.h" | 10 #include "base/compiler_specific.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 virtual ~EventClientImpl(); | 18 virtual ~EventClientImpl(); |
| 19 | 19 |
| 20 private: | 20 private: |
| 21 // Overridden from aura::client::EventClient: | 21 // Overridden from aura::client::EventClient: |
| 22 virtual bool CanProcessEventsWithinSubtree( | 22 virtual bool CanProcessEventsWithinSubtree( |
| 23 const aura::Window* window) const OVERRIDE; | 23 const aura::Window* window) const override; |
| 24 virtual ui::EventTarget* GetToplevelEventTarget() OVERRIDE; | 24 virtual ui::EventTarget* GetToplevelEventTarget() override; |
| 25 | 25 |
| 26 DISALLOW_COPY_AND_ASSIGN(EventClientImpl); | 26 DISALLOW_COPY_AND_ASSIGN(EventClientImpl); |
| 27 }; | 27 }; |
| 28 | 28 |
| 29 } // namespace ash | 29 } // namespace ash |
| 30 | 30 |
| 31 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_ | 31 #endif // ASH_WM_EVENT_CLIENT_IMPL_H_ |
| OLD | NEW |