| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 "name": "enabled", | 75 "name": "enabled", |
| 76 "description": "True if the caller wants to listen to key events; fa
lse to stop listening to events. Note that there is only ever one extension list
ening to key events." | 76 "description": "True if the caller wants to listen to key events; fa
lse to stop listening to events. Note that there is only ever one extension list
ening to key events." |
| 77 }, | 77 }, |
| 78 { | 78 { |
| 79 "type": "boolean", | 79 "type": "boolean", |
| 80 | 80 |
| 81 "name": "capture", | 81 "name": "capture", |
| 82 "description": "True if key events should be swallowed natively and
not propagated if preventDefault() gets called by the extension's background pag
e." | 82 "description": "True if key events should be swallowed natively and
not propagated if preventDefault() gets called by the extension's background pag
e." |
| 83 } | 83 } |
| 84 ] | 84 ] |
| 85 }, |
| 86 { |
| 87 "name": "darkenScreen", |
| 88 "type": "function", |
| 89 "description": "Darkens or undarkens the screen.", |
| 90 "parameters": [ |
| 91 { |
| 92 "type": "boolean", |
| 93 "name": "enabled", |
| 94 "description": "True to darken screen; false to undarken screen." |
| 95 } |
| 96 ] |
| 85 } | 97 } |
| 86 ], | 98 ], |
| 87 "events": [ | 99 "events": [ |
| 88 { | 100 { |
| 89 "name": "onIntroduceChromeVox", | 101 "name": "onIntroduceChromeVox", |
| 90 "type": "function", | 102 "type": "function", |
| 91 "description": "Fired whenever ChromeVox should output introduction." | 103 "description": "Fired whenever ChromeVox should output introduction." |
| 92 }, | 104 }, |
| 93 { | 105 { |
| 94 "name": "onAccessibilityGesture", | 106 "name": "onAccessibilityGesture", |
| 95 "type": "function", | 107 "type": "function", |
| 96 "description": "Fired when an accessibility gesture is detected by the t
ouch exploration controller.", | 108 "description": "Fired when an accessibility gesture is detected by the t
ouch exploration controller.", |
| 97 "parameters": [ | 109 "parameters": [ |
| 98 { | 110 { |
| 99 "name": "gesture", | 111 "name": "gesture", |
| 100 "$ref": "Gesture" | 112 "$ref": "Gesture" |
| 101 } | 113 } |
| 102 ] | 114 ] |
| 103 } | 115 } |
| 104 ] | 116 ] |
| 105 } | 117 } |
| 106 ] | 118 ] |
| OLD | NEW |