summaryrefslogtreecommitdiffstats
path: root/ui/aura/root_window_host.h
diff options
context:
space:
mode:
authorerg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-17 22:43:46 +0000
committererg@chromium.org <erg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-17 22:43:46 +0000
commite46617f1a3089f5e9482b5228e5af56cd87f1bd0 (patch)
treeef43f67e22002866cea6f5a997653a5379ae9809 /ui/aura/root_window_host.h
parent70d7ca92922439fb62b6c7e5c71ed6ea04ff6d32 (diff)
downloadchromium_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.h')
-rw-r--r--ui/aura/root_window_host.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/aura/root_window_host.h b/ui/aura/root_window_host.h
index 65a3f19..74502bf 100644
--- a/ui/aura/root_window_host.h
+++ b/ui/aura/root_window_host.h
@@ -50,6 +50,9 @@ class RootWindowHost {
// Shows the RootWindowHost.
virtual void Show() = 0;
+ // Hides the RootWindowHost.
+ virtual void Hide() = 0;
+
// Toggles the host's full screen state.
virtual void ToggleFullScreen() = 0;