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

Unified Diff: ui/aura/root_window_host_linux.cc

Issue 10407081: Multiple dispatchers for root windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 8 years, 7 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
« ui/aura/dispatcher_linux.cc ('K') | « ui/aura/monitor_change_observer_x11.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/root_window_host_linux.cc
diff --git a/ui/aura/root_window_host_linux.cc b/ui/aura/root_window_host_linux.cc
index 864ebb71a572996052e2f85661d793bb7da5fe9d..d2a39c382366c6dcdc9b14631ec12bb1b2b07b30 100644
--- a/ui/aura/root_window_host_linux.cc
+++ b/ui/aura/root_window_host_linux.cc
@@ -361,7 +361,7 @@ RootWindowHostLinux::RootWindowHostLinux(const gfx::Rect& bounds)
CWBackPixmap,
&swa);
static_cast<DispatcherLinux*>(Env::GetInstance()->GetDispatcher())->
- WindowDispatcherCreated(xwindow_, this);
+ RegisterDispatcher(xwindow_, this);
prop_.reset(new ui::ViewProp(xwindow_, kRootWindowHostLinuxKey, this));
@@ -424,7 +424,7 @@ RootWindowHostLinux::RootWindowHostLinux(const gfx::Rect& bounds)
RootWindowHostLinux::~RootWindowHostLinux() {
static_cast<DispatcherLinux*>(Env::GetInstance()->GetDispatcher())->
- WindowDispatcherDestroying(xwindow_);
+ UnregisterDispatcher(xwindow_);
UnConfineCursor();
« ui/aura/dispatcher_linux.cc ('K') | « ui/aura/monitor_change_observer_x11.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698