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

Side by Side Diff: chrome/browser/defaults.h

Issue 10911222: Chrome OS should open to empty desktop when session restore is empty. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: make switch available on all platforms Created 8 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
« no previous file with comments | « no previous file | chrome/browser/defaults.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 // Defines various defaults whose values varies depending upon the OS. 5 // Defines various defaults whose values varies depending upon the OS.
6 6
7 #ifndef CHROME_BROWSER_DEFAULTS_H_ 7 #ifndef CHROME_BROWSER_DEFAULTS_H_
8 #define CHROME_BROWSER_DEFAULTS_H_ 8 #define CHROME_BROWSER_DEFAULTS_H_
9 9
10 #include "build/build_config.h" 10 #include "build/build_config.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 78
79 // ChromiumOS network menu font 79 // ChromiumOS network menu font
80 extern const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle; 80 extern const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle;
81 81
82 // Preferred infobar border padding in pixels. 82 // Preferred infobar border padding in pixels.
83 extern const int kInfoBarBorderPaddingVertical; 83 extern const int kInfoBarBorderPaddingVertical;
84 84
85 // Last character display for passwords. 85 // Last character display for passwords.
86 extern const bool kPasswordEchoEnabled; 86 extern const bool kPasswordEchoEnabled;
87 87
88 // Changes how browser is initialized when executed in app mode. 88 // Indicates whether session restore should always create a new
89 // If true after app window is opened continue with regular startup path 89 // tabbed browser. This is true every where except on ChromeOS
90 // i.e. session restore, load URLs from cmd line plus focus app window. 90 // where we want the desktop to show through in this situation.
91 extern const bool kAppRestoreSession; 91 extern const bool kAlwaysCreateTabbedBrowserOnSessionRestore;
92 92
93 //============================================================================= 93 //=============================================================================
94 // Runtime "const" - set only once after parsing command line option and should 94 // Runtime "const" - set only once after parsing command line option and should
95 // never be modified after that. 95 // never be modified after that.
96 96
97 // Are bookmark enabled? True by default. 97 // Are bookmark enabled? True by default.
98 extern bool bookmarks_enabled; 98 extern bool bookmarks_enabled;
99 99
100 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS 100 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS
101 // today. 101 // today.
102 extern bool enable_help_app; 102 extern bool enable_help_app;
103 103
104 } // namespace browser_defaults 104 } // namespace browser_defaults
105 105
106 #endif // CHROME_BROWSER_DEFAULTS_H_ 106 #endif // CHROME_BROWSER_DEFAULTS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/defaults.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698