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

Unified Diff: ash/wm/workspace/workspace_animations.h

Issue 21966005: Removes workspace_animations.(h,cc) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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/wm/window_animations.cc ('k') | ash/wm/workspace/workspace_animations.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/workspace_animations.h
diff --git a/ash/wm/workspace/workspace_animations.h b/ash/wm/workspace/workspace_animations.h
deleted file mode 100644
index 39d84a2eb414950ed1bef48c3491327471887128..0000000000000000000000000000000000000000
--- a/ash/wm/workspace/workspace_animations.h
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef ASH_WM_WORKSPACE_WORKSPACE_ANIMATIONS_H_
-#define ASH_WM_WORKSPACE_WORKSPACE_ANIMATIONS_H_
-
-#include "ash/ash_export.h"
-#include "base/time/time.h"
-
-namespace aura {
-class Window;
-}
-
-// Collection of functions and types needed for animating workspaces.
-
-namespace ash {
-namespace internal {
-
-// Indicates the direction the workspace should appear to go.
-enum WorkspaceAnimationDirection {
- WORKSPACE_ANIMATE_UP,
- WORKSPACE_ANIMATE_DOWN,
-};
-
-// The details of this dictate how the show/hide should be animated.
-struct WorkspaceAnimationDetails {
- WorkspaceAnimationDetails();
- ~WorkspaceAnimationDetails();
-
- // Direction to animate.
- WorkspaceAnimationDirection direction;
-
- // Whether to animate. If false the show/hide is immediate, otherwise it
- // animates.
- bool animate;
-
- // Whether the opacity should be animated.
- bool animate_opacity;
-
- // Whether the scale should be animated.
- bool animate_scale;
-
- // The duration of the animation. If empty the default is used.
- base::TimeDelta duration;
-
- // Amount of time (in milliseconds) to pause before animating.
- int pause_time_ms;
-};
-
-// Amount of time for the workspace switch animation.
-extern const int kWorkspaceSwitchTimeMS;
-
-// Shows or hides the workspace animating based on |details|.
-ASH_EXPORT void ShowWorkspace(aura::Window* window,
- const WorkspaceAnimationDetails& details);
-ASH_EXPORT void HideWorkspace(aura::Window* window,
- const WorkspaceAnimationDetails& details);
-} // namespace internal
-} // namespace ash
-
-#endif // ASH_WM_WORKSPACE_WORKSPACE_ANIMATIONS_H_
« no previous file with comments | « ash/wm/window_animations.cc ('k') | ash/wm/workspace/workspace_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698