blob: 0f593295d141e6cc9539b90742b8e974e5442f35 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
// 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
|