| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 |
| 11 #include "build/build_config.h" | 11 #include "build/build_config.h" |
| 12 #include "chrome/browser/prefs/session_startup_pref.h" | 12 #include "chrome/browser/prefs/session_startup_pref.h" |
| 13 #include "ui/base/resource/resource_bundle.h" |
| 13 | 14 |
| 14 namespace browser_defaults { | 15 namespace browser_defaults { |
| 15 | 16 |
| 16 #if defined(USE_X11) | 17 #if defined(USE_X11) |
| 17 | 18 |
| 18 // Size of the font used in the autocomplete box for normal windows, in pixels. | 19 // Size of the font used in the autocomplete box for normal windows, in pixels. |
| 19 extern const int kAutocompleteEditFontPixelSize; | 20 extern const int kAutocompleteEditFontPixelSize; |
| 20 | 21 |
| 21 // Size of the font used in the autocomplete box for popup windows, in pixels. | 22 // Size of the font used in the autocomplete box for popup windows, in pixels. |
| 22 extern const int kAutocompleteEditFontPixelSizeInPopup; | 23 extern const int kAutocompleteEditFontPixelSizeInPopup; |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 | 81 |
| 81 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS | 82 // Whether HelpApp is enabled. True by default. This is only used by Chrome OS |
| 82 // today. | 83 // today. |
| 83 extern bool enable_help_app; | 84 extern bool enable_help_app; |
| 84 | 85 |
| 85 // Preferred height of the bookmarks bar when shown on every page and | 86 // Preferred height of the bookmarks bar when shown on every page and |
| 86 // when shown only on the new tab page. | 87 // when shown only on the new tab page. |
| 87 extern const int kBookmarkBarHeight; | 88 extern const int kBookmarkBarHeight; |
| 88 extern const int kNewtabBookmarkBarHeight; | 89 extern const int kNewtabBookmarkBarHeight; |
| 89 | 90 |
| 91 // ChromiumOS network menu font |
| 92 extern const ui::ResourceBundle::FontStyle kAssociatedNetworkFontStyle; |
| 93 |
| 90 } // namespace browser_defaults | 94 } // namespace browser_defaults |
| 91 | 95 |
| 92 #endif // CHROME_BROWSER_DEFAULTS_H_ | 96 #endif // CHROME_BROWSER_DEFAULTS_H_ |
| OLD | NEW |