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