Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(490)

Unified Diff: ash/wm/window_animations.h

Issue 20415002: Add window overview mode behind --ash-enable-overview-mode flag to F5 key. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ash/wm/window_animations.h
diff --git a/ash/wm/window_animations.h b/ash/wm/window_animations.h
index d56f2b2f40f1d1ca9f0a898c90de25f50019b117..d6f15bee331af3e379ff3331dad43e8f91e5694e 100644
--- a/ash/wm/window_animations.h
+++ b/ash/wm/window_animations.h
@@ -37,6 +37,9 @@ enum LayerScaleAnimationDirection {
LAYER_SCALE_ANIMATION_BELOW,
};
+// Returns the bounds that |window| should animate to when minimizing.
+ASH_EXPORT gfx::Rect GetMinimizeRectForWindow(aura::Window* window);
+
// Animate a cross-fade of |window| from its current bounds to |new_bounds|.
ASH_EXPORT void CrossFadeToBounds(aura::Window* window,
const gfx::Rect& new_bounds);

Powered by Google App Engine
This is Rietveld 408576698