OLD | NEW |
| (Empty) |
1 // Copyright 2014 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_OVERVIEW_OVERVIEW_ANIMATION_TYPE_H_ | |
6 #define ASH_COMMON_WM_OVERVIEW_OVERVIEW_ANIMATION_TYPE_H_ | |
7 | |
8 namespace ash { | |
9 | |
10 // Enumeration of the different overview mode animations. | |
11 enum OverviewAnimationType { | |
12 // TODO(bruthig): Remove OVERVIEW_ANIMATION_NONE value and replace it with | |
13 // correct animation type actions. | |
14 OVERVIEW_ANIMATION_NONE, | |
15 // Used to fade in the close button and label. | |
16 OVERVIEW_ANIMATION_ENTER_OVERVIEW_MODE_FADE_IN, | |
17 // Used to fade out the label. | |
18 OVERVIEW_ANIMATION_EXIT_OVERVIEW_MODE_FADE_OUT, | |
19 // Used to position windows when entering/exiting overview mode and when a | |
20 // window is closed while overview mode is active. | |
21 OVERVIEW_ANIMATION_LAY_OUT_SELECTOR_ITEMS, | |
22 // Used to restore windows to their original position when exiting overview | |
23 // mode. | |
24 OVERVIEW_ANIMATION_RESTORE_WINDOW, | |
25 // Used to animate scaling down of a window that is about to get closed while | |
26 // overview mode is active. | |
27 OVERVIEW_ANIMATION_CLOSING_SELECTOR_ITEM, | |
28 // Used to animate hiding of a window that is closed while overview mode is | |
29 // active. | |
30 OVERVIEW_ANIMATION_CLOSE_SELECTOR_ITEM | |
31 }; | |
32 | |
33 } // namespace ash | |
34 | |
35 #endif // ASH_COMMON_WM_OVERVIEW_OVERVIEW_ANIMATION_TYPE_H_ | |
OLD | NEW |