| Index: chrome/browser/ui/prefs/prefs_tab_helper.cc
|
| diff --git a/chrome/browser/ui/prefs/prefs_tab_helper.cc b/chrome/browser/ui/prefs/prefs_tab_helper.cc
|
| index 3f7ba0db6ee1279564af61547f9f668cc9c3a063..ea2d255139ee0c402d0a6844abc49c94ec40aae1 100644
|
| --- a/chrome/browser/ui/prefs/prefs_tab_helper.cc
|
| +++ b/chrome/browser/ui/prefs/prefs_tab_helper.cc
|
| @@ -49,6 +49,10 @@
|
| #include "base/win/windows_version.h"
|
| #endif
|
|
|
| +#if defined(ENABLE_EXTENSIONS)
|
| +#include "chrome/browser/accessibility/animation_policy_prefs.h"
|
| +#endif
|
| +
|
| using content::WebContents;
|
| using content::WebPreferences;
|
|
|
| @@ -58,6 +62,9 @@ namespace {
|
|
|
| // The list of prefs we want to observe.
|
| const char* kPrefsToObserve[] = {
|
| +#if defined(ENABLE_EXTENSIONS)
|
| + prefs::kAnimationPolicy,
|
| +#endif
|
| prefs::kDefaultCharset,
|
| prefs::kDisable3DAPIs,
|
| prefs::kEnableHyperlinkAuditing,
|
| @@ -664,6 +671,9 @@ void PrefsTabHelper::RegisterProfilePrefs(
|
| prefs::kRecentlySelectedEncoding,
|
| std::string(),
|
| user_prefs::PrefRegistrySyncable::UNSYNCABLE_PREF);
|
| +#if defined(ENABLE_EXTENSIONS)
|
| + chrome::RegisterAnimationPolicyPrefs(registry);
|
| +#endif
|
| }
|
|
|
| // static
|
|
|