| 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..40d03e53ce2667b3b1903a89923de94f7c788b6b 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,
|
| @@ -627,6 +634,10 @@ void PrefsTabHelper::RegisterProfilePrefs(
|
| }
|
| }
|
|
|
| +#if defined(ENABLE_EXTENSIONS)
|
| + RegisterAnimationPolicyPrefs(registry);
|
| +#endif
|
| +
|
| // Register per-script font prefs that don't have defaults.
|
| #if !defined(OS_ANDROID)
|
| RegisterFontFamilyPrefs(registry, fonts_with_defaults);
|
|
|