• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright (c) 2012 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_WORKSPACE_SNAP_TYPES_H_
6 #define ASH_WM_WORKSPACE_SNAP_TYPES_H_
7 
8 namespace ash {
9 
10 // These are the window snap types which can be used for window resizing.
11 // Their main use case is the class FrameMaximizeButton.
12 enum SnapType {
13   SNAP_LEFT,
14   SNAP_RIGHT,
15   SNAP_MAXIMIZE,
16   SNAP_MINIMIZE,
17   SNAP_RESTORE,
18   SNAP_NONE
19 };
20 
21 }  // namespace ash
22 
23 #endif  // ASH_WM_WORKSPACE_SNAP_TYPES_H_
24