diff options
author | chocobo@chromium.org <chocobo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 23:48:12 +0000 |
---|---|---|
committer | chocobo@chromium.org <chocobo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-19 23:48:12 +0000 |
commit | 3c30891915a40bac4cee93a6dc9246cf1e8d9c95 (patch) | |
tree | 32044d3196735a4abf1b5533776868de072c9899 /app/resource_bundle.h | |
parent | ba388887c335ee6e1c7ef1ff065aa550ad1bd9bf (diff) | |
download | chromium_src-3c30891915a40bac4cee93a6dc9246cf1e8d9c95.zip chromium_src-3c30891915a40bac4cee93a6dc9246cf1e8d9c95.tar.gz chromium_src-3c30891915a40bac4cee93a6dc9246cf1e8d9c95.tar.bz2 |
New network menu button UI for ChromeOS.
Added ability to change label font in gtk menu item.
TEST=none
BUG=none
Review URL: http://codereview.chromium.org/650074
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39516 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'app/resource_bundle.h')
-rw-r--r-- | app/resource_bundle.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/app/resource_bundle.h b/app/resource_bundle.h index 2efd932..a76a426 100644 --- a/app/resource_bundle.h +++ b/app/resource_bundle.h @@ -53,10 +53,11 @@ class ResourceBundle { public: // An enumeration of the various font styles used throughout Chrome. // The following holds true for the font sizes: - // Small <= Base <= Medium <= MediumBold <= Large. + // Small <= Base <= Bold <= Medium <= MediumBold <= Large. enum FontStyle { SmallFont, BaseFont, + BoldFont, MediumFont, // NOTE: depending upon the locale, this may *not* result in a bold font. MediumBoldFont, @@ -219,6 +220,7 @@ class ResourceBundle { // The various fonts used. Cached to avoid repeated GDI creation/destruction. scoped_ptr<gfx::Font> base_font_; + scoped_ptr<gfx::Font> bold_font_; scoped_ptr<gfx::Font> small_font_; scoped_ptr<gfx::Font> medium_font_; scoped_ptr<gfx::Font> medium_bold_font_; |