Index: chrome/browser/browser.cc |
diff --git a/chrome/browser/browser.cc b/chrome/browser/browser.cc |
index ce931ccceda30678ef36baf2901793fafa999212..91f01015726e5cf55c8e63b8cca3c90af97c1412 100644 |
--- a/chrome/browser/browser.cc |
+++ b/chrome/browser/browser.cc |
@@ -2480,7 +2480,11 @@ void Browser::InitCommandState() { |
command_updater_.UpdateCommandEnabled(IDC_NEW_TAB, true); |
command_updater_.UpdateCommandEnabled(IDC_CLOSE_TAB, true); |
command_updater_.UpdateCommandEnabled(IDC_DUPLICATE_TAB, true); |
+// TODO(viettrungluu): Temporarily disabled on Mac. Must disable here (not in |
+// BWC) so that it also affects the wrench menu. http://crbug.com/31638 |
+#if !defined(OS_MACOSX) |
command_updater_.UpdateCommandEnabled(IDC_FULLSCREEN, true); |
Nico
2010/01/08 23:08:04
shouldn't this be "false"? also below.
(If not, t
viettrungluu
2010/01/08 23:09:58
It's an #ifndef. Commands are disabled by default.
Nico
2010/01/08 23:11:22
doh. Carry on.
|
+#endif |
command_updater_.UpdateCommandEnabled(IDC_EXIT, true); |
#if defined(TOOLKIT_VIEWS) |
command_updater_.UpdateCommandEnabled(IDC_COMPACT_NAVBAR, true); |
@@ -2551,7 +2555,11 @@ void Browser::InitCommandState() { |
command_updater_.UpdateCommandEnabled(IDC_CREATE_SHORTCUTS, false); |
command_updater_.UpdateCommandEnabled(IDC_DEV_TOOLS, true); |
command_updater_.UpdateCommandEnabled(IDC_DEV_TOOLS_CONSOLE, true); |
+// TODO(viettrungluu): Temporarily disabled on Mac. Must disable here (not in |
+// BWC) so that it also affects the page menu. http://crbug.com/13156 |
+#if !defined(OS_MACOSX) |
command_updater_.UpdateCommandEnabled(IDC_TASK_MANAGER, true); |
+#endif |
command_updater_.UpdateCommandEnabled(IDC_SELECT_PROFILE, true); |
command_updater_.UpdateCommandEnabled(IDC_SHOW_HISTORY, true); |
command_updater_.UpdateCommandEnabled(IDC_SHOW_BOOKMARK_MANAGER, true); |