Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

side_tab_strip_controller.mm

// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#import "chrome/browser/cocoa/side_tab_strip_controller.h"

@implementation SideTabStripController

// TODO(pinkerton): Still need to figure out several things:
//   - new tab button placement and layout
//   - animating tabs in and out
//   - being able to drop a tab elsewhere besides the 1st position
//   - how to load a different tab view nib for each tab.

- (id)initWithView:(TabStripView*)view
        switchView:(NSView*)switchView
           browser:(Browser*)browser {
  self = [super initWithView:view switchView:switchView browser:browser];
  if (self) {
    // Side tabs have no indent since they are not sharing space with the
    // window controls.
    [self setIndentForControls:0.0];
    verticalLayout_ = YES;
  }
  return self;
}

@end


Generated by  Doxygen 1.6.0   Back to index