| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_COMMON_WM_WORKSPACE_WORKSPACE_TYPES_H_ | 5 #ifndef ASH_WM_WORKSPACE_WORKSPACE_TYPES_H_ |
| 6 #define ASH_COMMON_WM_WORKSPACE_WORKSPACE_TYPES_H_ | 6 #define ASH_WM_WORKSPACE_WORKSPACE_TYPES_H_ |
| 7 | 7 |
| 8 namespace ash { | 8 namespace ash { |
| 9 namespace wm { | 9 namespace wm { |
| 10 | 10 |
| 11 // Enumeration of the possible window states. | 11 // Enumeration of the possible window states. |
| 12 enum WorkspaceWindowState { | 12 enum WorkspaceWindowState { |
| 13 // There's a full screen window. | 13 // There's a full screen window. |
| 14 WORKSPACE_WINDOW_STATE_FULL_SCREEN, | 14 WORKSPACE_WINDOW_STATE_FULL_SCREEN, |
| 15 | 15 |
| 16 // There's a maximized window. | 16 // There's a maximized window. |
| 17 WORKSPACE_WINDOW_STATE_MAXIMIZED, | 17 WORKSPACE_WINDOW_STATE_MAXIMIZED, |
| 18 | 18 |
| 19 // At least one window overlaps the shelf. | 19 // At least one window overlaps the shelf. |
| 20 WORKSPACE_WINDOW_STATE_WINDOW_OVERLAPS_SHELF, | 20 WORKSPACE_WINDOW_STATE_WINDOW_OVERLAPS_SHELF, |
| 21 | 21 |
| 22 // None of the windows are fullscreen, maximized or touch the shelf. | 22 // None of the windows are fullscreen, maximized or touch the shelf. |
| 23 WORKSPACE_WINDOW_STATE_DEFAULT, | 23 WORKSPACE_WINDOW_STATE_DEFAULT, |
| 24 }; | 24 }; |
| 25 | 25 |
| 26 } // namespace wm | 26 } // namespace wm |
| 27 } // namespace ash | 27 } // namespace ash |
| 28 | 28 |
| 29 #endif // ASH_COMMON_WM_WORKSPACE_WORKSPACE_TYPES_H_ | 29 #endif // ASH_WM_WORKSPACE_WORKSPACE_TYPES_H_ |
| OLD | NEW |