Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(560)

Unified Diff: content/public/common/common_param_traits_macros.h

Issue 785723002: Add new extension APIs related to animation policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/public/common/common_param_traits_macros.h
diff --git a/content/public/common/common_param_traits_macros.h b/content/public/common/common_param_traits_macros.h
index 3cd0a1529df0071ce5079d692a59ec97c4e40e80..b5e28e9ab4dd2c3fb35f046ab1168294353c41a8 100644
--- a/content/public/common/common_param_traits_macros.h
+++ b/content/public/common/common_param_traits_macros.h
@@ -52,6 +52,9 @@ IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::PointerType,
IPC_ENUM_TRAITS_MIN_MAX_VALUE(ui::HoverType,
ui::HOVER_TYPE_FIRST,
ui::HOVER_TYPE_LAST)
+IPC_ENUM_TRAITS_MIN_MAX_VALUE(content::ImageAnimationPolicy,
+ content::IMAGE_ANIMATION_POLICY_ALLOWED,
+ content::IMAGE_ANIMATION_POLICY_NO_ANIMATION)
IPC_STRUCT_TRAITS_BEGIN(blink::WebPoint)
IPC_STRUCT_TRAITS_MEMBER(x)
@@ -195,6 +198,7 @@ IPC_STRUCT_TRAITS_BEGIN(content::WebPreferences)
IPC_STRUCT_TRAITS_MEMBER(v8_script_streaming_mode)
IPC_STRUCT_TRAITS_MEMBER(slimming_paint_enabled)
IPC_STRUCT_TRAITS_MEMBER(pepper_accelerated_video_decode_enabled)
+ IPC_STRUCT_TRAITS_MEMBER(animation_policy)
#if defined(OS_ANDROID)
IPC_STRUCT_TRAITS_MEMBER(text_autosizing_enabled)
IPC_STRUCT_TRAITS_MEMBER(font_scale_factor)

Powered by Google App Engine
This is Rietveld 408576698