summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/browser_window_controller.mm
diff options
context:
space:
mode:
authorestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 22:05:13 +0000
committerestade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-27 22:05:13 +0000
commit28191891f2389382e4e53d004e04a74bcb1b152e (patch)
treeba47a955a1347bf43585c6e5c8ae23116eb8b49e /chrome/browser/cocoa/browser_window_controller.mm
parent1f05db25d586c82e8420a8a28c1d0b6a7bcf44e6 (diff)
downloadchromium_src-28191891f2389382e4e53d004e04a74bcb1b152e.zip
chromium_src-28191891f2389382e4e53d004e04a74bcb1b152e.tar.gz
chromium_src-28191891f2389382e4e53d004e04a74bcb1b152e.tar.bz2
Inform the command updater of the tab restore state.
BUG=14428 TEST=TabRestoreUITest.* Review URL: http://codereview.chromium.org/2228004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48437 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/cocoa/browser_window_controller.mm')
-rw-r--r--chrome/browser/cocoa/browser_window_controller.mm5
1 files changed, 0 insertions, 5 deletions
diff --git a/chrome/browser/cocoa/browser_window_controller.mm b/chrome/browser/cocoa/browser_window_controller.mm
index f64d48c..962b96b 100644
--- a/chrome/browser/cocoa/browser_window_controller.mm
+++ b/chrome/browser/cocoa/browser_window_controller.mm
@@ -869,11 +869,6 @@
// one tab.
enable &= [self numberOfTabs] > 1 && [[self window] isKeyWindow];
break;
- case IDC_RESTORE_TAB:
- // We have to ask the Browser manually if we can restore. The
- // command updater doesn't know.
- enable &= browser_->CanRestoreTab();
- break;
case IDC_FULLSCREEN: {
enable &= [self supportsFullscreen];
if ([static_cast<NSObject*>(item) isKindOfClass:[NSMenuItem class]]) {