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

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

Issue 8850004: Add a context field to the accessibility extension API. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/ui/views/accessibility_event_router_views_unittest.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 [ 1 [
2 { 2 {
3 "namespace": "experimental.accessibility", 3 "namespace": "experimental.accessibility",
4 "nodoc": true, 4 "nodoc": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "AccessibilityObject", 7 "id": "AccessibilityObject",
8 "type": "object", 8 "type": "object",
9 "description": "Parent class for accessibility information about an obje ct.", 9 "description": "Parent class for accessibility information about an obje ct.",
10 "properties": { 10 "properties": {
11 "type": { 11 "type": {
12 "type": "string", 12 "type": "string",
13 "description": "The type of this object, which determines the conten ts of 'details'.", 13 "description": "The type of this object, which determines the conten ts of 'details'.",
14 "enum": ["button", "checkbox", "combobox", "link", "menu", "menuitem ", "radiobutton", "tab", "textbox", "window"] 14 "enum": ["button", "checkbox", "combobox", "link", "menu", "menuitem ", "radiobutton", "tab", "textbox", "window"]
15 }, 15 },
16 "name": { 16 "name": {
17 "type": "string", 17 "type": "string",
18 "description": "The localized name of the object, like OK or Passwor d. Do not rely on an exact string match because the text will be in the user's l anguage and may change in the future." 18 "description": "The localized name of the object, like OK or Passwor d. Do not rely on an exact string match because the text will be in the user's l anguage and may change in the future."
19 }, 19 },
20 "context": {
21 "type": "string",
22 "description": "The localized name of the context for the object, li ke the name of the surrounding toolbar or group of controls.",
23 "optional": true
24 },
20 "details": { 25 "details": {
21 "description": "Other details like the state, depending on the type of object.", 26 "description": "Other details like the state, depending on the type of object.",
22 "optional": true, 27 "optional": true,
23 "choices": [ 28 "choices": [
24 { "$ref": "CheckboxDetails" }, 29 { "$ref": "CheckboxDetails" },
25 { "$ref": "ComboBoxDetails" }, 30 { "$ref": "ComboBoxDetails" },
26 { "$ref": "MenuDetails" }, 31 { "$ref": "MenuDetails" },
27 { "$ref": "MenuItemDetails" }, 32 { "$ref": "MenuItemDetails" },
28 { "$ref": "RadioButtonDetails" }, 33 { "$ref": "RadioButtonDetails" },
29 { "$ref": "TabDetails" }, 34 { "$ref": "TabDetails" },
(...skipping 9210 matching lines...) Expand 10 before | Expand all | Expand 10 after
9240 "enum": ["enabled", "disabled", "forced"], 9245 "enum": ["enabled", "disabled", "forced"],
9241 "description": "Exposes whether the incognito mode is available to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito mode), 'forced' (all pages/sessions are forced into Incognito mode)." 9246 "description": "Exposes whether the incognito mode is available to windows. One of 'enabled', 'disabled' (user cannot browse pages in Incognito mode), 'forced' (all pages/sessions are forced into Incognito mode)."
9242 } 9247 }
9243 ] 9248 ]
9244 } 9249 }
9245 ] 9250 ]
9246 } 9251 }
9247 ] 9252 ]
9248 } 9253 }
9249 ] 9254 ]
OLDNEW
« no previous file with comments | « chrome/browser/ui/views/accessibility_event_router_views_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698