Chromium Code Reviews| Index: content/public/common/web_preferences.h |
| diff --git a/content/public/common/web_preferences.h b/content/public/common/web_preferences.h |
| index ab43cd90a57bb76e552c3d84d7ba3148cb2021e9..2859cbfd5ebb5e8cddff4fb8800508fae1a4d556 100644 |
| --- a/content/public/common/web_preferences.h |
| +++ b/content/public/common/web_preferences.h |
| @@ -58,6 +58,12 @@ enum V8ScriptStreamingMode { |
| V8_SCRIPT_STREAMING_MODE_ALL_PLUS_BLOCK_PARSER_BLOCKING |
| }; |
| +enum ImageAnimationPolicy { |
| + IMAGE_ANIMATION_POLICY_ALLOWED, |
| + IMAGE_ANIMATION_POLICY_ANIMATION_ONCE, |
| + IMAGE_ANIMATION_POLICY_NO_ANIMATION |
|
jam
2015/01/28 20:29:58
documentation here would be nice
je_julie(Not used)
2015/01/30 15:58:06
Done.
|
| +}; |
| + |
| // 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. |
| @@ -194,6 +200,7 @@ struct CONTENT_EXPORT WebPreferences { |
| // This flag indicates whether H/W accelerated video decode is enabled for |
| // pepper plugins. Defaults to false. |
| bool pepper_accelerated_video_decode_enabled; |
| + ImageAnimationPolicy animation_policy; |
|
jam
2015/01/28 20:29:58
nit: separate this from the previous line. or just
|
| #if defined(OS_ANDROID) |
| bool text_autosizing_enabled; |