diff options
author | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-01 19:13:13 +0000 |
---|---|---|
committer | sky@chromium.org <sky@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-01 19:13:13 +0000 |
commit | 1c4a77b39c20c663f25ee0c73a1ebdf72b4ff4bf (patch) | |
tree | 4d826102a6c9d5495e759e2d0da1b8c74a8c7da7 /ash/wm/window_util.h | |
parent | 16dd6e258292b24af7fc5625543e52651c92ce50 (diff) | |
download | chromium_src-1c4a77b39c20c663f25ee0c73a1ebdf72b4ff4bf.zip chromium_src-1c4a77b39c20c663f25ee0c73a1ebdf72b4ff4bf.tar.gz chromium_src-1c4a77b39c20c663f25ee0c73a1ebdf72b4ff4bf.tar.bz2 |
Attempt 2: Allows tab dragging when maximized on aura. To fix it I made it so
that you can drag a maximized window when tab dragging and no
constraints are imposed on the window. Only when the mouse is released
do we do anything. This only handles the multiple tab case, if you've
selected all the tabs in a maximized window we won't detach.
BUG=116074
TEST=none
R=ben@chromium.org
TBR=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9566014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@124440 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/window_util.h')
-rw-r--r-- | ash/wm/window_util.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/wm/window_util.h b/ash/wm/window_util.h index 1742cf7..4d7b3d6 100644 --- a/ash/wm/window_util.h +++ b/ash/wm/window_util.h @@ -30,6 +30,9 @@ ASH_EXPORT aura::Window* GetActiveWindow(); // this is probably what you're looking for. ASH_EXPORT aura::Window* GetActivatableWindow(aura::Window* window); +// Returns true if |window| is normal or default. +ASH_EXPORT bool IsWindowNormal(aura::Window* window); + // Returns true if |window| is in the maximized state. ASH_EXPORT bool IsWindowMaximized(aura::Window* window); |