diff options
author | dpolukhin@chromium.org <dpolukhin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 10:33:04 +0000 |
---|---|---|
committer | dpolukhin@chromium.org <dpolukhin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-19 10:33:04 +0000 |
commit | bdb541d643bce8fa366b8102c579ff84f42e40be (patch) | |
tree | 4dd12dc263e32fac8bd3ef5f682505dae33fd9bd /chrome/browser/defaults.h | |
parent | dd36c66239501618aca2b8cac65b768fcb63a068 (diff) | |
download | chromium_src-bdb541d643bce8fa366b8102c579ff84f42e40be.zip chromium_src-bdb541d643bce8fa366b8102c579ff84f42e40be.tar.gz chromium_src-bdb541d643bce8fa366b8102c579ff84f42e40be.tar.bz2 |
Land 3122014 for Anton: Initial change that allows to disable bookmarks
Original CL: http://codereview.chromium.org/3122014
Initial change that allows to disable bookmarks in Chrome for Chrome OS
(BWSI mode). Added disable-bookmarks flag and disabled some UI elements.
BUG=chromium-os:4302
TEST=Run Chrome build for Chrome OS with --disable-bookmarks flag and
verify that the corresponding UI is disabled. Verify that BWSI mode runs
with this flag.
Review URL: http://codereview.chromium.org/3191007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56669 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/defaults.h')
-rw-r--r-- | chrome/browser/defaults.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/browser/defaults.h b/chrome/browser/defaults.h index 2167f3a..a0ef525 100644 --- a/chrome/browser/defaults.h +++ b/chrome/browser/defaults.h @@ -74,6 +74,13 @@ extern const bool kAlwaysOpenIncognitoWindow; // Are phantom tabs enabled? extern const bool kPhantomTabsEnabled; +//============================================================================= +// Runtime "const" - set only once after parsing command line option and should +// never be modified after that. + +// Are bookmark enabled? True by default. +extern bool bookmarks_enabled; + } // namespace browser_defaults #endif // CHROME_BROWSER_DEFAULTS_H_ |