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

Unified Diff: ash/wm/window_animations.h

Issue 2243513004: mash: Partially migrate WorkspaceController to ash common. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address comments. Created 4 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
Index: ash/wm/window_animations.h
diff --git a/ash/wm/window_animations.h b/ash/wm/window_animations.h
index 58fe5150276e50ed761991eca1808c985b59ea29..e30993a4f9cfaa753c0014c84c329b2024c683f7 100644
--- a/ash/wm/window_animations.h
+++ b/ash/wm/window_animations.h
@@ -9,7 +9,6 @@
#include "ash/ash_export.h"
#include "ui/gfx/animation/tween.h"
-#include "ui/gfx/transform.h"
#include "ui/wm/core/window_animations.h"
namespace aura {
@@ -17,7 +16,6 @@ class Window;
}
namespace ui {
-class Layer;
class LayerTreeOwner;
}
@@ -25,13 +23,6 @@ class LayerTreeOwner;
// with desktop Chrome, see ui/views/corewm/window_animations.h.
namespace ash {
-// Direction for ash-specific window animations used in workspaces and
-// lock/unlock animations.
-enum LayerScaleAnimationDirection {
- LAYER_SCALE_ANIMATION_ABOVE,
- LAYER_SCALE_ANIMATION_BELOW,
-};
-
// Amount of time for the cross fade animation.
extern const int kCrossFadeDurationMS;
@@ -54,11 +45,6 @@ ASH_EXPORT std::vector<ui::LayerAnimationSequence*>
CreateBrightnessGrayscaleAnimationSequence(float target_value,
base::TimeDelta duration);
-// Applies scale related to the specified AshWindowScaleType.
-ASH_EXPORT void SetTransformForScaleAnimation(
- ui::Layer* layer,
- LayerScaleAnimationDirection type);
-
// Returns the approximate bounds to which |window| will be animated when it
// is minimized. The bounds are approximate because the minimize animation
// involves rotation.

Powered by Google App Engine
This is Rietveld 408576698