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

Side by Side Diff: ash/shell_window_ids.h

Issue 1920153003: Starts splitting out shell window ids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@prune_docked_layout_deps
Patch Set: merge 2 trunk Created 4 years, 8 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 | « no previous file | ash/wm/common/wm_shell_window_ids.h » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_SHELL_WINDOW_IDS_H_ 5 #ifndef ASH_SHELL_WINDOW_IDS_H_
6 #define ASH_SHELL_WINDOW_IDS_H_ 6 #define ASH_SHELL_WINDOW_IDS_H_
7 7
8 #include "ash/wm/common/wm_shell_window_ids.h"
9
8 // Declarations of ids of special shell windows. 10 // Declarations of ids of special shell windows.
9 11
10 namespace ash { 12 namespace ash {
11 13
12 // A higher-level container that holds all of the containers stacked below 14 // A higher-level container that holds all of the containers stacked below
13 // kShellWindowId_LockScreenContainer. Only used by PowerButtonController for 15 // kShellWindowId_LockScreenContainer. Only used by PowerButtonController for
14 // animating lower-level containers. 16 // animating lower-level containers.
15 const int kShellWindowId_NonLockScreenContainersContainer = 0; 17 const int kShellWindowId_NonLockScreenContainersContainer = 0;
16 18
17 // A higher-level container that holds containers that hold lock-screen 19 // A higher-level container that holds containers that hold lock-screen
(...skipping 18 matching lines...) Expand all
36 const int kShellWindowId_VirtualKeyboardContainer = 5; 38 const int kShellWindowId_VirtualKeyboardContainer = 5;
37 39
38 // TODO(sky): rename kShellWindowId_DefaultContainer. 40 // TODO(sky): rename kShellWindowId_DefaultContainer.
39 41
40 // The container for standard top-level windows. 42 // The container for standard top-level windows.
41 const int kShellWindowId_DefaultContainer = 6; 43 const int kShellWindowId_DefaultContainer = 6;
42 44
43 // The container for top-level windows with the 'always-on-top' flag set. 45 // The container for top-level windows with the 'always-on-top' flag set.
44 const int kShellWindowId_AlwaysOnTopContainer = 7; 46 const int kShellWindowId_AlwaysOnTopContainer = 7;
45 47
46 // The container for windows docked to either side of the desktop. 48 // The container for windows docked to either side of the desktop. Shell id is
47 const int kShellWindowId_DockedContainer = 8; 49 // defined in wm_shell_window_ids.
50
51 static_assert(kShellWindowId_AlwaysOnTopContainer + 1 ==
52 kShellWindowId_DockedContainer,
53 "docked container must be immediately after always on top");
48 54
49 // The container for the shelf. 55 // The container for the shelf.
50 const int kShellWindowId_ShelfContainer = 9; 56 const int kShellWindowId_ShelfContainer = 9;
51 57
58 static_assert(kShellWindowId_DockedContainer + 1 ==
59 kShellWindowId_ShelfContainer,
60 "shelf container must be immediately after docked container");
61
52 // The container for bubbles which float over the shelf. 62 // The container for bubbles which float over the shelf.
53 const int kShellWindowId_ShelfBubbleContainer = 10; 63 const int kShellWindowId_ShelfBubbleContainer = 10;
54 64
55 // The container for panel windows. 65 // The container for panel windows.
56 const int kShellWindowId_PanelContainer = 11; 66 const int kShellWindowId_PanelContainer = 11;
57 67
58 // The container for the app list. 68 // The container for the app list.
59 const int kShellWindowId_AppListContainer = 12; 69 const int kShellWindowId_AppListContainer = 12;
60 70
61 // The container for user-specific modal windows. 71 // The container for user-specific modal windows.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 // The container for mouse cursor. 108 // The container for mouse cursor.
99 const int kShellWindowId_MouseCursorContainer = 24; 109 const int kShellWindowId_MouseCursorContainer = 24;
100 110
101 // The topmost container, used for power off animation. 111 // The topmost container, used for power off animation.
102 const int kShellWindowId_PowerButtonAnimationContainer = 25; 112 const int kShellWindowId_PowerButtonAnimationContainer = 25;
103 113
104 } // namespace ash 114 } // namespace ash
105 115
106 116
107 #endif // ASH_SHELL_WINDOW_IDS_H_ 117 #endif // ASH_SHELL_WINDOW_IDS_H_
OLDNEW
« no previous file with comments | « no previous file | ash/wm/common/wm_shell_window_ids.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698