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

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

Issue 7566016: Fullscreen support for Lion. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #import "chrome/browser/ui/cocoa/tabs/side_tab_strip_controller.h" 5 #import "chrome/browser/ui/cocoa/tabs/side_tab_strip_controller.h"
6 6
7 @implementation SideTabStripController 7 @implementation SideTabStripController
8 8
9 // TODO(pinkerton): Still need to figure out several things: 9 // TODO(pinkerton): Still need to figure out several things:
10 // - new tab button placement and layout 10 // - new tab button placement and layout
11 // - animating tabs in and out 11 // - animating tabs in and out
12 // - being able to drop a tab elsewhere besides the 1st position 12 // - being able to drop a tab elsewhere besides the 1st position
13 // - how to load a different tab view nib for each tab. 13 // - how to load a different tab view nib for each tab.
14 14
15 - (id)initWithView:(TabStripView*)view 15 - (id)initWithView:(TabStripView*)view
16 switchView:(NSView*)switchView 16 switchView:(NSView*)switchView
17 browser:(Browser*)browser 17 browser:(Browser*)browser
18 delegate:(id<TabStripControllerDelegate>)delegate { 18 delegate:(id<TabStripControllerDelegate>)delegate {
19 self = [super initWithView:view 19 self = [super initWithView:view
20 switchView:switchView 20 switchView:switchView
21 browser:browser 21 browser:browser
22 delegate:delegate]; 22 delegate:delegate];
23 if (self) { 23 if (self) {
24 // Side tabs have no indent since they are not sharing space with the 24 // Side tabs have no indent since they are not sharing space with the
25 // window controls. 25 // window controls.
26 [self setIndentForControls:0.0]; 26 [self setLeftIndentForControls:0.0];
27 verticalLayout_ = YES; 27 verticalLayout_ = YES;
28 } 28 }
29 return self; 29 return self;
30 } 30 }
31 31
32 @end 32 @end
33 33
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/presentation_mode_prefs.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698