| 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_AURA_DESKTOP_DESKTOP_DISPATCHER_CLIENT_H_ | 5 #ifndef UI_AURA_DESKTOP_DESKTOP_DISPATCHER_CLIENT_H_ |
| 6 #define UI_AURA_DESKTOP_DESKTOP_DISPATCHER_CLIENT_H_ | 6 #define UI_AURA_DESKTOP_DESKTOP_DISPATCHER_CLIENT_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/basictypes.h" |
| 9 #include "ui/aura/client/dispatcher_client.h" | 9 #include "ui/aura/client/dispatcher_client.h" |
| 10 #include "ui/views/views_export.h" |
| 10 | 11 |
| 11 namespace aura { | 12 namespace aura { |
| 12 | 13 |
| 13 // TODO(erg): I won't lie to you; I have no idea what this is or what it does. | 14 // TODO(erg): I won't lie to you; I have no idea what this is or what it does. |
| 14 class AURA_EXPORT DesktopDispatcherClient : public client::DispatcherClient { | 15 class VIEWS_EXPORT DesktopDispatcherClient : public client::DispatcherClient { |
| 15 public: | 16 public: |
| 16 DesktopDispatcherClient(); | 17 DesktopDispatcherClient(); |
| 17 virtual ~DesktopDispatcherClient(); | 18 virtual ~DesktopDispatcherClient(); |
| 18 | 19 |
| 19 virtual void RunWithDispatcher(MessageLoop::Dispatcher* dispatcher, | 20 virtual void RunWithDispatcher(MessageLoop::Dispatcher* dispatcher, |
| 20 aura::Window* associated_window, | 21 aura::Window* associated_window, |
| 21 bool nestable_tasks_allowed) OVERRIDE; | 22 bool nestable_tasks_allowed) OVERRIDE; |
| 22 | 23 |
| 23 private: | 24 private: |
| 24 DISALLOW_COPY_AND_ASSIGN(DesktopDispatcherClient); | 25 DISALLOW_COPY_AND_ASSIGN(DesktopDispatcherClient); |
| 25 }; | 26 }; |
| 26 | 27 |
| 27 } // namespace aura | 28 } // namespace aura |
| 28 | 29 |
| 29 #endif // UI_AURA_DESKTOP_DESKTOP_DISPATCHER_CLIENT_H_ | 30 #endif // UI_AURA_DESKTOP_DESKTOP_DISPATCHER_CLIENT_H_ |
| OLD | NEW |