summaryrefslogtreecommitdiff
path: root/chromium/ash/wm/caption_buttons/caption_button_types.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/ash/wm/caption_buttons/caption_button_types.h')
-rw-r--r--chromium/ash/wm/caption_buttons/caption_button_types.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/chromium/ash/wm/caption_buttons/caption_button_types.h b/chromium/ash/wm/caption_buttons/caption_button_types.h
new file mode 100644
index 00000000000..b34a8615083
--- /dev/null
+++ b/chromium/ash/wm/caption_buttons/caption_button_types.h
@@ -0,0 +1,30 @@
+// Copyright 2013 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_CAPTION_BUTTONS_CAPTION_BUTTON_TYPES_H_
+#define ASH_WM_CAPTION_BUTTONS_CAPTION_BUTTON_TYPES_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
+};
+
+// These are the icon types that a caption button can have. The size button's
+// action (SnapType) can be different from its icon.
+enum CaptionButtonIcon {
+ CAPTION_BUTTON_ICON_MINIMIZE,
+ CAPTION_BUTTON_ICON_MAXIMIZE_RESTORE,
+ CAPTION_BUTTON_ICON_CLOSE,
+ CAPTION_BUTTON_ICON_LEFT_SNAPPED,
+ CAPTION_BUTTON_ICON_RIGHT_SNAPPED,
+};
+
+} // namespace ash
+
+#endif // ASH_WM_CAPTION_BUTTONS_CAPTION_BUTTON_TYPES_H_