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

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

Issue 181002: Reverting 24700. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
« no previous file with comments | « chrome/browser/cocoa/tab_controller.mm ('k') | chrome/browser/cocoa/tab_strip_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/cocoa/tab_strip_controller.h
===================================================================
--- chrome/browser/cocoa/tab_strip_controller.h (revision 24707)
+++ chrome/browser/cocoa/tab_strip_controller.h (working copy)
@@ -72,9 +72,11 @@
// width should be used, this will have a value of |kUseFullAvailableWidth|.
float availableResizeWidth_;
// A tracking area that's the size of the tab strip used to be notified
- // when the mouse moves in the tab strip
- scoped_nsobject<NSTrackingArea> trackingArea_;
- TabView* hoveredTab_; // weak. Tab that the mouse is hovering over
+ // when the mouse leaves the tab strip. It's installed when the user clicks
+ // the close box of a tab and is removed when they move the mouse outside
+ // of the strip. When they do, we resize the tabs to use all available
+ // space.
+ scoped_nsobject<NSTrackingArea> closeTabTrackingArea_;
// Array of subviews which are permanent (and which should never be removed),
// such as the new-tab button, but *not* the tabs themselves.
@@ -127,8 +129,8 @@
// Force the tabs to rearrange themselves to reflect the current model.
- (void)layoutTabs;
-// The user changed the theme, or theme state changed.
-- (void)applyTheme;
+// The user changed the theme.
+- (void)userChangedTheme;
// Default height for tabs.
+ (CGFloat)defaultTabHeight;
« no previous file with comments | « chrome/browser/cocoa/tab_controller.mm ('k') | chrome/browser/cocoa/tab_strip_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698