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

Unified Diff: chrome/browser/cocoa/tab_controller.h

Issue 1119005: [Mac] Re-enable pinned tabs; add support for mini-tabs and phantom tabs. (Closed)
Patch Set: Nits Created 10 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.mm ('k') | chrome/browser/cocoa/tab_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/tab_controller.h
diff --git a/chrome/browser/cocoa/tab_controller.h b/chrome/browser/cocoa/tab_controller.h
index 06d58c87ce252df496dd229fae8e8848cd2236c8..e5455ac56a21943d2768b18568fba7f2a12b4e5e 100644
--- a/chrome/browser/cocoa/tab_controller.h
+++ b/chrome/browser/cocoa/tab_controller.h
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// 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.
@@ -44,7 +44,8 @@ class MenuDelegate;
NSRect originalIconFrame_; // frame of iconView_ as loaded from nib
BOOL isIconShowing_; // last state of iconView_ in updateVisibility
BOOL selected_;
- BOOL pinned_;
+ BOOL mini_;
+ BOOL phantom_;
TabLoadingState loadingState_;
CGFloat iconTitleXOffset_; // between left edges of icon and title
CGFloat titleCloseWidthOffset_; // between right edges of icon and close btn.
@@ -58,7 +59,8 @@ class MenuDelegate;
@property(assign, nonatomic) TabLoadingState loadingState;
@property(assign, nonatomic) BOOL selected;
-@property(assign, nonatomic) BOOL pinned;
+@property(assign, nonatomic) BOOL mini;
+@property(assign, nonatomic) BOOL phantom;
@property(assign, nonatomic) id target;
@property(assign, nonatomic) SEL action;
@@ -68,7 +70,7 @@ class MenuDelegate;
+ (CGFloat)minTabWidth;
+ (CGFloat)maxTabWidth;
+ (CGFloat)minSelectedTabWidth;
-+ (CGFloat)pinnedTabWidth;
++ (CGFloat)miniTabWidth;
// The view associated with this controller, pre-casted as a TabView
- (TabView*)tabView;
« no previous file with comments | « chrome/browser/cocoa/browser_window_controller.mm ('k') | chrome/browser/cocoa/tab_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698