summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tab_view.h
diff options
context:
space:
mode:
authormirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 16:26:26 +0000
committermirandac@chromium.org <mirandac@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 16:26:26 +0000
commite9a1a8ddf2167d7a052ac4736b7f5ae622d1e8b2 (patch)
tree776c0de37f69c69395686628fe6ff765a45ccad6 /chrome/browser/cocoa/tab_view.h
parentb05e0ac05876e626cc85d3a59e5b8dc2b1a6d9c0 (diff)
downloadchromium_src-e9a1a8ddf2167d7a052ac4736b7f5ae622d1e8b2.zip
chromium_src-e9a1a8ddf2167d7a052ac4736b7f5ae622d1e8b2.tar.gz
chromium_src-e9a1a8ddf2167d7a052ac4736b7f5ae622d1e8b2.tar.bz2
Committing issue 484006 for feldstein.
Refactor close button to its own class. BUG= 23641 TEST= see http://codereview.chromium.org/484006 Review URL: http://codereview.chromium.org/501003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34556 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_view.h')
-rw-r--r--chrome/browser/cocoa/tab_view.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/chrome/browser/cocoa/tab_view.h b/chrome/browser/cocoa/tab_view.h
index c9a874c..58383af 100644
--- a/chrome/browser/cocoa/tab_view.h
+++ b/chrome/browser/cocoa/tab_view.h
@@ -9,6 +9,7 @@
#include "base/scoped_nsobject.h"
#import "chrome/browser/cocoa/background_gradient_view.h"
+#import "chrome/browser/cocoa/hover_close_button.h"
@class TabController, TabWindowController;
@@ -21,7 +22,7 @@
IBOutlet TabController* controller_;
// TODO(rohitrao): Add this button to a CoreAnimation layer so we can fade it
// in and out on mouseovers.
- IBOutlet NSButton* closeButton_;
+ IBOutlet HoverCloseButton* closeButton_;
BOOL closing_;
// Tracking area for close button mouseover images.