summaryrefslogtreecommitdiffstats
path: root/chromium/ash/wm/workspace/snap_types.h
blob: 482a7dd583bed68d88ecfa235f92ce13ae0fa6c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// 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_SNAP_TYPES_H_
#define ASH_WM_WORKSPACE_SNAP_TYPES_H_

namespace ash {

// These are the window snap types which can be used for window resizing.
// Their main use case is the class FrameMaximizeButton.
enum SnapType {
  SNAP_LEFT,
  SNAP_RIGHT,
  SNAP_MAXIMIZE,
  SNAP_MINIMIZE,
  SNAP_RESTORE,
  SNAP_NONE
};

}  // namespace ash

#endif  // ASH_WM_WORKSPACE_SNAP_TYPES_H_