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

Side by Side Diff: ash/shell_window_ids.h

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

Powered by Google App Engine
This is Rietveld 408576698