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

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: merge fail 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/root_window_controller_common.h ('k') | ash/common/shell_window_ids.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..24ce1b03df66a6675b52ef8c5b0387c13dfd1bd0 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.
+ASH_EXPORT extern const int kActivatableShellWindowIds[];
+ASH_EXPORT extern const size_t kNumActivatableShellWindowIds;
+
} // namespace ash
#endif // ASH_COMMON_SHELL_WINDOW_IDS_H_
« no previous file with comments | « ash/common/root_window_controller_common.h ('k') | ash/common/shell_window_ids.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698