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

Unified Diff: ash/common/shell_window_ids.cc

Issue 2033843003: Makes ash/mus use RootWindowControllerCommon (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@move_mash_wm
Patch Set: git cl add Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ash/common/shell_window_ids.h ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/shell_window_ids.cc
diff --git a/ash/common/shell_window_ids.cc b/ash/common/shell_window_ids.cc
new file mode 100644
index 0000000000000000000000000000000000000000..3579ee3512346afe807dbc1ac2f0aa6c15c81d84
--- /dev/null
+++ b/ash/common/shell_window_ids.cc
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "ash/common/shell_window_ids.h"
+
+#include "base/macros.h"
+
+namespace ash {
+
+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.
+ kShellWindowId_OverlayContainer, kShellWindowId_LockSystemModalContainer,
+ kShellWindowId_SettingBubbleContainer, kShellWindowId_LockScreenContainer,
+ kShellWindowId_SystemModalContainer, kShellWindowId_AlwaysOnTopContainer,
+ kShellWindowId_AppListContainer, kShellWindowId_DefaultContainer,
+
+ // Docked, panel, launcher and status are intentionally checked after other
+ // containers even though these layers are higher. The user expects their
+ // windows to be focused before these elements.
+ kShellWindowId_DockedContainer, kShellWindowId_PanelContainer,
+ kShellWindowId_ShelfContainer, kShellWindowId_StatusContainer,
+};
+
+const size_t kNumActivatableShellWindowIds =
+ arraysize(kActivatableShellWindowIds);
+
+} // namespace ash
« no previous file with comments | « ash/common/shell_window_ids.h ('k') | ash/mus/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698