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

Side by Side Diff: ash/wm/common/wm_shell_window_ids.h

Issue 1921423002: Moves DefaultContainer and PanelContainer to wm_shell_window_ids (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_2
Patch Set: improve readability? Created 4 years, 7 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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_COMMON_WM_SHELL_WINDOW_IDS_H_ 5 #ifndef ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_
6 #define ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_ 6 #define ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_
7 7
8 #include "ash/ash_export.h" 8 #include "ash/ash_export.h"
9 9
10 // Defines the ids assigned to known containers. The id for a WmWindow is 10 // Defines the ids assigned to known containers. The id for a WmWindow is
11 // accessed via GetShellWindowId(). 11 // accessed via GetShellWindowId().
12 12
13 // TODO(sky): move this into wm namespace. 13 // TODO(sky): move this into wm namespace.
14 namespace ash { 14 namespace ash {
15 15
16 // NOTE: while the value of these is not necessarily important, the ordering
17 // is and is enforced in ash/shell_window_ids.h.
18
19 // The container for standard top-level windows.
20 const int kShellWindowId_DefaultContainer = 6;
21
22 // The container for windows docked to either side of the desktop.
16 const int kShellWindowId_DockedContainer = 8; 23 const int kShellWindowId_DockedContainer = 8;
17 24
25 // The container for panel windows.
26 const int kShellWindowId_PanelContainer = 11;
27
18 } // namespace ash 28 } // namespace ash
19 29
20 #endif // ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_ 30 #endif // ASH_WM_COMMON_WM_SHELL_WINDOW_IDS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698