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

Side by Side Diff: chrome/common/extensions/api/accessibility_private.json

Issue 560983002: Add private extension API to move the accessibility focus ring. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@focus_ring_2_accessibility_ring
Patch Set: Created 6 years, 3 months 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 unified diff | Download patch
OLDNEW
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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 { "$ref": "MenuItemDetails" }, 152 { "$ref": "MenuItemDetails" },
153 { "$ref": "RadioButtonDetails" }, 153 { "$ref": "RadioButtonDetails" },
154 { "$ref": "SliderDetails" }, 154 { "$ref": "SliderDetails" },
155 { "$ref": "TabDetails" }, 155 { "$ref": "TabDetails" },
156 { "$ref": "TextBoxDetails" }, 156 { "$ref": "TextBoxDetails" },
157 { "$ref": "TreeDetails" }, 157 { "$ref": "TreeDetails" },
158 { "$ref": "TreeItemDetails" } 158 { "$ref": "TreeItemDetails" }
159 ] 159 ]
160 } 160 }
161 } 161 }
162 },
163 {
164 "id": "ScreenRect",
165 "type": "object",
166 "description": "Bounding rectangle in global screen coordinates.",
167 "properties": {
168 "left": {"type": "integer", "description": "Left coordinate in global screen coordinates."},
169 "top": {"type": "integer", "description": "Top coordinate in global sc reen coordinates."},
170 "width": {"type": "integer", "description": "Width in pixels."},
171 "height": {"type": "integer", "description": "Height in pixels."}
172 }
162 } 173 }
163 ], 174 ],
164 "functions": [ 175 "functions": [
165 { 176 {
166 "name": "setAccessibilityEnabled", 177 "name": "setAccessibilityEnabled",
167 "type": "function", 178 "type": "function",
168 "description": "Enables or disables the accessibility extension api. Thi s must be set to true before event listeners or getFocusedControl will work.", 179 "description": "Enables or disables the accessibility extension api. Thi s must be set to true before event listeners or getFocusedControl will work.",
169 "parameters": [ 180 "parameters": [
170 { 181 {
171 "type": "boolean", 182 "type": "boolean",
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 "parameters": [ 232 "parameters": [
222 { 233 {
223 "name": "alerts", 234 "name": "alerts",
224 "type": "array", 235 "type": "array",
225 "items": { "$ref": "AlertInfo" }, 236 "items": { "$ref": "AlertInfo" },
226 "description": "Alerts being shown on the given tab." 237 "description": "Alerts being shown on the given tab."
227 } 238 }
228 ] 239 ]
229 } 240 }
230 ] 241 ]
242 },
243 {
244 "name": "setFocusRing",
245 "type": "function",
246 "description": "Set the bounds of the accessibility focus ring.",
247 "parameters": [
248 {
249 "name": "rects",
250 "type": "array",
251 "items": { "$ref": "ScreenRect" },
252 "description": "Array of rectangles to focus."
David Tseng 2014/09/10 22:50:28 This sounds like there would be a focus action tak
dmazzoni 2014/09/11 22:04:36 I clarified the text a bit. I think it's clearer
253 }
254 ]
231 } 255 }
232 ], 256 ],
233 "events": [ 257 "events": [
234 { 258 {
235 "name": "onWindowOpened", 259 "name": "onWindowOpened",
236 "type": "function", 260 "type": "function",
237 "description": "Fired when a window is opened.", 261 "description": "Fired when a window is opened.",
238 "parameters": [ 262 "parameters": [
239 { 263 {
240 "$ref": "AccessibilityObject", 264 "$ref": "AccessibilityObject",
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 { 364 {
341 "type": "boolean", 365 "type": "boolean",
342 "name": "makeAnnouncements", 366 "name": "makeAnnouncements",
343 "description": "Whether to make introductory announcements." 367 "description": "Whether to make introductory announcements."
344 } 368 }
345 ] 369 ]
346 } 370 }
347 ] 371 ]
348 } 372 }
349 ] 373 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698