Home | History | Annotate | Download | only in tabs
      1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
      2 // Use of this source code is governed by a BSD-style license that can be
      3 // found in the LICENSE file.
      4 
      5 #import "chrome/browser/ui/cocoa/tabs/side_tab_strip_controller.h"
      6 
      7 @implementation SideTabStripController
      8 
      9 // TODO(pinkerton): Still need to figure out several things:
     10 //   - new tab button placement and layout
     11 //   - animating tabs in and out
     12 //   - being able to drop a tab elsewhere besides the 1st position
     13 //   - how to load a different tab view nib for each tab.
     14 
     15 - (id)initWithView:(TabStripView*)view
     16         switchView:(NSView*)switchView
     17            browser:(Browser*)browser
     18           delegate:(id<TabStripControllerDelegate>)delegate {
     19   self = [super initWithView:view
     20                   switchView:switchView
     21                      browser:browser
     22                     delegate:delegate];
     23   if (self) {
     24     // Side tabs have no indent since they are not sharing space with the
     25     // window controls.
     26     [self setIndentForControls:0.0];
     27     verticalLayout_ = YES;
     28   }
     29   return self;
     30 }
     31 
     32 @end
     33 
     34