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

Unified Diff: ui/aura/dispatcher_linux.h

Issue 9808010: Keep the mouse cursor within desktop (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sync Created 8 years, 9 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/dispatcher_linux.h
diff --git a/ui/aura/dispatcher_linux.h b/ui/aura/dispatcher_linux.h
index 2be4dec7b637256daadc88600e7be908d397e83a..31328ecab86dab62927cdc975c20340f0b942426 100644
--- a/ui/aura/dispatcher_linux.h
+++ b/ui/aura/dispatcher_linux.h
@@ -14,32 +14,28 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "base/message_loop.h"
-#include "ui/aura/env.h"
namespace aura {
-class RootWindowHostLinux;
-
-class DispatcherLinux : public Dispatcher {
+class DispatcherLinux : public MessageLoop::Dispatcher {
public:
DispatcherLinux();
virtual ~DispatcherLinux();
- void RootWindowHostCreated(::Window window,
- ::Window root,
- RootWindowHostLinux* host);
- void RootWindowHostDestroying(::Window window, ::Window root);
+ void WindowDispatcherCreated(::Window window,
+ MessageLoop::Dispatcher* dispatcher);
+ void WindowDispatcherDestroying(::Window window);
// Overridden from MessageLoop::Dispatcher:
virtual base::MessagePumpDispatcher::DispatchStatus Dispatch(
XEvent* xev) OVERRIDE;
private:
- typedef std::map< ::Window, RootWindowHostLinux* > HostsMap;
+ typedef std::map< ::Window, MessageLoop::Dispatcher* > DispatchersMap;
- RootWindowHostLinux* GetRootWindowHostForXEvent(XEvent* xev) const;
+ MessageLoop::Dispatcher* GetDispatcherForXEvent(XEvent* xev) const;
- HostsMap hosts_;
+ DispatchersMap dispatchers_;
DISALLOW_COPY_AND_ASSIGN(DispatcherLinux);
};
« no previous file with comments | « base/message_pump_x.h ('k') | ui/aura/dispatcher_linux.cc » ('j') | ui/aura/env.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698