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

Unified Diff: chrome/browser/ui/gtk/location_bar_view_gtk.cc

Issue 16254009: Revert "Increase omnibox size by 2 px. Increase nominal font size in omnibox to 16 px." (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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/defaults.cc ('k') | chrome/browser/ui/views/location_bar/content_setting_image_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/gtk/location_bar_view_gtk.cc
diff --git a/chrome/browser/ui/gtk/location_bar_view_gtk.cc b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
index bafd3659ab745cd0b5def2e2ac9e4a232a9f924f..c9ec365b3d2e062ad5c9500e8f5584ce06581667 100644
--- a/chrome/browser/ui/gtk/location_bar_view_gtk.cc
+++ b/chrome/browser/ui/gtk/location_bar_view_gtk.cc
@@ -1107,25 +1107,12 @@ gboolean LocationBarViewGtk::HandleExpose(GtkWidget* widget,
// of the background.
if (!GtkThemeService::GetFrom(browser_->profile())->UsingNativeTheme()) {
if (popup_window_mode_) {
- NineBox(IDR_OMNIBOX_POPUP_BORDER_TOP_LEFT,
- IDR_OMNIBOX_POPUP_BORDER_TOP,
- IDR_OMNIBOX_POPUP_BORDER_TOP_RIGHT,
- IDR_OMNIBOX_POPUP_BORDER_LEFT,
- IDR_OMNIBOX_POPUP_BORDER_MIDDLE,
- IDR_OMNIBOX_POPUP_BORDER_RIGHT,
- IDR_OMNIBOX_POPUP_BORDER_BOTTOM_LEFT,
- IDR_OMNIBOX_POPUP_BORDER_BOTTOM,
- IDR_OMNIBOX_POPUP_BORDER_BOTTOM_RIGHT).RenderToWidget(widget);
+ NineBox(IDR_OMNIBOX_POPUP_BORDER_EDGE,
+ IDR_OMNIBOX_POPUP_BORDER_CENTER,
+ IDR_OMNIBOX_POPUP_BORDER_EDGE,
+ 0, 0, 0, 0, 0, 0).RenderToWidget(widget);
} else {
- NineBox(IDR_OMNIBOX_BORDER_TOP_LEFT,
- IDR_OMNIBOX_BORDER_TOP,
- IDR_OMNIBOX_BORDER_TOP_RIGHT,
- IDR_OMNIBOX_BORDER_LEFT,
- IDR_OMNIBOX_BORDER_MIDDLE,
- IDR_OMNIBOX_BORDER_RIGHT,
- IDR_OMNIBOX_BORDER_BOTTOM_LEFT,
- IDR_OMNIBOX_BORDER_BOTTOM,
- IDR_OMNIBOX_BORDER_BOTTOM_RIGHT).RenderToWidget(widget);
+ NineBox(IDR_OMNIBOX_BORDER, 5, 5, 4, 4).RenderToWidget(widget);
}
}
« no previous file with comments | « chrome/browser/defaults.cc ('k') | chrome/browser/ui/views/location_bar/content_setting_image_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698