Index: chrome/browser/views/frame/browser_view_layout.cc |
=================================================================== |
--- chrome/browser/views/frame/browser_view_layout.cc (revision 41630) |
+++ chrome/browser/views/frame/browser_view_layout.cc (working copy) |
@@ -285,7 +285,7 @@ |
gfx::Rect layout_bounds = |
browser_view_->frame()->GetBoundsForTabStrip(tabstrip_); |
- if (browser_view_->UsingSideTabs()) { |
+ if (browser_view_->UseVerticalTabs()) { |
vertical_layout_rect_.Inset( |
layout_bounds.right() - kBrowserViewTabStripHorizontalOverlap, 0, 0, 0); |
} else { |
@@ -301,7 +301,7 @@ |
layout_bounds.set_origin(tabstrip_origin); |
tabstrip_->SetVisible(true); |
tabstrip_->SetBounds(layout_bounds); |
- return browser_view_->UsingSideTabs() ? 0 : layout_bounds.bottom(); |
+ return browser_view_->UseVerticalTabs() ? 0 : layout_bounds.bottom(); |
} |
int BrowserViewLayout::LayoutToolbar(int top) { |
@@ -309,7 +309,7 @@ |
bool visible = browser_view_->IsToolbarVisible(); |
toolbar_->location_bar()->SetFocusable(visible); |
int y = 0; |
- if (!browser_view_->UsingSideTabs()) { |
+ if (!browser_view_->UseVerticalTabs()) { |
y = top - |
((visible && browser_view_->IsTabStripVisible()) |
? kToolbarTabStripVerticalOverlap : 0); |