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

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

Issue 25039002: Always aligns text at vertically center (Textfield, Label). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Synced. Created 7 years, 2 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
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_views.h ('k') | ui/gfx/font.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 fc9dc1fa93fb553868c491be97a844c028ba61d0..96a06eb994bc01fce98a2545f755c5deacd33d4d 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_views.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_views.cc
@@ -32,17 +32,16 @@ OmniboxView* CreateOmniboxView(OmniboxEditController* controller,
CommandUpdater* command_updater,
bool popup_window_mode,
LocationBarView* location_bar,
- const gfx::FontList& font_list,
- int font_y_offset) {
+ const gfx::FontList& font_list) {
#if defined(OS_WIN) && !defined(USE_AURA)
if (!views::Textfield::IsViewsTextfieldEnabled()) {
return new OmniboxViewWin(controller, location_bar, command_updater,
- popup_window_mode, font_list, font_y_offset);
+ popup_window_mode, font_list);
}
#endif
OmniboxViewViews* omnibox = new OmniboxViewViews(
controller, profile, command_updater, popup_window_mode, location_bar,
- font_list, font_y_offset);
+ font_list);
omnibox->Init();
return omnibox;
}
« no previous file with comments | « chrome/browser/ui/views/omnibox/omnibox_views.h ('k') | ui/gfx/font.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698