Index: chrome/browser/views/frame/opaque_browser_frame_view.cc |
diff --git a/chrome/browser/views/frame/opaque_browser_frame_view.cc b/chrome/browser/views/frame/opaque_browser_frame_view.cc |
index fc6f4de0ad3989c830022c87e04707a333a2288a..16a51fe86040f9ab4f4f0534d3aef4c6e9ef7455 100644 |
--- a/chrome/browser/views/frame/opaque_browser_frame_view.cc |
+++ b/chrome/browser/views/frame/opaque_browser_frame_view.cc |
@@ -95,8 +95,6 @@ const int kNewTabCaptionMaximizedSpacing = 16; |
// How far to indent the tabstrip from the left side of the screen when there |
// is no OTR icon. |
const int kTabStripIndent = 1; |
-// Spacing between extension app icon/title and tab strip. |
-const int kExtensionAppTabStripLeftSpacing = 10; |
// Padding between the caption and start of vertical tabs. |
const int kVerticalTabPadding = 6; |
// Inset from the top of the toolbar/tabstrip to the shadow. Used only for |
@@ -218,16 +216,6 @@ gfx::Rect OpaqueBrowserFrameView::GetBoundsForTabStrip( |
int tabstrip_width = minimize_button_->x() - tabstrip_x - |
(frame_->GetWindow()->IsMaximized() ? |
kNewTabCaptionMaximizedSpacing : kNewTabCaptionRestoredSpacing); |
- |
- if (browser_view_->browser()->type() == Browser::TYPE_EXTENSION_APP) { |
- int tabstrip_offset = browser_view_->extension_app_title()->x() + |
- browser_view_->extension_app_title()->width() + |
- kExtensionAppTabStripLeftSpacing; |
- |
- tabstrip_x += tabstrip_offset; |
- tabstrip_width -= tabstrip_offset; |
- } |
- |
return gfx::Rect(tabstrip_x, tabstrip_y, |
std::max(0, tabstrip_width), |
tabstrip->GetPreferredHeight()); |