diff options
author | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-18 08:12:10 +0000 |
---|---|---|
committer | pkotwicz@chromium.org <pkotwicz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-18 08:12:10 +0000 |
commit | 30b3965b1eec6ffb588c3dc65fc5f92d000aca83 (patch) | |
tree | 03ee420265786875d79df24f42e25f869c429d33 /ash/wm/window_animations.h | |
parent | 78bed5cc602b080f5ad67a959c43d47f4c95377a (diff) | |
download | chromium_src-30b3965b1eec6ffb588c3dc65fc5f92d000aca83.zip chromium_src-30b3965b1eec6ffb588c3dc65fc5f92d000aca83.tar.gz chromium_src-30b3965b1eec6ffb588c3dc65fc5f92d000aca83.tar.bz2 |
Make windows animate to their respective light bars when they are minimized and the shelf is auto hidden.
BUG=259027
Test=Manual, see bug
Review URL: https://chromiumcodereview.appspot.com/19100006
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@212280 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/wm/window_animations.h')
-rw-r--r-- | ash/wm/window_animations.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ash/wm/window_animations.h b/ash/wm/window_animations.h index 3f28b23..d56f2b2 100644 --- a/ash/wm/window_animations.h +++ b/ash/wm/window_animations.h @@ -69,7 +69,12 @@ ASH_EXPORT void SetTransformForScaleAnimation( ui::Layer* layer, LayerScaleAnimationDirection type); -} // namespace ash +// Returns the approximate bounds to which |window| will be animated when it +// is minimized. The bounds are approximate because the minimize animation +// involves rotation. +ASH_EXPORT gfx::Rect GetMinimizeAnimationTargetBoundsInScreen( + aura::Window* window); +} // namespace ash #endif // ASH_WM_WINDOW_ANIMATIONS_H_ |