diff options
author | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 20:57:24 +0000 |
---|---|---|
committer | pinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-30 20:57:24 +0000 |
commit | f9a1e1ac377bf195535b8a18a105e953b3c856ba (patch) | |
tree | c7d78723b7f4c1539301370dd96fcf5e51c5bdf3 | |
parent | 9c73c15a06b48fad46fc7a2524bf7b227dabbba6 (diff) | |
download | chromium_src-f9a1e1ac377bf195535b8a18a105e953b3c856ba.zip chromium_src-f9a1e1ac377bf195535b8a18a105e953b3c856ba.tar.gz chromium_src-f9a1e1ac377bf195535b8a18a105e953b3c856ba.tar.bz2 |
Remove hack for zoom button now that it's no longer needed
BUG=12498
TEST=zoom button should always be enabled.
Review URL: http://codereview.chromium.org/150134
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@19652 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | chrome/browser/cocoa/browser_window_controller.mm | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/browser/cocoa/browser_window_controller.mm b/chrome/browser/cocoa/browser_window_controller.mm index 3532141..7e1d9aa 100644 --- a/chrome/browser/cocoa/browser_window_controller.mm +++ b/chrome/browser/cocoa/browser_window_controller.mm @@ -118,16 +118,6 @@ willPositionSheet:(NSWindow *)sheet if ([window_ respondsToSelector:@selector(setBottomCornerRounded:)]) [window_ setBottomCornerRounded:NO]; - // Since we don't have a standard resize control, Cocoa won't enable the - // zoom (green) button on the titlebar for us. Grab it and enable it - // manually. Note that when launched from XCode, the doesn't work for the - // first window (and only the first window). There's some activation - // wonkiness there, since XCode stays active and the menus don't switch - // either. It always works when launched from the Finder. - NSButton* zoomButton = - [[self window] standardWindowButton:NSWindowZoomButton]; - [zoomButton setEnabled:YES]; - // Register ourselves for frame changed notifications from the // tabContentArea. [[NSNotificationCenter defaultCenter] |