Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(416)

Side by Side Diff: ui/base/ui_base_types.h

Issue 7748036: Restoring a session should restore window minimization state on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 9 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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_
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/menu_model_adapter_test.cc ('k') | views/desktop/desktop_views_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698