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

Unified Diff: ash/wm/base_layout_manager.h

Issue 10444014: ash: Improved window maximize/restore animations (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix lock screen, app windows Created 8 years, 6 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
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/wm/base_layout_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/base_layout_manager.h
diff --git a/ash/wm/base_layout_manager.h b/ash/wm/base_layout_manager.h
index 4965777c65655a362c2456b34b595acaa28507f1..becf24ab9fc8e6cebe6545b1717905d75020125f 100644
--- a/ash/wm/base_layout_manager.h
+++ b/ash/wm/base_layout_manager.h
@@ -72,7 +72,12 @@ class ASH_EXPORT BaseLayoutManager : public aura::LayoutManager,
private:
// Update window bounds based on a change in show state.
- void UpdateBoundsFromShowState(aura::Window* window);
+ void UpdateBoundsFromShowState(aura::Window* window, bool animate);
+
+ // Updates window bounds and animates when requested and possible.
+ void MaybeAnimateToBounds(aura::Window* window,
+ bool animate,
+ const gfx::Rect& new_bounds);
// Adjusts the window sizes when the screen changes its size or its
// work area insets.
« no previous file with comments | « ash/accelerators/accelerator_controller.cc ('k') | ash/wm/base_layout_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698