| Index: content/public/common/web_preferences.h
|
| diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h
|
| index 2b4eff3b47dcea2bec14896898900d9d95c324b4..250b546dc437db167a71ae836e6f5cfcff304251 100644
|
| --- a/content/public/common/web_preferences.h
|
| +++ b/content/public/common/web_preferences.h
|
| @@ -50,6 +50,16 @@ enum V8CacheOptions {
|
| V8_CACHE_OPTIONS_LAST = V8_CACHE_OPTIONS_RECENT_SMALL
|
| };
|
|
|
| +// ImageAnimationPolicy is used for controlling image animation
|
| +// when image frame is rendered for animation.
|
| +// See third_party/WebKit/Source/platform/graphics/ImageAnimationPolicy.h
|
| +// for information on the options.
|
| +enum ImageAnimationPolicy {
|
| + IMAGE_ANIMATION_POLICY_ALLOWED,
|
| + IMAGE_ANIMATION_POLICY_ANIMATION_ONCE,
|
| + IMAGE_ANIMATION_POLICY_NO_ANIMATION
|
| +};
|
| +
|
| // The ISO 15924 script code for undetermined script aka Common. It's the
|
| // default used on WebKit's side to get/set a font setting when no script is
|
| // specified.
|
| @@ -185,6 +195,8 @@ struct CONTENT_EXPORT WebPreferences {
|
| // pepper plugins. Defaults to false.
|
| bool pepper_accelerated_video_decode_enabled;
|
|
|
| + ImageAnimationPolicy animation_policy;
|
| +
|
| #if defined(OS_ANDROID)
|
| bool text_autosizing_enabled;
|
| float font_scale_factor;
|
|
|