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

Unified Diff: chrome/common/extensions/api/accessibility_private.json

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: chrome/common/extensions/api/accessibility_private.json
diff --git a/chrome/common/extensions/api/accessibility_private.json b/chrome/common/extensions/api/accessibility_private.json
index c51ea31327eb745f060440b6b628be3ec6a4e678..8fe77471174c939b73f97a978bbfb168c46ccc98 100644
--- a/chrome/common/extensions/api/accessibility_private.json
+++ b/chrome/common/extensions/api/accessibility_private.json
@@ -209,6 +209,35 @@
]
},
{
+ "name": "getImageAnimationPolicy",
+ "type": "function",
+ "description": "Get the policy for handling animated images in web contents.",
+ "parameters": [
+ {
+ "type": "function",
+ "name": "callback",
+ "parameters": [
+ {
+ "type": "string",
dmazzoni 2014/12/08 07:46:01 Make the possible values for this type explicit us
+ "name": "policy"
+ }
+ ]
+ }
+ ]
+ },
+ {
+ "name": "setImageAnimationPolicy",
+ "type": "function",
+ "description": "Set the policy for handling animated images in web contents.",
+ "parameters": [
+ {
+ "type": "string",
+ "name": "policy",
+ "description": "The policy for animated images, Allowed, Once and None"
+ }
+ ]
+ },
+ {
"name": "setNativeAccessibilityEnabled",
"type": "function",
"description": "Enables or disables native accessibility support. Once disabled, it is up to the calling extension to provide accessibility for web contents.",

Powered by Google App Engine
This is Rietveld 408576698