Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(395)

Side by Side Diff: ui/views/widget/desktop_aura/desktop_dispatcher_client.h

Issue 135563004: Nukes MessageLoop::Dispatcher (2) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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" 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 #include "ui/views/views_export.h"
11 11
12 namespace views { 12 namespace views {
13 13
14 // 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.
15 class VIEWS_EXPORT DesktopDispatcherClient 15 class VIEWS_EXPORT DesktopDispatcherClient
16 : public aura::client::DispatcherClient { 16 : public aura::client::DispatcherClient {
17 public: 17 public:
18 DesktopDispatcherClient(); 18 DesktopDispatcherClient();
19 virtual ~DesktopDispatcherClient(); 19 virtual ~DesktopDispatcherClient();
20 20
21 virtual void RunWithDispatcher(base::MessageLoop::Dispatcher* dispatcher, 21 virtual void RunWithDispatcher(base::MessagePumpDispatcher* dispatcher,
22 aura::Window* associated_window, 22 aura::Window* associated_window,
23 bool nestable_tasks_allowed) OVERRIDE; 23 bool nestable_tasks_allowed) OVERRIDE;
24 24
25 private: 25 private:
26 DISALLOW_COPY_AND_ASSIGN(DesktopDispatcherClient); 26 DISALLOW_COPY_AND_ASSIGN(DesktopDispatcherClient);
27 }; 27 };
28 28
29 } // namespace views 29 } // namespace views
30 30
31 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_ 31 #endif // UI_VIEWS_WIDGET_DESKTOP_AURA_DESKTOP_DISPATCHER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698