OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ASH_WM_DOCK_DOCK_TYPES_H_ | 5 #ifndef ASH_WM_DOCK_DOCK_TYPES_H_ |
6 #define ASH_WM_DOCK_DOCK_TYPES_H_ | 6 #define ASH_WM_DOCK_DOCK_TYPES_H_ |
7 | 7 |
8 namespace ash { | 8 namespace ash { |
9 | 9 |
10 namespace internal { | |
11 | |
12 // Possible values of which side of the screen the windows are docked at. | 10 // Possible values of which side of the screen the windows are docked at. |
13 // This is used by DockedwindowLayoutManager and DockedWindowResizer to | 11 // This is used by DockedwindowLayoutManager and DockedWindowResizer to |
14 // implement docking behavior including magnetism while dragging windows into | 12 // implement docking behavior including magnetism while dragging windows into |
15 // or out of the docked windows area. | 13 // or out of the docked windows area. |
16 enum DockedAlignment { | 14 enum DockedAlignment { |
17 // No docked windows. | 15 // No docked windows. |
18 DOCKED_ALIGNMENT_NONE, | 16 DOCKED_ALIGNMENT_NONE, |
19 | 17 |
20 // Some windows are already docked on the left side of the screen. | 18 // Some windows are already docked on the left side of the screen. |
21 DOCKED_ALIGNMENT_LEFT, | 19 DOCKED_ALIGNMENT_LEFT, |
(...skipping 20 matching lines...) Expand all Loading... |
42 // Event source for the docking user action (when known). | 40 // Event source for the docking user action (when known). |
43 enum DockedActionSource { | 41 enum DockedActionSource { |
44 DOCKED_ACTION_SOURCE_UNKNOWN, | 42 DOCKED_ACTION_SOURCE_UNKNOWN, |
45 DOCKED_ACTION_SOURCE_MOUSE, | 43 DOCKED_ACTION_SOURCE_MOUSE, |
46 DOCKED_ACTION_SOURCE_TOUCH, | 44 DOCKED_ACTION_SOURCE_TOUCH, |
47 | 45 |
48 // Maximum value of this enum for histograms use. | 46 // Maximum value of this enum for histograms use. |
49 DOCKED_ACTION_SOURCE_COUNT, | 47 DOCKED_ACTION_SOURCE_COUNT, |
50 }; | 48 }; |
51 | 49 |
52 } // namespace internal | |
53 } // namespace ash | 50 } // namespace ash |
54 | 51 |
55 #endif // ASH_WM_DOCK_DOCK_TYPES_H_ | 52 #endif // ASH_WM_DOCK_DOCK_TYPES_H_ |
OLD | NEW |