OLD | NEW |
---|---|
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 [ | 5 [ |
6 { | 6 { |
7 "namespace": "accessibilityPrivate", | 7 "namespace": "accessibilityPrivate", |
8 "compiler_options": { | 8 "compiler_options": { |
9 "implemented_in": "chrome/browser/accessibility/accessibility_extension_ap i.h" | 9 "implemented_in": "chrome/browser/accessibility/accessibility_extension_ap i.h" |
10 }, | 10 }, |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
202 "description": "Enables or disables the accessibility extension api. Thi s must be set to true before event listeners or getFocusedControl will work.", | 202 "description": "Enables or disables the accessibility extension api. Thi s must be set to true before event listeners or getFocusedControl will work.", |
203 "parameters": [ | 203 "parameters": [ |
204 { | 204 { |
205 "type": "boolean", | 205 "type": "boolean", |
206 "name": "enabled", | 206 "name": "enabled", |
207 "description": "True if accessibility support should be enabled." | 207 "description": "True if accessibility support should be enabled." |
208 } | 208 } |
209 ] | 209 ] |
210 }, | 210 }, |
211 { | 211 { |
212 "name": "getImageAnimationPolicy", | |
213 "type": "function", | |
214 "description": "Get the policy for handling animated images in web conte nts.", | |
215 "parameters": [ | |
216 { | |
217 "type": "function", | |
218 "name": "callback", | |
219 "parameters": [ | |
220 { | |
221 "type": "string", | |
dmazzoni
2014/12/08 07:46:01
Make the possible values for this type explicit us
| |
222 "name": "policy" | |
223 } | |
224 ] | |
225 } | |
226 ] | |
227 }, | |
228 { | |
229 "name": "setImageAnimationPolicy", | |
230 "type": "function", | |
231 "description": "Set the policy for handling animated images in web conte nts.", | |
232 "parameters": [ | |
233 { | |
234 "type": "string", | |
235 "name": "policy", | |
236 "description": "The policy for animated images, Allowed, Once and No ne" | |
237 } | |
238 ] | |
239 }, | |
240 { | |
212 "name": "setNativeAccessibilityEnabled", | 241 "name": "setNativeAccessibilityEnabled", |
213 "type": "function", | 242 "type": "function", |
214 "description": "Enables or disables native accessibility support. Once d isabled, it is up to the calling extension to provide accessibility for web cont ents.", | 243 "description": "Enables or disables native accessibility support. Once d isabled, it is up to the calling extension to provide accessibility for web cont ents.", |
215 "parameters": [ | 244 "parameters": [ |
216 { | 245 { |
217 "type": "boolean", | 246 "type": "boolean", |
218 "name": "enabled", | 247 "name": "enabled", |
219 "description": "True if native accessibility support should be enabl ed." | 248 "description": "True if native accessibility support should be enabl ed." |
220 } | 249 } |
221 ] | 250 ] |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
387 { | 416 { |
388 "type": "boolean", | 417 "type": "boolean", |
389 "name": "makeAnnouncements", | 418 "name": "makeAnnouncements", |
390 "description": "Whether to make introductory announcements." | 419 "description": "Whether to make introductory announcements." |
391 } | 420 } |
392 ] | 421 ] |
393 } | 422 } |
394 ] | 423 ] |
395 } | 424 } |
396 ] | 425 ] |
OLD | NEW |