summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/tab_strip_view.mm
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 00:57:21 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-04 00:57:21 +0000
commite4929565ffe17e5ca6bbb4ac2cb2fdd86ea40760 (patch)
tree75ebfed89c5b7027d4cac7f927a4765d7c51ab61 /chrome/browser/cocoa/tab_strip_view.mm
parentab3e58a2ed17a8c6d5901c4b5dcb7875c681932d (diff)
downloadchromium_src-e4929565ffe17e5ca6bbb4ac2cb2fdd86ea40760.zip
chromium_src-e4929565ffe17e5ca6bbb4ac2cb2fdd86ea40760.tar.gz
chromium_src-e4929565ffe17e5ca6bbb4ac2cb2fdd86ea40760.tar.bz2
Revert 33758 - Mac: remove hacky way the New Tab button is obtained from the nib.
I added a member variable and an accessor/mutator ... and hooked up that up in the nib. Changes to BrowserWindow.xib: hook up the New Tab button to |newTabButton| in TabBar. BUG=none TEST=Make sure it builds, runs, and that the New Tab button still works. Review URL: http://codereview.chromium.org/465042 TBR=viettrungluu@chromium.org Review URL: http://codereview.chromium.org/465045 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@33761 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/tab_strip_view.mm')
-rw-r--r--chrome/browser/cocoa/tab_strip_view.mm2
1 files changed, 0 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/tab_strip_view.mm b/chrome/browser/cocoa/tab_strip_view.mm
index f2638dc..398e6a3 100644
--- a/chrome/browser/cocoa/tab_strip_view.mm
+++ b/chrome/browser/cocoa/tab_strip_view.mm
@@ -8,8 +8,6 @@
@implementation TabStripView
-@synthesize newTabButton = newTabButton_;
-
- (id)initWithFrame:(NSRect)frame {
self = [super initWithFrame:frame];
if (self) {