| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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": "experimental.accessibility", | 7 "namespace": "experimental.accessibility", |
| 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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 147 "description": "Enables or disables the accessibility extension api. Thi
s must be set to true before event listeners or getFocusedControl will work.", | 147 "description": "Enables or disables the accessibility extension api. Thi
s must be set to true before event listeners or getFocusedControl will work.", |
| 148 "parameters": [ | 148 "parameters": [ |
| 149 { | 149 { |
| 150 "type": "boolean", | 150 "type": "boolean", |
| 151 "name": "enabled", | 151 "name": "enabled", |
| 152 "description": "True if accessibility support should be enabled." | 152 "description": "True if accessibility support should be enabled." |
| 153 } | 153 } |
| 154 ] | 154 ] |
| 155 }, | 155 }, |
| 156 { | 156 { |
| 157 "name": "setNativeAccessibilityEnabled", |
| 158 "type": "function", |
| 159 "description": "Enables or disables native accessibility support. Once d
isabled, it is up to the calling extension to provide accessibility for web cont
ents.", |
| 160 "parameters": [ |
| 161 { |
| 162 "type": "boolean", |
| 163 "name": "enabled", |
| 164 "description": "True if native accessibility support should be enabl
ed." |
| 165 } |
| 166 ] |
| 167 }, |
| 168 { |
| 157 "name": "getFocusedControl", | 169 "name": "getFocusedControl", |
| 158 "type": "function", | 170 "type": "function", |
| 159 "description": "Gets information about the currently focused control.", | 171 "description": "Gets information about the currently focused control.", |
| 160 "parameters": [ | 172 "parameters": [ |
| 161 { | 173 { |
| 162 "type": "function", | 174 "type": "function", |
| 163 "name": "callback", | 175 "name": "callback", |
| 164 "parameters": [ | 176 "parameters": [ |
| 165 { | 177 { |
| 166 "name": "control", | 178 "name": "control", |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 278 { | 290 { |
| 279 "$ref": "AccessibilityObject", | 291 "$ref": "AccessibilityObject", |
| 280 "name": "menu", | 292 "name": "menu", |
| 281 "description": "Information about the menu that was closed." | 293 "description": "Information about the menu that was closed." |
| 282 } | 294 } |
| 283 ] | 295 ] |
| 284 } | 296 } |
| 285 ] | 297 ] |
| 286 } | 298 } |
| 287 ] | 299 ] |
| OLD | NEW |