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

Side by Side Diff: ash/common/wm/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 unified diff | Download patch
OLDNEW
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698