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

Unified Diff: chrome/browser/ui/cocoa/tabs/tab_strip_controller.h

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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/tabs/tab_strip_controller.h
===================================================================
--- chrome/browser/ui/cocoa/tabs/tab_strip_controller.h (revision 95517)
+++ chrome/browser/ui/cocoa/tabs/tab_strip_controller.h (working copy)
@@ -140,9 +140,10 @@
// The default favicon, so we can use one copy for all buttons.
scoped_nsobject<NSImage> defaultFavicon_;
- // The amount by which to indent the tabs on the left (to make room for the
- // red/yellow/green buttons).
- CGFloat indentForControls_;
+ // The amount by which to indent the tabs on the sides (to make room for the
+ // red/yellow/green and incognito/fullscreen buttons).
+ CGFloat leftIndentForControls_;
+ CGFloat rightIndentForControls_;
// Manages per-tab sheets.
scoped_nsobject<GTMWindowSheetController> sheetController_;
@@ -154,7 +155,8 @@
scoped_ptr<HoverTabSelector> hoverTabSelector_;
}
-@property(nonatomic) CGFloat indentForControls;
+@property(nonatomic) CGFloat leftIndentForControls;
+@property(nonatomic) CGFloat rightIndentForControls;
// Initialize the controller with a view and browser that contains
// everything else we'll need. |switchView| is the view whose contents get
@@ -226,6 +228,7 @@
// Force the tabs to rearrange themselves to reflect the current model.
- (void)layoutTabs;
+- (void)layoutTabsWithoutAnimation;
// Are we in rapid (tab) closure mode? I.e., is a full layout deferred (while
// the user closes tabs)? Needed to overcome missing clicks during rapid tab
@@ -239,8 +242,8 @@
// Default height for tabs.
+ (CGFloat)defaultTabHeight;
-// Default indentation for tabs (see |indentForControls_|).
-+ (CGFloat)defaultIndentForControls;
+// Default indentation for tabs (see |leftIndentForControls_|).
++ (CGFloat)defaultLeftIndentForControls;
// Returns the (lazily created) window sheet controller of this window. Used
// for the per-tab sheets.
« no previous file with comments | « chrome/browser/ui/cocoa/tabs/side_tab_strip_controller.mm ('k') | chrome/browser/ui/cocoa/tabs/tab_strip_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698