Index: ash/wm/workspace/workspace_animations.h |
diff --git a/ash/wm/workspace/workspace_animations.h b/ash/wm/workspace/workspace_animations.h |
index 3e60c1b7a742d785f510375e000a17d41176226c..2b6b4fe85ce7457a08b57cf354e2de5694981bfe 100644 |
--- a/ash/wm/workspace/workspace_animations.h |
+++ b/ash/wm/workspace/workspace_animations.h |
@@ -51,6 +51,22 @@ struct WorkspaceAnimationDetails { |
// Amount of time for the workspace switch animation. |
extern const int kWorkspaceSwitchTimeMS; |
+// Sets initial/target parameters of workspace animations based on |details|. |
+// Values are set for Show animation when |show| is true, and for Hide animation |
+// otherwise. If |force| is true, transform/opacity will be set regardless of |
+// value specified in |details|. |
+ASH_EXPORT void SetWorkspaceAnimationStartParameters( |
sky
2012/11/29 19:06:51
As previously mentioned we should not have session
|
+ aura::Window* window, |
+ const WorkspaceAnimationDetails& details, |
+ bool show, |
+ bool force); |
+ |
+ASH_EXPORT void SetWorkspaceAnimationTargetParameters( |
+ aura::Window* window, |
+ const WorkspaceAnimationDetails& details, |
+ bool show, |
+ bool force); |
+ |
// Shows or hides the workspace animating based on |details|. |
ASH_EXPORT void ShowWorkspace(aura::Window* window, |
const WorkspaceAnimationDetails& details); |