summaryrefslogtreecommitdiffstats
path: root/chrome/browser/views/frame
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/views/frame')
-rw-r--r--chrome/browser/views/frame/aero_glass_non_client_view.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/views/frame/aero_glass_non_client_view.cc b/chrome/browser/views/frame/aero_glass_non_client_view.cc
index 6657355..2a036cb 100644
--- a/chrome/browser/views/frame/aero_glass_non_client_view.cc
+++ b/chrome/browser/views/frame/aero_glass_non_client_view.cc
@@ -146,7 +146,8 @@ gfx::Rect AeroGlassNonClientView::GetBoundsForTabStrip(TabStrip* tabstrip) {
tabstrip_width -= (tabstrip_width - titlebar_info.rgrect[2].left);
}
int tabstrip_height = tabstrip->GetPreferredHeight();
- return gfx::Rect(0, kTabStripY, tabstrip_width, tabstrip_height);
+ int tabstrip_y = frame_->IsMaximized() ? 0 : kTabStripY;
+ return gfx::Rect(0, tabstrip_y, tabstrip_width, tabstrip_height);
}
///////////////////////////////////////////////////////////////////////////////