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

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

Issue 10883069: Added restore functionality for maximize full/left/right (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed unit test failure 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/frame_maximize_button.cc ('k') | ash/wm/workspace/workspace_layout_manager2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/wm/workspace/maximize_bubble_frame_state.h
diff --git a/ash/wm/workspace/maximize_bubble_frame_state.h b/ash/wm/workspace/maximize_bubble_frame_state.h
new file mode 100644
index 0000000000000000000000000000000000000000..80fb835d8b6a3e95f40bad15e5b4feceb5785d2f
--- /dev/null
+++ b/ash/wm/workspace/maximize_bubble_frame_state.h
@@ -0,0 +1,20 @@
+// 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_MAXIMIZE_BUBBLE_FRAME_STATE_H_
+#define ASH_WM_WORKSPACE_MAXIMIZE_BUBBLE_FRAME_STATE_H_
+
+namespace ash {
+
+// These are the types of maximization we know.
+enum MaximizeBubbleFrameState {
+ FRAME_STATE_NONE = 0,
+ FRAME_STATE_FULL = 1, // This is the full maximized state.
+ FRAME_STATE_SNAP_LEFT = 2,
+ FRAME_STATE_SNAP_RIGHT = 3
+};
+
+} // namespace views
+
+#endif // ASH_WM_WORKSPACE_MAXIMIZE_BUBBLE_FRAME_STATE_H_
« no previous file with comments | « ash/wm/workspace/frame_maximize_button.cc ('k') | ash/wm/workspace/workspace_layout_manager2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698