summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tab_strip_controller.h
diff options
context:
space:
mode:
authoravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 00:46:49 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-28 00:46:49 +0000
commit110a4e7b14519e6b3771dd9c0501618ed45fc837 (patch)
tree75eeaa9ef1c7569a7aed2282895155f7234b2d15 /chrome/browser/cocoa/tab_strip_controller.h
parentdf5a4ffbb5531ca94bcf9b6a9825a99a3413c47b (diff)
downloadchromium_src-110a4e7b14519e6b3771dd9c0501618ed45fc837.zip
chromium_src-110a4e7b14519e6b3771dd9c0501618ed45fc837.tar.gz
chromium_src-110a4e7b14519e6b3771dd9c0501618ed45fc837.tar.bz2
Reverting 24700.
Review URL: http://codereview.chromium.org/181002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24708 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_strip_controller.h')
-rw-r--r--chrome/browser/cocoa/tab_strip_controller.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/chrome/browser/cocoa/tab_strip_controller.h b/chrome/browser/cocoa/tab_strip_controller.h
index 24fee3b..06db772 100644
--- a/chrome/browser/cocoa/tab_strip_controller.h
+++ b/chrome/browser/cocoa/tab_strip_controller.h
@@ -72,9 +72,11 @@ class ToolbarModel;
// 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 @@ class ToolbarModel;
// 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;