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

Unified Diff: ash/wm/workspace/workspace_types.h

Issue 10852003: Changes all non-workspace code to talk to WorkspaceManager via (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more constness Created 8 years, 4 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/wm/workspace/workspace_manager_unittest.cc ('k') | ash/wm/workspace_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « ash/wm/workspace/workspace_manager_unittest.cc ('k') | ash/wm/workspace_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698