| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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" |
| 11 #include "chrome/browser/session_startup_pref.h" | 11 #include "chrome/browser/session_startup_pref.h" |
| 12 | 12 |
| 13 namespace browser_defaults { | 13 namespace browser_defaults { |
| 14 | 14 |
| 15 #if defined(OS_LINUX) | 15 #if defined(OS_LINUX) || defined(OS_FREEBSD) |
| 16 | 16 |
| 17 // Size of the font in pixels used in the autocomplete box for normal windows. | 17 // Size of the font in pixels used in the autocomplete box for normal windows. |
| 18 extern const double kAutocompleteEditFontPixelSize; | 18 extern const double kAutocompleteEditFontPixelSize; |
| 19 | 19 |
| 20 // Size of the font in pixels used in the autocomplete box for popup windows. | 20 // Size of the font in pixels used in the autocomplete box for popup windows. |
| 21 extern const double kAutocompleteEditFontPixelSizeInPopup; | 21 extern const double kAutocompleteEditFontPixelSizeInPopup; |
| 22 | 22 |
| 23 // Size of the font used in the autocomplete popup. | 23 // Size of the font used in the autocomplete popup. |
| 24 extern const int kAutocompletePopupFontSize; | 24 extern const int kAutocompletePopupFontSize; |
| 25 | 25 |
| 26 #endif | 26 #endif |
| 27 | 27 |
| 28 // The default value for session startup. | 28 // The default value for session startup. |
| 29 extern const SessionStartupPref::Type kDefaultSessionStartupType; | 29 extern const SessionStartupPref::Type kDefaultSessionStartupType; |
| 30 | 30 |
| 31 // On launching Chrome should we show the crash info bar if Chrome crashed? | 31 // On launching Chrome should we show the crash info bar if Chrome crashed? |
| 32 extern const bool kSuppressCrashInfoBar; | 32 extern const bool kSuppressCrashInfoBar; |
| 33 | 33 |
| 34 // Should we restore the last session if the user opted to restore the last | 34 // Should we restore the last session if the user opted to restore the last |
| 35 // session on startup and Chrome crashed? | 35 // session on startup and Chrome crashed? |
| 36 // TODO(sky): this should be removed once Chrome OS cleanly shuts down Chrome. | 36 // TODO(sky): this should be removed once Chrome OS cleanly shuts down Chrome. |
| 37 extern const bool kRestoreAfterCrash; | 37 extern const bool kRestoreAfterCrash; |
| 38 | 38 |
| 39 } // namespace browser_defaults | 39 } // namespace browser_defaults |
| 40 | 40 |
| 41 #endif // CHROME_BROWSER_DEFAULTS_H_ | 41 #endif // CHROME_BROWSER_DEFAULTS_H_ |
| OLD | NEW |