diff options
author | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-24 11:21:55 +0000 |
---|---|---|
committer | mnissler@chromium.org <mnissler@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-08-24 11:21:55 +0000 |
commit | d6aa6b6b5ee96766e099ea83a897faea2ca784af (patch) | |
tree | 7e91f5330653924bdaeb29348c1758594999627e /chrome/browser/managed_prefs_banner_base.cc | |
parent | 770b9f870d45a9a0b6d033a1963ac2bb928eb060 (diff) | |
download | chromium_src-d6aa6b6b5ee96766e099ea83a897faea2ca784af.zip chromium_src-d6aa6b6b5ee96766e099ea83a897faea2ca784af.tar.gz chromium_src-d6aa6b6b5ee96766e099ea83a897faea2ca784af.tar.bz2 |
Implement policy for controlling "Show Home Button" preference.
Preferences.xib changes: Connect the Enabled pin of the "Show home button" checkbox to PreferencesWindowController's showHomeButtonEnabled @property.
BUG=49603
TEST=manual
Review URL: http://codereview.chromium.org/3171022
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57167 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/managed_prefs_banner_base.cc')
-rw-r--r-- | chrome/browser/managed_prefs_banner_base.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/managed_prefs_banner_base.cc b/chrome/browser/managed_prefs_banner_base.cc index 6836e0c..33b7e83 100644 --- a/chrome/browser/managed_prefs_banner_base.cc +++ b/chrome/browser/managed_prefs_banner_base.cc @@ -51,6 +51,7 @@ void ManagedPrefsBannerBase::Init(PrefService* local_state, case OPTIONS_PAGE_GENERAL: AddUserPref(prefs::kHomePage); AddUserPref(prefs::kHomePageIsNewTabPage); + AddUserPref(prefs::kShowHomeButton); break; case OPTIONS_PAGE_CONTENT: AddUserPref(prefs::kSyncManaged); |