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-27 23:51:17 +0000
committeravi@chromium.org <avi@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-27 23:51:17 +0000
commit9b5d7374459f0deee6dbf7a5aa4dc43aec25e38c (patch)
tree06f68e313e76256c0245f7082dba8e6b23d7569e /chrome/browser/cocoa/tab_strip_controller.h
parent15123a7ca58102854802075f6efb3c5e5cc23e23 (diff)
downloadchromium_src-9b5d7374459f0deee6dbf7a5aa4dc43aec25e38c.zip
chromium_src-9b5d7374459f0deee6dbf7a5aa4dc43aec25e38c.tar.gz
chromium_src-9b5d7374459f0deee6dbf7a5aa4dc43aec25e38c.tar.bz2
Updates to clean up default theme and add hover states.
Patch by Cole. BUG=http://crbug.com/18573;http://crbug.com/18574;http://crbug.com/18360;http://crbug.com/18438 TEST=none Review URL: http://codereview.chromium.org/165499 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@24700 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, 5 insertions, 7 deletions
diff --git a/chrome/browser/cocoa/tab_strip_controller.h b/chrome/browser/cocoa/tab_strip_controller.h
index 06db772..24fee3b 100644
--- a/chrome/browser/cocoa/tab_strip_controller.h
+++ b/chrome/browser/cocoa/tab_strip_controller.h
@@ -72,11 +72,9 @@ 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 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_;
+ // when the mouse moves in the tab strip
+ scoped_nsobject<NSTrackingArea> trackingArea_;
+ TabView* hoveredTab_; // weak. Tab that the mouse is hovering over
// Array of subviews which are permanent (and which should never be removed),
// such as the new-tab button, but *not* the tabs themselves.
@@ -129,8 +127,8 @@ class ToolbarModel;
// Force the tabs to rearrange themselves to reflect the current model.
- (void)layoutTabs;
-// The user changed the theme.
-- (void)userChangedTheme;
+// The user changed the theme, or theme state changed.
+- (void)applyTheme;
// Default height for tabs.
+ (CGFloat)defaultTabHeight;