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

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

Issue 7790010: Revert 98679 - Restoring a session should restore window minimization state on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: 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_INACTIVE = 4, // Views only, not persisted. 19 SHOW_STATE_MAX = 4
20 SHOW_STATE_MAX = 5
21 }; 20 };
22 21
23 } // namespace ui 22 } // namespace ui
24 23
25 #endif // UI_BASE_UI_BASE_TYPES_H_ 24 #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