Chromium Code Reviews

Unified Diff: chrome/browser/autocomplete/autocomplete_popup_view_win.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
Index: chrome/browser/autocomplete/autocomplete_popup_view_win.h
===================================================================
--- chrome/browser/autocomplete/autocomplete_popup_view_win.h (revision 16106)
+++ chrome/browser/autocomplete/autocomplete_popup_view_win.h (working copy)
@@ -48,7 +48,7 @@
MSG_WM_PAINT(OnPaint)
END_MSG_MAP()
- AutocompletePopupViewWin(const ChromeFont& font,
+ AutocompletePopupViewWin(const gfx::Font& font,
AutocompleteEditViewWin* edit_view,
AutocompleteEditModel* edit_model,
Profile* profile);
@@ -82,7 +82,7 @@
MAX_STATUS_ENTRIES
};
- explicit DrawLineInfo(const ChromeFont& font);
+ explicit DrawLineInfo(const gfx::Font& font);
~DrawLineInfo();
static COLORREF AlphaBlend(COLORREF foreground,
@@ -91,8 +91,8 @@
static const wchar_t ellipsis_str[];
- ChromeFont regular_font; // Fonts used for rendering AutocompleteMatches.
- ChromeFont bold_font;
+ gfx::Font regular_font; // Fonts used for rendering AutocompleteMatches.
+ gfx::Font bold_font;
int font_height; // Height (in pixels) of a line of text w/o
// padding.
int line_height; // Height (in pixels) of a line of text w/padding.
« no previous file with comments | « chrome/browser/autocomplete/autocomplete_popup_view_gtk.cc ('k') | chrome/browser/autocomplete/autocomplete_popup_view_win.cc » ('j') | no next file with comments »

Powered by Google App Engine