Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1284)

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_views.cc

Issue 19666006: Supports FontList in Textfield. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removes ResourceBundle::Delegate::GetFontList. Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/views/omnibox/omnibox_views.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_views.cc b/chrome/browser/ui/views/omnibox/omnibox_views.cc
index 5d2f4bb2af78a36d33ff423f41381b6b169d5f77..14bec61d50ee793b3ba538ce2e367caa4cf3fbd0 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_views.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_views.cc
@@ -33,18 +33,18 @@ OmniboxView* CreateOmniboxView(OmniboxEditController* controller,
CommandUpdater* command_updater,
bool popup_window_mode,
LocationBarView* location_bar,
- const gfx::Font& font,
+ const gfx::FontList& font_list,
int font_y_offset) {
#if defined(OS_WIN) && !defined(USE_AURA)
if (!views::Textfield::IsViewsTextfieldEnabled()) {
return new OmniboxViewWin(
controller, toolbar_model, location_bar, command_updater,
- popup_window_mode, font, font_y_offset);
+ popup_window_mode, font_list, font_y_offset);
}
#endif
OmniboxViewViews* omnibox = new OmniboxViewViews(
controller, toolbar_model, profile, command_updater, popup_window_mode,
- location_bar, font, font_y_offset);
+ location_bar, font_list, font_y_offset);
omnibox->Init();
return omnibox;
}

Powered by Google App Engine
This is Rietveld 408576698