| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef ASH_COMMON_WM_WM_WINDOW_ANIMATIONS_H_ |
| 6 #define ASH_COMMON_WM_WM_WINDOW_ANIMATIONS_H_ |
| 7 |
| 8 #include "ash/ash_export.h" |
| 9 |
| 10 namespace ui { |
| 11 class Layer; |
| 12 } |
| 13 |
| 14 // This is only for animations specific to Ash. For window animations shared |
| 15 // with desktop Chrome, see ui/views/corewm/window_animations.h. |
| 16 namespace ash { |
| 17 |
| 18 // Direction for ash-specific window animations used in workspaces and |
| 19 // lock/unlock animations. |
| 20 enum LayerScaleAnimationDirection { |
| 21 LAYER_SCALE_ANIMATION_ABOVE, |
| 22 LAYER_SCALE_ANIMATION_BELOW, |
| 23 }; |
| 24 |
| 25 // Applies scale related to the specified AshWindowScaleType. |
| 26 ASH_EXPORT void SetTransformForScaleAnimation( |
| 27 ui::Layer* layer, |
| 28 LayerScaleAnimationDirection type); |
| 29 |
| 30 } // namespace ash |
| 31 |
| 32 #endif // ASH_COMMON_WM_WM_WINDOW_ANIMATIONS_H_ |
| OLD | NEW |