summaryrefslogtreecommitdiffstats
path: root/chrome/browser/defaults.cc
diff options
context:
space:
mode:
authorpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 17:11:30 +0000
committerpinkerton@chromium.org <pinkerton@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-12-15 17:11:30 +0000
commitb694453d2397cb3886e4fb59bfdefb55c9f9081e (patch)
tree2c3c730e61bb6731bf9c4eb8a8adb17e4efc4887 /chrome/browser/defaults.cc
parent3cd1f6b0d74cb2f546b430f49af1a91ef951ce95 (diff)
downloadchromium_src-b694453d2397cb3886e4fb59bfdefb55c9f9081e.zip
chromium_src-b694453d2397cb3886e4fb59bfdefb55c9f9081e.tar.gz
chromium_src-b694453d2397cb3886e4fb59bfdefb55c9f9081e.tar.bz2
Make a shared app menu model and update win and mac to use it. Remove the NSMenu from Toolbar.xib.
BUG=22646 TEST=the app menu works as it used to. Review URL: http://codereview.chromium.org/482006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@34561 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/defaults.cc')
-rw-r--r--chrome/browser/defaults.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/defaults.cc b/chrome/browser/defaults.cc
index e0f9142..ed99c9d 100644
--- a/chrome/browser/defaults.cc
+++ b/chrome/browser/defaults.cc
@@ -19,6 +19,7 @@ const bool kCanToggleSystemTitleBar = false;
const bool kRestorePopups = true;
const bool kShowImportOnBookmarkBar = false;
const bool kShowExitMenuItem = false;
+const bool kShowAboutMenuItem = true;
const bool kOSSupportsOtherBrowsers = false;
#elif defined(OS_LINUX)
@@ -48,7 +49,13 @@ const SessionStartupPref::Type kDefaultSessionStartupType =
const int kPinnedTabWidth = 56;
const bool kRestorePopups = false;
const bool kShowImportOnBookmarkBar = true;
+#if defined(OS_MACOSX)
+const bool kShowExitMenuItem = false;
+const bool kShowAboutMenuItem = false;
+#else
const bool kShowExitMenuItem = true;
+const bool kShowAboutMenuItem = true;
+#endif
const bool kOSSupportsOtherBrowsers = true;
#endif