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

Side by Side Diff: ash/wm/overview/overview_animation_type.h

Issue 2918403006: CrOS Tablet Window management - Split Screen part I (Closed)
Patch Set: Address oshima@'s comments Created 3 years, 6 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
1 // Copyright 2014 The Chromium Authors. All rights reserved. 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 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_WM_OVERVIEW_OVERVIEW_ANIMATION_TYPE_H_ 5 #ifndef ASH_WM_OVERVIEW_OVERVIEW_ANIMATION_TYPE_H_
6 #define ASH_WM_OVERVIEW_OVERVIEW_ANIMATION_TYPE_H_ 6 #define ASH_WM_OVERVIEW_OVERVIEW_ANIMATION_TYPE_H_
7 7
8 namespace ash { 8 namespace ash {
9 9
10 // Enumeration of the different overview mode animations. 10 // Enumeration of the different overview mode animations.
11 enum OverviewAnimationType { 11 enum OverviewAnimationType {
12 // TODO(bruthig): Remove OVERVIEW_ANIMATION_NONE value and replace it with 12 // TODO(bruthig): Remove OVERVIEW_ANIMATION_NONE value and replace it with
13 // correct animation type actions. 13 // correct animation type actions.
14 OVERVIEW_ANIMATION_NONE, 14 OVERVIEW_ANIMATION_NONE,
15 // Used to fade in the close button and label. 15 // Used to fade in the close button and label.
16 OVERVIEW_ANIMATION_ENTER_OVERVIEW_MODE_FADE_IN, 16 OVERVIEW_ANIMATION_ENTER_OVERVIEW_MODE_FADE_IN,
17 // Used to fade out the label. 17 // Used to fade out the label.
18 OVERVIEW_ANIMATION_EXIT_OVERVIEW_MODE_FADE_OUT, 18 OVERVIEW_ANIMATION_EXIT_OVERVIEW_MODE_FADE_OUT,
19 // Used to position windows when entering/exiting overview mode and when a 19 // Used to position windows when entering/exiting overview mode and when a
20 // window is closed while overview mode is active. 20 // window is closed while overview mode is active.
21 OVERVIEW_ANIMATION_LAY_OUT_SELECTOR_ITEMS, 21 OVERVIEW_ANIMATION_LAY_OUT_SELECTOR_ITEMS,
22 // Used to restore windows to their original position when exiting overview 22 // Used to restore windows to their original position when exiting overview
23 // mode. 23 // mode.
24 OVERVIEW_ANIMATION_RESTORE_WINDOW, 24 OVERVIEW_ANIMATION_RESTORE_WINDOW,
25 // Used to animate scaling down of a window that is about to get closed while 25 // Used to animate scaling down of a window that is about to get closed while
26 // overview mode is active. 26 // overview mode is active.
27 OVERVIEW_ANIMATION_CLOSING_SELECTOR_ITEM, 27 OVERVIEW_ANIMATION_CLOSING_SELECTOR_ITEM,
28 // Used to animate hiding of a window that is closed while overview mode is 28 // Used to animate hiding of a window that is closed while overview mode is
29 // active. 29 // active.
30 OVERVIEW_ANIMATION_CLOSE_SELECTOR_ITEM 30 OVERVIEW_ANIMATION_CLOSE_SELECTOR_ITEM,
31 // Used to animate scaling up of a window that is about the get dragged while
varkha 2017/06/21 01:51:52 nit: ... about to get dragged ...
xdai1 2017/06/22 21:46:32 Done.
32 // overview mode is active.
33 OVERVIEW_ANIMATION_DRAGGING_SELECTOR_ITEM,
31 }; 34 };
32 35
33 } // namespace ash 36 } // namespace ash
34 37
35 #endif // ASH_WM_OVERVIEW_OVERVIEW_ANIMATION_TYPE_H_ 38 #endif // ASH_WM_OVERVIEW_OVERVIEW_ANIMATION_TYPE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698