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

Unified Diff: trunk/src/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h

Issue 138433008: Revert 245226 "Nukes MessageLoop::Dispatcher" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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
Index: trunk/src/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h
===================================================================
--- trunk/src/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h (revision 245238)
+++ trunk/src/ui/views/widget/desktop_aura/x11_whole_screen_move_loop.h (working copy)
@@ -5,9 +5,8 @@
#ifndef UI_VIEWS_WIDGET_DESKTOP_AURA_X11_WHOLE_SCREEN_MOVE_LOOP_H_
#define UI_VIEWS_WIDGET_DESKTOP_AURA_X11_WHOLE_SCREEN_MOVE_LOOP_H_
-#include "base/callback.h"
#include "base/compiler_specific.h"
-#include "base/message_loop/message_pump_dispatcher.h"
+#include "base/message_loop/message_loop.h"
#include "ui/gfx/image/image_skia.h"
#include "ui/gfx/native_widget_types.h"
#include "ui/gfx/vector2d_f.h"
@@ -25,12 +24,12 @@
// Runs a nested message loop and grabs the mouse. This is used to implement
// dragging.
-class X11WholeScreenMoveLoop : public base::MessagePumpDispatcher {
+class X11WholeScreenMoveLoop : public base::MessageLoop::Dispatcher {
public:
explicit X11WholeScreenMoveLoop(X11WholeScreenMoveLoopDelegate* delegate);
virtual ~X11WholeScreenMoveLoop();
- // Overridden from base::MessagePumpDispatcher:
+ // Overridden from base::MessageLoop::Dispatcher:
virtual bool Dispatch(const base::NativeEvent& event) OVERRIDE;
// Runs the nested message loop. While the mouse is grabbed, use |cursor| as

Powered by Google App Engine
This is Rietveld 408576698