OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 UI_BASE_UI_BASE_TYPES_H_ | 5 #ifndef UI_BASE_UI_BASE_TYPES_H_ |
6 #define UI_BASE_UI_BASE_TYPES_H_ | 6 #define UI_BASE_UI_BASE_TYPES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 namespace ui { | 9 namespace ui { |
10 | 10 |
11 // Window "show" state. These values are written to disk so should not be | 11 // Window "show" state. These values are written to disk so should not be |
12 // changed. | 12 // changed. |
13 enum WindowShowState { | 13 enum WindowShowState { |
14 // A default un-set state. | 14 // A default un-set state. |
15 SHOW_STATE_DEFAULT = 0, | 15 SHOW_STATE_DEFAULT = 0, |
16 SHOW_STATE_NORMAL = 1, | 16 SHOW_STATE_NORMAL = 1, |
17 SHOW_STATE_MINIMIZED = 2, | 17 SHOW_STATE_MINIMIZED = 2, |
18 SHOW_STATE_MAXIMIZED = 3, | 18 SHOW_STATE_MAXIMIZED = 3, |
19 SHOW_STATE_MAX = 4 | 19 SHOW_STATE_INACTIVE = 4, // Views only, not persisted. |
| 20 SHOW_STATE_MAX = 5 |
20 }; | 21 }; |
21 | 22 |
22 } // namespace ui | 23 } // namespace ui |
23 | 24 |
24 #endif // UI_BASE_UI_BASE_TYPES_H_ | 25 #endif // UI_BASE_UI_BASE_TYPES_H_ |
OLD | NEW |