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

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

Issue 600063002: Draw a focus ring around native views when ChromeVox is running. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add check for Chrome OS Created 6 years, 2 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
« no previous file with comments | « chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 "type": "object", 117 "type": "object",
118 "description": "Information about an alert", 118 "description": "Information about an alert",
119 "properties": { 119 "properties": {
120 "message": { 120 "message": {
121 "type": "string", 121 "type": "string",
122 "description": "The message the alert is showing." 122 "description": "The message the alert is showing."
123 } 123 }
124 } 124 }
125 }, 125 },
126 { 126 {
127 "id": "ScreenRect",
128 "type": "object",
129 "description": "Bounding rectangle in global screen coordinates.",
130 "properties": {
131 "left": {"type": "integer", "description": "Left coordinate in global screen coordinates."},
132 "top": {"type": "integer", "description": "Top coordinate in global sc reen coordinates."},
133 "width": {"type": "integer", "description": "Width in pixels."},
134 "height": {"type": "integer", "description": "Height in pixels."}
135 }
136 },
137 {
127 "id": "AccessibilityObject", 138 "id": "AccessibilityObject",
128 "type": "object", 139 "type": "object",
129 "description": "Parent class for accessibility information about an obje ct.", 140 "description": "Parent class for accessibility information about an obje ct.",
130 "properties": { 141 "properties": {
131 "type": { 142 "type": {
132 "type": "string", 143 "type": "string",
133 "description": "The type of this object, which determines the conten ts of 'details'.", 144 "description": "The type of this object, which determines the conten ts of 'details'.",
134 "enum": ["alert", "button", "checkbox", "combobox", "link", "menu", "menuitem", "radiobutton", "slider", "tab", "textbox", "tree", "treeitem", "wind ow"] 145 "enum": ["alert", "button", "checkbox", "combobox", "link", "menu", "menuitem", "radiobutton", "slider", "tab", "textbox", "tree", "treeitem", "wind ow"]
135 }, 146 },
136 "name": { 147 "name": {
(...skipping 13 matching lines...) Expand all
150 { "$ref": "ComboBoxDetails" }, 161 { "$ref": "ComboBoxDetails" },
151 { "$ref": "MenuDetails" }, 162 { "$ref": "MenuDetails" },
152 { "$ref": "MenuItemDetails" }, 163 { "$ref": "MenuItemDetails" },
153 { "$ref": "RadioButtonDetails" }, 164 { "$ref": "RadioButtonDetails" },
154 { "$ref": "SliderDetails" }, 165 { "$ref": "SliderDetails" },
155 { "$ref": "TabDetails" }, 166 { "$ref": "TabDetails" },
156 { "$ref": "TextBoxDetails" }, 167 { "$ref": "TextBoxDetails" },
157 { "$ref": "TreeDetails" }, 168 { "$ref": "TreeDetails" },
158 { "$ref": "TreeItemDetails" } 169 { "$ref": "TreeItemDetails" }
159 ] 170 ]
171 },
172 "bounds": {
173 "$ref": "ScreenRect",
174 "description": "The bounds of the object, in global screen coordinat es.",
175 "optional": true
160 } 176 }
161 } 177 }
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 }
173 } 178 }
174 ], 179 ],
175 "functions": [ 180 "functions": [
176 { 181 {
177 "name": "setAccessibilityEnabled", 182 "name": "setAccessibilityEnabled",
178 "type": "function", 183 "type": "function",
179 "description": "Enables or disables the accessibility extension api. Thi s must be set to true before event listeners or getFocusedControl will work.", 184 "description": "Enables or disables the accessibility extension api. Thi s must be set to true before event listeners or getFocusedControl will work.",
180 "parameters": [ 185 "parameters": [
181 { 186 {
182 "type": "boolean", 187 "type": "boolean",
(...skipping 181 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 { 369 {
365 "type": "boolean", 370 "type": "boolean",
366 "name": "makeAnnouncements", 371 "name": "makeAnnouncements",
367 "description": "Whether to make introductory announcements." 372 "description": "Whether to make introductory announcements."
368 } 373 }
369 ] 374 ]
370 } 375 }
371 ] 376 ]
372 } 377 }
373 ] 378 ]
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/accessibility/accessibility_event_router_views.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698