Index: chrome/browser/extensions/api/preference/preference_api.cc |
diff --git a/chrome/browser/extensions/api/preference/preference_api.cc b/chrome/browser/extensions/api/preference/preference_api.cc |
index eca298c2524388d3abc245f9cef6a6f18f64e92c..c9f5c2549d6a5546965f83ec46bb6d86c144102a 100644 |
--- a/chrome/browser/extensions/api/preference/preference_api.cc |
+++ b/chrome/browser/extensions/api/preference/preference_api.cc |
@@ -112,6 +112,12 @@ PrefMappingEntry kPrefMapping[] = { |
APIPermission::kPrivacy, APIPermission::kPrivacy}, |
{"translationServiceEnabled", prefs::kEnableTranslate, |
APIPermission::kPrivacy, APIPermission::kPrivacy}, |
+ // accessibilityFeatures.animationPolicy is available for |
+ // all platforms but the others from accessibilityFeatures |
+ // is only available for OS_CHROMEOS. |
+ {"animationPolicy", prefs::kAnimationPolicy, |
+ APIPermission::kAccessibilityFeaturesRead, |
+ APIPermission::kAccessibilityFeaturesModify}, |
#if defined(OS_CHROMEOS) |
{"autoclick", prefs::kAccessibilityAutoclickEnabled, |
APIPermission::kAccessibilityFeaturesRead, |