Windows should animate when they are about to get docked at screen edges.
[chromium-blink-merge.git] / ash / wm / dock / dock_types.h
blob1cf31848d5a0979ae5e959b4bb11cf8b523f018c
1 // Copyright (c) 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.
5 #ifndef ASH_WM_DOCK_DOCK_TYPES_H_
6 #define ASH_WM_DOCK_DOCK_TYPES_H_
8 namespace ash {
10 namespace internal {
12 // Possible values of which side of the screen the windows are docked at.
13 // This is used by DockedwindowLayoutManager and DockedWindowResizer to
14 // implement docking behavior including magnetism while dragging windows into
15 // or out of the docked windows area.
16 enum DockedAlignment {
17 // No docked windows.
18 DOCKED_ALIGNMENT_NONE,
20 // Some windows are already docked on the left side of the screen.
21 DOCKED_ALIGNMENT_LEFT,
23 // Some windows are already docked on the right side of the screen.
24 DOCKED_ALIGNMENT_RIGHT,
27 } // namespace internal
28 } // namespace ash
30 #endif // ASH_WM_DOCK_DOCK_TYPES_H_