• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef ASH_WM_CAPTION_BUTTONS_CAPTION_BUTTON_TYPES_H_
6 #define ASH_WM_CAPTION_BUTTONS_CAPTION_BUTTON_TYPES_H_
7 
8 namespace ash {
9 
10 // These are the types of maximization we know.
11 enum MaximizeBubbleFrameState {
12   FRAME_STATE_NONE = 0,
13   FRAME_STATE_FULL = 1,  // This is the full maximized state.
14   FRAME_STATE_SNAP_LEFT = 2,
15   FRAME_STATE_SNAP_RIGHT = 3
16 };
17 
18 // These are the icon types that a caption button can have. The size button's
19 // action (SnapType) can be different from its icon.
20 enum CaptionButtonIcon {
21   CAPTION_BUTTON_ICON_MINIMIZE,
22   CAPTION_BUTTON_ICON_MAXIMIZE_RESTORE,
23   CAPTION_BUTTON_ICON_CLOSE,
24   CAPTION_BUTTON_ICON_LEFT_SNAPPED,
25   CAPTION_BUTTON_ICON_RIGHT_SNAPPED,
26 };
27 
28 } // namespace ash
29 
30 #endif  // ASH_WM_CAPTION_BUTTONS_CAPTION_BUTTON_TYPES_H_
31