diff options
author | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-17 22:43:46 +0000 |
---|---|---|
committer | erg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-08-17 22:43:46 +0000 |
commit | e46617f1a3089f5e9482b5228e5af56cd87f1bd0 (patch) | |
tree | ef43f67e22002866cea6f5a997653a5379ae9809 /ui/aura/root_window_host_win.h | |
parent | 70d7ca92922439fb62b6c7e5c71ed6ea04ff6d32 (diff) | |
download | chromium_src-e46617f1a3089f5e9482b5228e5af56cd87f1bd0.zip chromium_src-e46617f1a3089f5e9482b5228e5af56cd87f1bd0.tar.gz chromium_src-e46617f1a3089f5e9482b5228e5af56cd87f1bd0.tar.bz2 |
Desktop Aura: Allow tab drags out of window.
You can now drag tabs in and out of windows in linux_aura builds. This patch has a lot of moving parts and caveats though.
Moving parts in the patch:
- Added system location to aura::Events.
- Forwarding move events from RootWindowHostLinux to the TabDragController through an observer.
- MessagePumpAuraX11 now can block waiting for a window to be mapped. If we don't do this, we can't perform a grab on the new window.
- The drag offset is threaded from TabDragController through the WindowMoveController interface. (There's no other non-racey way of getting this data locally from X.)
- RootWindowHostLinux now has working Show()/Hide().
TODOs:
- After releasing a new window, the window looks focused, but isn't. You have to click on it for it to receive input focus.
BUG=133059
TEST=none
Review URL: https://chromiumcodereview.appspot.com/10828133
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@152180 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/root_window_host_win.h')
-rw-r--r-- | ui/aura/root_window_host_win.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/aura/root_window_host_win.h b/ui/aura/root_window_host_win.h index dcd2556..fdc5d9b 100644 --- a/ui/aura/root_window_host_win.h +++ b/ui/aura/root_window_host_win.h @@ -25,6 +25,7 @@ class RootWindowHostWin : public RootWindowHost, public ui::WindowImpl { virtual RootWindow* GetRootWindow() OVERRIDE; virtual gfx::AcceleratedWidget GetAcceleratedWidget() OVERRIDE; virtual void Show() OVERRIDE; + virtual void Hide() OVERRIDE; virtual void ToggleFullScreen() OVERRIDE; virtual gfx::Rect GetBounds() const OVERRIDE; virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE; |