diff options
author | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 02:16:10 +0000 |
---|---|---|
committer | beng@google.com <beng@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-05-15 02:16:10 +0000 |
commit | 7322c44018c4e7b8bd58c67f52986660fb365d76 (patch) | |
tree | 4bb67ec23689e83682a5aa228e3b8c402880baa8 /views/controls/button/native_button.h | |
parent | 0c875075a6c45e9979b8345e5f5f9d4b747e05c3 (diff) | |
download | chromium_src-7322c44018c4e7b8bd58c67f52986660fb365d76.zip chromium_src-7322c44018c4e7b8bd58c67f52986660fb365d76.tar.gz chromium_src-7322c44018c4e7b8bd58c67f52986660fb365d76.tar.bz2 |
ChromeFont->gfx::Font
Does not rename the files yet.
http://crbug.com/11387
Review URL: http://codereview.chromium.org/113441
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@16141 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/controls/button/native_button.h')
-rw-r--r-- | views/controls/button/native_button.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/views/controls/button/native_button.h b/views/controls/button/native_button.h index 52946d7..8b3fbcf 100644 --- a/views/controls/button/native_button.h +++ b/views/controls/button/native_button.h @@ -9,7 +9,9 @@ #include "views/controls/button/button.h" #include "views/controls/button/native_button_wrapper.h" -class ChromeFont; +namespace gfx { +class Font; +} namespace views { @@ -27,8 +29,8 @@ class NativeButton : public Button { std::wstring label() const { return label_; } // Sets the font to be used when displaying the button's label. - void set_font(const ChromeFont& font) { font_ = font; } - const ChromeFont& font() const { return font_; } + void set_font(const gfx::Font& font) { font_ = font; } + const gfx::Font& font() const { return font_; } // Sets/Gets whether or not the button appears and behaves as the default // button in its current context. @@ -80,7 +82,7 @@ class NativeButton : public Button { bool is_default_; // The font used to render the button label. - ChromeFont font_; + gfx::Font font_; // True if the button should ignore the minimum size for the platform. Default // is false. Set to true to create narrower buttons. |