diff options
author | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-28 18:07:17 +0000 |
---|---|---|
committer | sadrul@chromium.org <sadrul@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-02-28 18:07:17 +0000 |
commit | 28edb7cde63c12126dd5bba5f4b77f01428a46a8 (patch) | |
tree | 18d32551c294c395c2cbdcbc1176c84311ebd544 /ui/aura/dispatcher_linux.h | |
parent | 7f90ce6e6ebaca0e3a6236beb4dd778fd7cb586a (diff) | |
download | chromium_src-28edb7cde63c12126dd5bba5f4b77f01428a46a8.zip chromium_src-28edb7cde63c12126dd5bba5f4b77f01428a46a8.tar.gz chromium_src-28edb7cde63c12126dd5bba5f4b77f01428a46a8.tar.bz2 |
aura: Fix some of the event dispatching in linux.
Tell DispatcherLinux about both xwindow_ and x_root_window_ so that events that
come in for the latter (configure-notify etc.) do get dispatched correctly. Also,
process hierarchy-event directly in DispatcherLinux because it has no way of
knowing what RootWindowHostLinux to send the event to.
BUG=115956
TEST=none
Review URL: https://chromiumcodereview.appspot.com/9495015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@123996 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/dispatcher_linux.h')
-rw-r--r-- | ui/aura/dispatcher_linux.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/aura/dispatcher_linux.h b/ui/aura/dispatcher_linux.h index 11c9084..2be4dec 100644 --- a/ui/aura/dispatcher_linux.h +++ b/ui/aura/dispatcher_linux.h @@ -25,8 +25,10 @@ class DispatcherLinux : public Dispatcher { DispatcherLinux(); virtual ~DispatcherLinux(); - void RootWindowHostCreated(::Window window, RootWindowHostLinux* host); - void RootWindowHostDestroying(::Window window); + void RootWindowHostCreated(::Window window, + ::Window root, + RootWindowHostLinux* host); + void RootWindowHostDestroying(::Window window, ::Window root); // Overridden from MessageLoop::Dispatcher: virtual base::MessagePumpDispatcher::DispatchStatus Dispatch( |