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

Unified Diff: ui/aura/mus/mus_mouse_location_updater.h

Issue 2818533003: Make nesting/running states a RunLoop rather than a MessageLoop concept. (Closed)
Patch Set: fix compile Created 3 years, 8 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
Index: ui/aura/mus/mus_mouse_location_updater.h
diff --git a/ui/aura/mus/mus_mouse_location_updater.h b/ui/aura/mus/mus_mouse_location_updater.h
index d8200496ab879976203415a7b68ac49c05f1605f..0f2512d7ebc71bad43a4baeecbb19aaf258fdd39 100644
--- a/ui/aura/mus/mus_mouse_location_updater.h
+++ b/ui/aura/mus/mus_mouse_location_updater.h
@@ -6,7 +6,7 @@
#define UI_AURA_MUS_MUS_MOUSE_LOCATION_UPDATER_H_
#include "base/macros.h"
-#include "base/message_loop/message_loop.h"
+#include "base/run_loop.h"
namespace ui {
class Event;
@@ -21,7 +21,7 @@ namespace aura {
// Env uses the value from the current event, otherwise Env uses
// WindowTreeClient::GetCursorScreenPoint(). If a nested message loop is
// started while processing an event Env uses GetCursorScreenPoint().
-class MusMouseLocationUpdater : public base::MessageLoop::NestingObserver {
+class MusMouseLocationUpdater : public base::RunLoop::NestingObserver {
public:
MusMouseLocationUpdater();
~MusMouseLocationUpdater() override;
@@ -36,7 +36,7 @@ class MusMouseLocationUpdater : public base::MessageLoop::NestingObserver {
// location.
void UseCursorScreenPoint();
- // base::MessageLoop::NestingObserver:
+ // base::RunLoop::NestingObserver:
void OnBeginNestedMessageLoop() override;
// Set to true while processing a valid mouse event.

Powered by Google App Engine
This is Rietveld 408576698