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 UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_ | 5 #ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_ |
6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_ | 6 #define UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_ |
7 | 7 |
8 #include "base/basictypes.h" | |
9 #include "base/callback.h" | 8 #include "base/callback.h" |
| 9 #include "base/macros.h" |
10 #include "ui/views/views_export.h" | 10 #include "ui/views/views_export.h" |
11 #include "ui/wm/public/dispatcher_client.h" | 11 #include "ui/wm/public/dispatcher_client.h" |
12 | 12 |
13 namespace views { | 13 namespace views { |
14 | 14 |
15 // TODO(erg): I won't lie to you; I have no idea what this is or what it does. | 15 // TODO(erg): I won't lie to you; I have no idea what this is or what it does. |
16 class VIEWS_EXPORT DesktopDispatcherClient | 16 class VIEWS_EXPORT DesktopDispatcherClient |
17 : public aura::client::DispatcherClient { | 17 : public aura::client::DispatcherClient { |
18 public: | 18 public: |
19 DesktopDispatcherClient(); | 19 DesktopDispatcherClient(); |
20 ~DesktopDispatcherClient() override; | 20 ~DesktopDispatcherClient() override; |
21 | 21 |
22 void PrepareNestedLoopClosures(base::MessagePumpDispatcher* dispatcher, | 22 void PrepareNestedLoopClosures(base::MessagePumpDispatcher* dispatcher, |
23 base::Closure* run_closure, | 23 base::Closure* run_closure, |
24 base::Closure* quit_closure) override; | 24 base::Closure* quit_closure) override; |
25 | 25 |
26 private: | 26 private: |
27 DISALLOW_COPY_AND_ASSIGN(DesktopDispatcherClient); | 27 DISALLOW_COPY_AND_ASSIGN(DesktopDispatcherClient); |
28 }; | 28 }; |
29 | 29 |
30 } // namespace views | 30 } // namespace views |
31 | 31 |
32 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_ | 32 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_ |
OLD | NEW |