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

Unified Diff: ash/common/shell_window_ids.h

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
Index: ash/common/shell_window_ids.h
diff --git a/ash/common/shell_window_ids.h b/ash/common/shell_window_ids.h
index 5ee79e8c6a967b9e983dfafeacc18717cda486f6..ef0069eba9441d5f01d05a25cd651d544f612c3f 100644
--- a/ash/common/shell_window_ids.h
+++ b/ash/common/shell_window_ids.h
@@ -5,10 +5,17 @@
#ifndef ASH_COMMON_SHELL_WINDOW_IDS_H_
#define ASH_COMMON_SHELL_WINDOW_IDS_H_
+#include <stddef.h>
+
+#include "ash/ash_export.h"
+
// Declarations of ids of special shell windows.
namespace ash {
+// Used to indicate no shell window id.
+const int kShellWindowId_Invalid = -1;
+
// A higher-level container that holds all of the containers stacked below
// kShellWindowId_LockScreenContainer. Only used by PowerButtonController for
// animating lower-level containers.
@@ -33,6 +40,7 @@ const int kShellWindowId_UnparentedControlContainer = 3;
const int kShellWindowId_DesktopBackgroundContainer = 4;
// The virtual keyboard container.
+// NOTE: this is lazily created.
const int kShellWindowId_VirtualKeyboardContainer = 5;
// The container for standard top-level windows.
@@ -99,6 +107,14 @@ const int kShellWindowId_MouseCursorContainer = 24;
// The topmost container, used for power off animation.
const int kShellWindowId_PowerButtonAnimationContainer = 25;
+const int kShellWindowId_Min = 0;
+const int kShellWindowId_Max = kShellWindowId_PowerButtonAnimationContainer;
+
+// These are the list of container ids of containers which may contain windows
+// that need to be activated in the order that they should be activated.
+ASH_EXPORT extern const int kActivatableShellWindowIds[];
+ASH_EXPORT extern const size_t kNumActivatableShellWindowIds;
+
} // namespace ash
#endif // ASH_COMMON_SHELL_WINDOW_IDS_H_

Powered by Google App Engine
This is Rietveld 408576698