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

Side by Side Diff: ash/wm/wm_window_animations.h

Issue 2734653002: chromeos: Move files in //ash/common to //ash (Closed)
Patch Set: fix a11y tests, fix docs Created 3 years, 9 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
« no previous file with comments | « ash/wm/wm_types.cc ('k') | ash/wm/wm_window_animations.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef ASH_COMMON_WM_WM_WINDOW_ANIMATIONS_H_ 5 #ifndef ASH_WM_WM_WINDOW_ANIMATIONS_H_
6 #define ASH_COMMON_WM_WM_WINDOW_ANIMATIONS_H_ 6 #define ASH_WM_WM_WINDOW_ANIMATIONS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 namespace ui { 10 namespace ui {
11 class Layer; 11 class Layer;
12 } 12 }
13 13
14 // This is only for animations specific to Ash. For window animations shared 14 // This is only for animations specific to Ash. For window animations shared
15 // with desktop Chrome, see ui/views/corewm/window_animations.h. 15 // with desktop Chrome, see ui/views/corewm/window_animations.h.
16 namespace ash { 16 namespace ash {
17 17
18 // Direction for ash-specific window animations used in workspaces and 18 // Direction for ash-specific window animations used in workspaces and
19 // lock/unlock animations. 19 // lock/unlock animations.
20 enum LayerScaleAnimationDirection { 20 enum LayerScaleAnimationDirection {
21 LAYER_SCALE_ANIMATION_ABOVE, 21 LAYER_SCALE_ANIMATION_ABOVE,
22 LAYER_SCALE_ANIMATION_BELOW, 22 LAYER_SCALE_ANIMATION_BELOW,
23 }; 23 };
24 24
25 // Applies scale related to the specified AshWindowScaleType. 25 // Applies scale related to the specified AshWindowScaleType.
26 ASH_EXPORT void SetTransformForScaleAnimation( 26 ASH_EXPORT void SetTransformForScaleAnimation(
27 ui::Layer* layer, 27 ui::Layer* layer,
28 LayerScaleAnimationDirection type); 28 LayerScaleAnimationDirection type);
29 29
30 } // namespace ash 30 } // namespace ash
31 31
32 #endif // ASH_COMMON_WM_WM_WINDOW_ANIMATIONS_H_ 32 #endif // ASH_WM_WM_WINDOW_ANIMATIONS_H_
OLDNEW
« no previous file with comments | « ash/wm/wm_types.cc ('k') | ash/wm/wm_window_animations.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698