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

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
OLDNEW
1 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "types": [ 4 "types": [
5 { 5 {
6 "id": "MessageSender", 6 "id": "MessageSender",
7 "type": "object", 7 "type": "object",
8 "description": "An object containing information about the script contex t that sent a message or request.", 8 "description": "An object containing information about the script contex t that sent a message or request.",
9 "properties": { 9 "properties": {
10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."}, 10 "tab": {"$ref": "Tab", "optional": true, "description":"This property will <b>only</b> be present when the connection was opened from a tab or content script."},
(...skipping 260 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 "properties": { 271 "properties": {
272 "type": { 272 "type": {
273 "type": "string", 273 "type": "string",
274 "description": "The type of this object, which determines the conten ts of 'details'.", 274 "description": "The type of this object, which determines the conten ts of 'details'.",
275 "enum": ["button", "checkbox", "combobox", "link", "menu", "menuitem ", "radiobutton", "tab", "textbox", "window"] 275 "enum": ["button", "checkbox", "combobox", "link", "menu", "menuitem ", "radiobutton", "tab", "textbox", "window"]
276 }, 276 },
277 "name": { 277 "name": {
278 "type": "string", 278 "type": "string",
279 "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." 279 "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."
280 }, 280 },
281 "context": {
282 "type": "string",
283 "description": "The localized name of the context for the object, li ke the name of the surrounding toolbar or group of controls."
hashimoto 2011/12/07 23:07:35 Add "optional": true
dmazzoni 2011/12/07 23:34:12 Done.
284 },
281 "details": { 285 "details": {
282 "description": "Other details like the state, depending on the type of object.", 286 "description": "Other details like the state, depending on the type of object.",
283 "optional": true, 287 "optional": true,
284 "choices": [ 288 "choices": [
285 { "$ref": "CheckboxDetails" }, 289 { "$ref": "CheckboxDetails" },
286 { "$ref": "ComboBoxDetails" }, 290 { "$ref": "ComboBoxDetails" },
287 { "$ref": "MenuDetails" }, 291 { "$ref": "MenuDetails" },
288 { "$ref": "MenuItemDetails" }, 292 { "$ref": "MenuItemDetails" },
289 { "$ref": "RadioButtonDetails" }, 293 { "$ref": "RadioButtonDetails" },
290 { "$ref": "TabDetails" }, 294 { "$ref": "TabDetails" },
(...skipping 9056 matching lines...) Expand 10 before | Expand all | Expand 10 after
9347 } 9351 }
9348 } 9352 }
9349 } 9353 }
9350 ] 9354 ]
9351 } 9355 }
9352 ] 9356 ]
9353 } 9357 }
9354 ] 9358 ]
9355 } 9359 }
9356 ] 9360 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698