| 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 // 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. |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 DOCKED_ACTION_RESTORE, // Restored a docked window that was minimized. | 35 DOCKED_ACTION_RESTORE, // Restored a docked window that was minimized. |
| 36 DOCKED_ACTION_CLOSE, // Closed a window while it was docked. | 36 DOCKED_ACTION_CLOSE, // Closed a window while it was docked. |
| 37 DOCKED_ACTION_COUNT, // Maximum value of this enum for histograms use. | 37 DOCKED_ACTION_COUNT, // Maximum value of this enum for histograms use. |
| 38 }; | 38 }; |
| 39 | 39 |
| 40 // Event source for the docking user action (when known). | 40 // Event source for the docking user action (when known). |
| 41 enum DockedActionSource { | 41 enum DockedActionSource { |
| 42 DOCKED_ACTION_SOURCE_UNKNOWN, | 42 DOCKED_ACTION_SOURCE_UNKNOWN, |
| 43 DOCKED_ACTION_SOURCE_MOUSE, | 43 DOCKED_ACTION_SOURCE_MOUSE, |
| 44 DOCKED_ACTION_SOURCE_TOUCH, | 44 DOCKED_ACTION_SOURCE_TOUCH, |
| 45 DOCKED_ACTION_SOURCE_KEYBOARD, |
| 45 | 46 |
| 46 // Maximum value of this enum for histograms use. | 47 // Maximum value of this enum for histograms use. |
| 47 DOCKED_ACTION_SOURCE_COUNT, | 48 DOCKED_ACTION_SOURCE_COUNT, |
| 48 }; | 49 }; |
| 49 | 50 |
| 50 } // namespace ash | 51 } // namespace ash |
| 51 | 52 |
| 52 #endif // ASH_WM_DOCK_DOCK_TYPES_H_ | 53 #endif // ASH_WM_DOCK_DOCK_TYPES_H_ |
| OLD | NEW |