Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(529)

Side by Side Diff: chrome/browser/ui/cocoa/side_tab_strip_controller.mm

Issue 6362007: [Mac] Organize all tab/tab strip files into chrome/browser/ui/cocoa/tabs/.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
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/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
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/side_tab_strip_controller.h ('k') | chrome/browser/ui/cocoa/side_tab_strip_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698