| 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 | 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 Loading... |
| 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_ |
| OLD | NEW |