OLD | NEW |
---|---|
(Empty) | |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 #include "ash/common/shell_window_ids.h" | |
6 | |
7 #include "base/macros.h" | |
8 | |
9 namespace ash { | |
10 | |
11 const int kActivatableShellWindowIds[] = { | |
James Cook
2016/06/03 16:13:16
nit: I would put the comment that the order matter
sky
2016/06/03 17:39:04
Done.
| |
12 kShellWindowId_OverlayContainer, kShellWindowId_LockSystemModalContainer, | |
13 kShellWindowId_SettingBubbleContainer, kShellWindowId_LockScreenContainer, | |
14 kShellWindowId_SystemModalContainer, kShellWindowId_AlwaysOnTopContainer, | |
15 kShellWindowId_AppListContainer, kShellWindowId_DefaultContainer, | |
16 | |
17 // Docked, panel, launcher and status are intentionally checked after other | |
18 // containers even though these layers are higher. The user expects their | |
19 // windows to be focused before these elements. | |
20 kShellWindowId_DockedContainer, kShellWindowId_PanelContainer, | |
21 kShellWindowId_ShelfContainer, kShellWindowId_StatusContainer, | |
22 }; | |
23 | |
24 const size_t kNumActivatableShellWindowIds = | |
25 arraysize(kActivatableShellWindowIds); | |
26 | |
27 } // namespace ash | |
OLD | NEW |