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

Unified Diff: ui/base/ui_base_types.h

Issue 7621061: Restoring a session should restore window minimization state (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressing Mark's comments. Created 9 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/base/test_browser_window.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ui_base_types.h
diff --git a/ui/base/ui_base_types.h b/ui/base/ui_base_types.h
new file mode 100644
index 0000000000000000000000000000000000000000..6a20bb51872ec0d7f9d2a6b36a2b6d358616857b
--- /dev/null
+++ b/ui/base/ui_base_types.h
@@ -0,0 +1,24 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef UI_BASE_UI_BASE_TYPES_H_
+#define UI_BASE_UI_BASE_TYPES_H_
+#pragma once
+
+namespace ui {
+
+// Window "show" state. These values are written to disk so should not be
+// changed.
+enum WindowShowState {
+ // A default un-set state.
+ SHOW_STATE_DEFAULT = 0,
+ SHOW_STATE_NORMAL = 1,
+ SHOW_STATE_MINIMIZED = 2,
+ SHOW_STATE_MAXIMIZED = 3,
+ SHOW_STATE_MAX = 4
+};
+
+} // namespace ui
+
+#endif // UI_BASE_UI_BASE_TYPES_H_
« no previous file with comments | « chrome/test/base/test_browser_window.cc ('k') | ui/ui.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698