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

Unified Diff: ash/wm/window_animations.h

Issue 80323002: Restores maximized browser before dragging a tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Restores maximized browser before dragging a tab (no animations) Created 7 years, 1 month 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 | « no previous file | ash/wm/window_animations.cc » ('j') | chrome/browser/ui/views/tabs/tab_drag_controller.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/window_animations.h
diff --git a/ash/wm/window_animations.h b/ash/wm/window_animations.h
index b0e4a2efec453b461a1d8981e8a5e610088a4ae0..9e56cc95707b73420064a0cd45495500f1b838f9 100644
--- a/ash/wm/window_animations.h
+++ b/ash/wm/window_animations.h
@@ -53,8 +53,9 @@ ASH_EXPORT void CrossFadeWindowBetweenWorkspaces(aura::Window* new_workspace,
ui::Layer* layer);
// Returns the duration of the cross-fade animation based on the |old_bounds|
-// and |new_bounds| of the window.
-ASH_EXPORT base::TimeDelta GetCrossFadeDuration(const gfx::Rect& old_bounds,
+// and |new_bounds| of the |window|.
+ASH_EXPORT base::TimeDelta GetCrossFadeDuration(aura::Window* window,
+ const gfx::Rect& old_bounds,
const gfx::Rect& new_bounds);
ASH_EXPORT bool AnimateOnChildWindowVisibilityChanged(aura::Window* window,
« no previous file with comments | « no previous file | ash/wm/window_animations.cc » ('j') | chrome/browser/ui/views/tabs/tab_drag_controller.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698