OLD | NEW |
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 Loading... |
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.", |
| 284 "optional": true |
| 285 }, |
281 "details": { | 286 "details": { |
282 "description": "Other details like the state, depending on the type
of object.", | 287 "description": "Other details like the state, depending on the type
of object.", |
283 "optional": true, | 288 "optional": true, |
284 "choices": [ | 289 "choices": [ |
285 { "$ref": "CheckboxDetails" }, | 290 { "$ref": "CheckboxDetails" }, |
286 { "$ref": "ComboBoxDetails" }, | 291 { "$ref": "ComboBoxDetails" }, |
287 { "$ref": "MenuDetails" }, | 292 { "$ref": "MenuDetails" }, |
288 { "$ref": "MenuItemDetails" }, | 293 { "$ref": "MenuItemDetails" }, |
289 { "$ref": "RadioButtonDetails" }, | 294 { "$ref": "RadioButtonDetails" }, |
290 { "$ref": "TabDetails" }, | 295 { "$ref": "TabDetails" }, |
(...skipping 9056 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9347 } | 9352 } |
9348 } | 9353 } |
9349 } | 9354 } |
9350 ] | 9355 ] |
9351 } | 9356 } |
9352 ] | 9357 ] |
9353 } | 9358 } |
9354 ] | 9359 ] |
9355 } | 9360 } |
9356 ] | 9361 ] |
OLD | NEW |