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

Side by Side Diff: ash/shell_window_ids.h

Issue 11273059: ash: Clean up system background layer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: apply review feedback Created 8 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « ash/shell_unittest.cc ('k') | ash/wm/power_button_controller_unittest.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 (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 // Declarations of ids of special shell windows. 8 // Declarations of ids of special shell windows.
9 9
10 namespace ash { 10 namespace ash {
(...skipping 15 matching lines...) Expand all
26 // A higher-level container that holds containers that hold lock-screen-related 26 // A higher-level container that holds containers that hold lock-screen-related
27 // windows (which we want to display while the screen is locked; effectively 27 // windows (which we want to display while the screen is locked; effectively
28 // containers stacked above kShellWindowId_LockSystemModalContainer). Only used 28 // containers stacked above kShellWindowId_LockSystemModalContainer). Only used
29 // by PowerButtonController for animating lower-level containers. 29 // by PowerButtonController for animating lower-level containers.
30 const int kShellWindowId_LockScreenRelatedContainersContainer = 2; 30 const int kShellWindowId_LockScreenRelatedContainersContainer = 2;
31 31
32 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent. 32 // A container used for windows of WINDOW_TYPE_CONTROL that have no parent.
33 // This container is not visible. 33 // This container is not visible.
34 const int kShellWindowId_UnparentedControlContainer = 3; 34 const int kShellWindowId_UnparentedControlContainer = 3;
35 35
36 // System level background. Sits beneach the desktop background and is only
37 // visible when the desktop background has not yet been loaded or a workspace
38 // other than the desktop is being displayed. When switching from the desktop
39 // workspace to to another workspace the desktop background scales slightly.
40 // This exposes the system level background beneath it.
41 const int kShellWindowId_SystemBackgroundContainer = 4;
42
43 // The desktop background window. 36 // The desktop background window.
44 const int kShellWindowId_DesktopBackgroundContainer = 5; 37 const int kShellWindowId_DesktopBackgroundContainer = 4;
45 38
46 // TODO(sky): rename kShellWindowId_DefaultContainer when Workspace2 is the 39 // TODO(sky): rename kShellWindowId_DefaultContainer when Workspace2 is the
47 // default. 40 // default.
48 41
49 // The container for standard top-level windows. 42 // The container for standard top-level windows.
50 // WARNING: when Workspace2 is enabled the only children of 43 // WARNING: when Workspace2 is enabled the only children of
51 // kShellWindowId_DefaultContainer are kShellWindowId_WorkspaceContainer. 44 // kShellWindowId_DefaultContainer are kShellWindowId_WorkspaceContainer.
52 const int kShellWindowId_DefaultContainer = 6; 45 const int kShellWindowId_DefaultContainer = 5;
53 46
54 // Used by Worskpace2 for each workspace. Contains standard top-level windows. 47 // Used by Worskpace2 for each workspace. Contains standard top-level windows.
55 // WARNING: there may be more than one container with this id. 48 // WARNING: there may be more than one container with this id.
56 const int kShellWindowId_WorkspaceContainer = 7; 49 const int kShellWindowId_WorkspaceContainer = 6;
57 50
58 // The container for top-level windows with the 'always-on-top' flag set. 51 // The container for top-level windows with the 'always-on-top' flag set.
59 const int kShellWindowId_AlwaysOnTopContainer = 8; 52 const int kShellWindowId_AlwaysOnTopContainer = 7;
60 53
61 // The container for panel windows. 54 // The container for panel windows.
62 const int kShellWindowId_PanelContainer = 9; 55 const int kShellWindowId_PanelContainer = 8;
63 56
64 // The container for the launcher. 57 // The container for the launcher.
65 const int kShellWindowId_LauncherContainer = 10; 58 const int kShellWindowId_LauncherContainer = 9;
66 59
67 // The container for the app list. 60 // The container for the app list.
68 const int kShellWindowId_AppListContainer = 11; 61 const int kShellWindowId_AppListContainer = 10;
69 62
70 // The container for user-specific modal windows. 63 // The container for user-specific modal windows.
71 const int kShellWindowId_SystemModalContainer = 12; 64 const int kShellWindowId_SystemModalContainer = 11;
72 65
73 // The container for input method components such like candidate windows. They 66 // The container for input method components such like candidate windows. They
74 // are almost panels but have no activations/focus, and they should appear over 67 // are almost panels but have no activations/focus, and they should appear over
75 // the AppList and SystemModal dialogs. 68 // the AppList and SystemModal dialogs.
76 const int kShellWindowId_InputMethodContainer = 13; 69 const int kShellWindowId_InputMethodContainer = 12;
77 70
78 // The container for the lock screen background. 71 // The container for the lock screen background.
79 const int kShellWindowId_LockScreenBackgroundContainer = 14; 72 const int kShellWindowId_LockScreenBackgroundContainer = 13;
80 73
81 // The container for the lock screen. 74 // The container for the lock screen.
82 const int kShellWindowId_LockScreenContainer = 15; 75 const int kShellWindowId_LockScreenContainer = 14;
83 76
84 // The container for the lock screen modal windows. 77 // The container for the lock screen modal windows.
85 const int kShellWindowId_LockSystemModalContainer = 16; 78 const int kShellWindowId_LockSystemModalContainer = 15;
86 79
87 // The container for the status area. 80 // The container for the status area.
88 const int kShellWindowId_StatusContainer = 17; 81 const int kShellWindowId_StatusContainer = 16;
89 82
90 // The container for menus. 83 // The container for menus.
91 const int kShellWindowId_MenuContainer = 18; 84 const int kShellWindowId_MenuContainer = 17;
92 85
93 // The container for drag/drop images and tooltips. 86 // The container for drag/drop images and tooltips.
94 const int kShellWindowId_DragImageAndTooltipContainer = 19; 87 const int kShellWindowId_DragImageAndTooltipContainer = 18;
95 88
96 // The container for bubbles briefly overlaid onscreen to show settings changes 89 // The container for bubbles briefly overlaid onscreen to show settings changes
97 // (volume, brightness, etc.). 90 // (volume, brightness, etc.).
98 const int kShellWindowId_SettingBubbleContainer = 20; 91 const int kShellWindowId_SettingBubbleContainer = 19;
99 92
100 // The container for special components overlaid onscreen, such as the 93 // The container for special components overlaid onscreen, such as the
101 // region selector for partial screenshots. 94 // region selector for partial screenshots.
102 const int kShellWindowId_OverlayContainer = 21; 95 const int kShellWindowId_OverlayContainer = 20;
103 96
104 // ID of the window created by PhantomWindowController. 97 // ID of the window created by PhantomWindowController.
105 const int kShellWindowId_PhantomWindow = 22; 98 const int kShellWindowId_PhantomWindow = 21;
106 99
107 // The topmost container, used for power off animation. 100 // The topmost container, used for power off animation.
108 const int kShellWindowId_PowerButtonAnimationContainer = 23; 101 const int kShellWindowId_PowerButtonAnimationContainer = 22;
109 102
110 } // namespace internal 103 } // namespace internal
111 104
112 } // namespace ash 105 } // namespace ash
113 106
114 107
115 #endif // ASH_SHELL_WINDOW_IDS_H_ 108 #endif // ASH_SHELL_WINDOW_IDS_H_
OLDNEW
« no previous file with comments | « ash/shell_unittest.cc ('k') | ash/wm/power_button_controller_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698