Index: ash/wm/workspace/workspace_types.h |
diff --git a/ash/wm/workspace/workspace_types.h b/ash/wm/workspace/workspace_types.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9572a328d8b648f00d1abd04f00ad7411f6f9710 |
--- /dev/null |
+++ b/ash/wm/workspace/workspace_types.h |
@@ -0,0 +1,27 @@ |
+// Copyright (c) 2012 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. |
+ |
+#ifndef ASH_WM_WORKSPACE_WORKSPACE_TYPES_H_ |
+#define ASH_WM_WORKSPACE_WORKSPACE_TYPES_H_ |
+ |
+namespace ash { |
+ |
+// Enumeration of the possible window states. |
+enum WorkspaceWindowState { |
+ // There's a full screen window. |
+ WORKSPACE_WINDOW_STATE_FULL_SCREEN, |
+ |
+ // There's a maximized window. |
+ WORKSPACE_WINDOW_STATE_MAXIMIZED, |
+ |
+ // At least one window overlaps the shelf. |
+ WORKSPACE_WINDOW_STATE_WINDOW_OVERLAPS_SHELF, |
+ |
+ // None of the windows are fullscreen, maximized or touch the shelf. |
+ WORKSPACE_WINDOW_STATE_DEFAULT, |
+}; |
+ |
+} // namespace ash |
+ |
+#endif // ASH_WM_WORKSPACE_WORKSPACE_TYPES_H_ |