summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/app_launcher.cc
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 22:40:50 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-28 22:40:50 +0000
commitf59ce13e57ef6a6d961956b59202d9a84cba4af4 (patch)
treeb541db72e4445a350259cadbe60b36f881166c25 /chrome/browser/views/app_launcher.cc
parent73caab089872c1a06a4762a4d23b92f4b11c5c88 (diff)
downloadchromium_src-f59ce13e57ef6a6d961956b59202d9a84cba4af4.zip
chromium_src-f59ce13e57ef6a6d961956b59202d9a84cba4af4.tar.gz
chromium_src-f59ce13e57ef6a6d961956b59202d9a84cba4af4.tar.bz2
Location bar layout changes for M6 theme.
BUG=50107 TEST=none Review URL: http://codereview.chromium.org/3067011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54048 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/views/app_launcher.cc')
-rw-r--r--chrome/browser/views/app_launcher.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/views/app_launcher.cc b/chrome/browser/views/app_launcher.cc
index 65f2eda..beddd9f 100644
--- a/chrome/browser/views/app_launcher.cc
+++ b/chrome/browser/views/app_launcher.cc
@@ -222,10 +222,10 @@ void InfoBubbleContentsView::Layout() {
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;