OLD | NEW |
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 #pragma once | 9 #pragma once |
10 | 10 |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
79 | 79 |
80 // ChromiumOS network menu font | 80 // ChromiumOS network menu font |
81 extern const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle; | 81 extern const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle; |
82 | 82 |
83 // Preferred infobar border padding in pixels. | 83 // Preferred infobar border padding in pixels. |
84 extern const int kInfoBarBorderPaddingVertical; | 84 extern const int kInfoBarBorderPaddingVertical; |
85 | 85 |
86 // Last character display for passwords. | 86 // Last character display for passwords. |
87 extern const bool kPasswordEchoEnabled; | 87 extern const bool kPasswordEchoEnabled; |
88 | 88 |
| 89 // Changes how browser is initialized when executed in app mode. |
| 90 // If true after app window is opened continue with regular startup path |
| 91 // i.e. session restore, load URLs from cmd line plus focus app window. |
| 92 extern const bool kAppRestoreSession; |
| 93 |
89 //============================================================================= | 94 //============================================================================= |
90 // Runtime "const" - set only once after parsing command line option and should | 95 // Runtime "const" - set only once after parsing command line option and should |
91 // never be modified after that. | 96 // never be modified after that. |
92 | 97 |
93 // Are bookmark enabled? True by default. | 98 // Are bookmark enabled? True by default. |
94 extern bool bookmarks_enabled; | 99 extern bool bookmarks_enabled; |
95 | 100 |
96 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS | 101 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS |
97 // today. | 102 // today. |
98 extern bool enable_help_app; | 103 extern bool enable_help_app; |
99 | 104 |
100 } // namespace browser_defaults | 105 } // namespace browser_defaults |
101 | 106 |
102 #endif // CHROME_BROWSER_DEFAULTS_H_ | 107 #endif // CHROME_BROWSER_DEFAULTS_H_ |
OLD | NEW |