OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
9 #include "base/compiler_specific.h" | 9 #include "base/compiler_specific.h" |
10 #include "ui/aura/client/event_client.h" | 10 #include "ui/aura/client/event_client.h" |
11 #include "ui/views/views_export.h" | 11 #include "ui/views/views_export.h" |
12 | 12 |
13 namespace views { | 13 namespace views { |
14 | 14 |
15 class VIEWS_EXPORT DesktopEventClient : public aura::client::EventClient { | 15 class VIEWS_EXPORT DesktopEventClient : public aura::client::EventClient { |
16 public: | 16 public: |
17 DesktopEventClient(); | 17 DesktopEventClient(); |
18 virtual ~DesktopEventClient(); | 18 virtual ~DesktopEventClient(); |
19 | 19 |
20 // Overridden from aura::client::EventClient: | 20 // Overridden from aura::client::EventClient: |
21 virtual bool CanProcessEventsWithinSubtree( | 21 virtual bool CanProcessEventsWithinSubtree( |
22 const aura::Window* window) const OVERRIDE; | 22 const aura::Window* window) const override; |
23 virtual ui::EventTarget* GetToplevelEventTarget() OVERRIDE; | 23 virtual ui::EventTarget* GetToplevelEventTarget() override; |
24 | 24 |
25 private: | 25 private: |
26 DISALLOW_COPY_AND_ASSIGN(DesktopEventClient); | 26 DISALLOW_COPY_AND_ASSIGN(DesktopEventClient); |
27 }; | 27 }; |
28 | 28 |
29 } // namespace views | 29 } // namespace views |
30 | 30 |
31 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_ | 31 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_EVENT_CLIENT_H_ |
OLD | NEW |