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

Unified Diff: ash/accelerators/accelerator_dispatcher.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | ash/accelerators/accelerator_dispatcher.cc » ('j') | base/run_loop.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/accelerators/accelerator_dispatcher.h
diff --git a/ash/accelerators/accelerator_dispatcher.h b/ash/accelerators/accelerator_dispatcher.h
index c0dfb03a0d4473d78051516cac6991108c9a638d..ecc85b02bb8f90572072ea566358d107da9465a5 100644
--- a/ash/accelerators/accelerator_dispatcher.h
+++ b/ash/accelerators/accelerator_dispatcher.h
@@ -6,7 +6,7 @@
#define ASH_ACCELERATORS_ACCELERATOR_DISPATCHER_H_
#include "ash/ash_export.h"
-#include "base/message_loop/message_loop.h"
+#include "base/message_loop/message_pump_dispatcher.h"
#include "ui/aura/window.h"
#include "ui/aura/window_observer.h"
@@ -19,21 +19,21 @@ namespace ash {
// TODO(pkotwicz): Port AcceleratorDispatcher to mac.
// TODO(pkotwicz): Add support for a |nested_dispatcher| which sends
// events to a system IME.
-class ASH_EXPORT AcceleratorDispatcher : public base::MessageLoop::Dispatcher,
+class ASH_EXPORT AcceleratorDispatcher : public base::MessagePumpDispatcher,
public aura::WindowObserver {
public:
- AcceleratorDispatcher(base::MessageLoop::Dispatcher* nested_dispatcher,
+ AcceleratorDispatcher(base::MessagePumpDispatcher* nested_dispatcher,
aura::Window* associated_window);
virtual ~AcceleratorDispatcher();
- // MessageLoop::Dispatcher overrides:
+ // MessagePumpDispatcher overrides:
virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE;
// aura::WindowObserver overrides:
virtual void OnWindowDestroying(aura::Window* window) OVERRIDE;
private:
- base::MessageLoop::Dispatcher* nested_dispatcher_;
+ base::MessagePumpDispatcher* nested_dispatcher_;
// Window associated with |nested_dispatcher_| which is used to determine
// whether the |nested_dispatcher_| is allowed to receive events.
« no previous file with comments | « no previous file | ash/accelerators/accelerator_dispatcher.cc » ('j') | base/run_loop.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698