Chromium Code Reviews

Unified Diff: views/controls/text_field.h

Issue 113441: ChromeFont->gfx::Font... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/trunk/src/
Patch Set: Created 11 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « views/controls/menu/menu_win.cc ('k') | views/controls/text_field.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/controls/text_field.h
===================================================================
--- views/controls/text_field.h (revision 16106)
+++ views/controls/text_field.h (working copy)
@@ -121,10 +121,10 @@
void SetDefaultBackgroundColor();
// Set the font.
- void SetFont(const ChromeFont& font);
+ void SetFont(const gfx::Font& font);
// Return the font used by this TextField.
- ChromeFont GetFont() const;
+ gfx::Font GetFont() const;
// Sets the left and right margin (in pixels) within the text box. On Windows
// this is accomplished by packing the left and right margin into a single
@@ -173,7 +173,7 @@
StyleFlags style_;
- ChromeFont font_;
+ gfx::Font font_;
// NOTE: this is temporary until we rewrite TextField to always work whether
// there is an HWND or not.
« no previous file with comments | « views/controls/menu/menu_win.cc ('k') | views/controls/text_field.cc » ('j') | no next file with comments »

Powered by Google App Engine