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

Unified Diff: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.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, 7 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/location_bar/selected_keyword_view.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
diff --git a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
index 0a682e84d11360ef8c9f12b830e57ea49de014f9..48cb593dddfbcaa86e7545c79246359e6904bbdd 100644
--- a/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
+++ b/chrome/browser/ui/views/omnibox/omnibox_popup_contents_view.cc
@@ -525,7 +525,8 @@ gfx::Rect OmniboxPopupContentsView::CalculateTargetBounds(int h) {
// The normal location bar is drawn using a background graphic that includes
// the border, so we inset by enough to make the edges line up, and the
// bubble appear at the same height as the Star bubble.
- location_bar_bounds.Inset(LocationBarView::kNormalEdgeThickness, 0);
+ location_bar_bounds.Inset(LocationBarView::kNormalHorizontalEdgeThickness,
+ 0);
}
gfx::Point location_bar_origin(location_bar_bounds.origin());
views::View::ConvertPointToScreen(location_bar_, &location_bar_origin);
« no previous file with comments | « chrome/browser/ui/views/location_bar/selected_keyword_view.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698