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

Unified Diff: chrome/browser/views/app_launcher.cc

Issue 3067011: Location bar layout changes for M6 theme. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « no previous file | chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/app_launcher.cc
===================================================================
--- chrome/browser/views/app_launcher.cc (revision 53894)
+++ chrome/browser/views/app_launcher.cc (working copy)
@@ -222,10 +222,10 @@
return;
gfx::Rect bounds = GetLocalBounds(false);
- // The browser's location bar use a vertical padding that we need to take into
+ // The browser's location bar uses vertical padding that we need to take into
// account to match its height.
- int location_bar_height =
- location_bar_->GetPreferredSize().height() - LocationBarView::kVertMargin;
+ int location_bar_height = location_bar_->GetPreferredSize().height() -
+ LocationBarView::kVerticalEdgeThickness;
location_bar_->SetBounds(bounds.x(), bounds.y(), bounds.width(),
location_bar_height);
int render_y = location_bar_->bounds().bottom() + kNavigationBarBottomPadding;
« no previous file with comments | « no previous file | chrome/browser/views/autocomplete/autocomplete_popup_contents_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698