OLD | NEW |
---|---|
1 [ | 1 [ |
2 { | 2 { |
3 "namespace": "extension", | 3 "namespace": "extension", |
4 "unprivileged": true, | 4 "unprivileged": true, |
5 "types": [ | 5 "types": [ |
6 { | 6 { |
7 "id": "MessageSender", | 7 "id": "MessageSender", |
8 "type": "object", | 8 "type": "object", |
9 "description": "An object containing information about the script contex t that sent a message or request.", | 9 "description": "An object containing information about the script contex t that sent a message or request.", |
10 "properties": { | 10 "properties": { |
(...skipping 5337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5348 "type": "object", | 5348 "type": "object", |
5349 "description": "Details of the currently effective preferenc e value.", | 5349 "description": "Details of the currently effective preferenc e value.", |
5350 "properties": { | 5350 "properties": { |
5351 "value": { | 5351 "value": { |
5352 "description": "The value of the preference.", | 5352 "description": "The value of the preference.", |
5353 "type": "any" | 5353 "type": "any" |
5354 }, | 5354 }, |
5355 "levelOfControl": { | 5355 "levelOfControl": { |
5356 "description": "One of<br><var>NotControllable</var>: ca nnot be controlled by any extension<br><var>ControlledByOtherExtensions</var>: c ontrolled by extensions with higher precedence<br><var>ControllableByThisExtensi on</var>: can be controlled by this extension<br><var>ControlledByThisExtension< /var>: controlled by this extension", | 5356 "description": "One of<br><var>NotControllable</var>: ca nnot be controlled by any extension<br><var>ControlledByOtherExtensions</var>: c ontrolled by extensions with higher precedence<br><var>ControllableByThisExtensi on</var>: can be controlled by this extension<br><var>ControlledByThisExtension< /var>: controlled by this extension", |
5357 "type": "string", | 5357 "type": "string", |
5358 "enum": ["NotControllable", "ControlledByOtherExtensions ", "ControllableByThisExtension", "ControlledByThisExtension"] | 5358 "enum": ["NotControllable", "ControlledByOtherExtensions ", "ControllableByThisExtension", "ControlledByThisExtension"] |
Matt Perry
2011/05/24 22:07:17
Sorry for not noticing this sooner, but we should
battre
2011/05/25 11:51:30
Will do in a separate CL as it is currently not su
| |
5359 }, | 5359 }, |
5360 "incognitoSpecific": { | 5360 "incognitoSpecific": { |
5361 "description": "Whether the effective value is specific to the incognito session.<br>This property will <em>only</em> be present if the <var>incognito</var> property in the <var>details</var> parameter of <code>get() </code> was true.", | 5361 "description": "Whether the effective value is specific to the incognito session.<br>This property will <em>only</em> be present if the <var>incognito</var> property in the <var>details</var> parameter of <code>get() </code> was true.", |
5362 "type": "boolean", | 5362 "type": "boolean", |
5363 "optional": true | 5363 "optional": true |
5364 } | 5364 } |
5365 } | 5365 } |
5366 } | 5366 } |
5367 ] | 5367 ] |
5368 } | 5368 } |
5369 ] | 5369 ] |
5370 }, | 5370 }, |
5371 { | 5371 { |
5372 "name": "set", | 5372 "name": "set", |
5373 "type": "function", | 5373 "type": "function", |
5374 "description": "Set the setting in the user preferences", | 5374 "description": "Set the setting in the user preferences", |
5375 "parameters": [ | 5375 "parameters": [ |
5376 { | 5376 { |
5377 "name": "details", | 5377 "name": "details", |
5378 "type": "object", | 5378 "type": "object", |
5379 "description": "What setting to change.", | 5379 "description": "What setting to change.", |
5380 "properties": { | 5380 "properties": { |
5381 "value": { | 5381 "value": { |
5382 "description": "The value of the preference. <br>Note that e very preference has a specific value type, which is described together with the preference. An extension should <em>not</em> set a preference value of a differe nt type.", | 5382 "description": "The value of the preference. <br>Note that e very preference has a specific value type, which is described together with the preference. An extension should <em>not</em> set a preference value of a differe nt type.", |
5383 "type": "any" | 5383 "type": "any" |
5384 }, | 5384 }, |
5385 "scope": { | 5385 "scope": { |
5386 "type": "string", | 5386 "type": "string", |
5387 "enum": ["regular", "incognito_persistent"], | 5387 "enum": ["regular", "incognito_persistent", "incognito_sessi on_only"], |
5388 "optional": true, | 5388 "optional": true, |
5389 "description": "Where to set the preference (default: regula r). 'regular' = preference for regular profile (which is inherited by the incogn ito profile if not overridden elsewhere), 'incognito_persistent' = preference fo r incognito profile that sustains browser restarts (overrides regular preference s)." | 5389 "description": "Where to set the preference (default: regula r). One of <br><var>regular</var>: preference for regular profile (which is inhe rited by the incognito profile if not overridden elsewhere), 'incognito_persiste nt' = preference for incognito profile that sustains browser restarts (overrides regular preferences)." |
Matt Perry
2011/05/24 22:07:17
doesn't explain incognito_session_only
battre
2011/05/25 11:51:30
Done.
| |
5390 } | 5390 } |
5391 } | 5391 } |
5392 }, | 5392 }, |
5393 { | 5393 { |
5394 "name": "callback", | 5394 "name": "callback", |
5395 "type": "function", | 5395 "type": "function", |
5396 "description": "Called after the preference has been set.", | 5396 "description": "Called after the preference has been set.", |
5397 "optional": true, | 5397 "optional": true, |
5398 "parameters": [] | 5398 "parameters": [] |
5399 } | 5399 } |
5400 ] | 5400 ] |
5401 }, | 5401 }, |
5402 { | 5402 { |
5403 "name": "clear", | 5403 "name": "clear", |
5404 "type": "function", | 5404 "type": "function", |
5405 "description": "Clears the setting in the user preferences. This way default settings can become effective again.", | 5405 "description": "Clears the setting in the user preferences. This way default settings can become effective again.", |
5406 "parameters": [ | 5406 "parameters": [ |
5407 { | 5407 { |
5408 "name": "details", | 5408 "name": "details", |
5409 "type": "object", | 5409 "type": "object", |
5410 "description": "What preference to clear.", | 5410 "description": "What preference to clear.", |
5411 "properties": { | 5411 "properties": { |
5412 "scope": { | 5412 "scope": { |
5413 "type": "string", | 5413 "type": "string", |
5414 "enum": ["regular", "incognito_persistent"], | 5414 "enum": ["regular", "incognito_persistent", "incognito_sessi on_only"], |
5415 "optional": true, | 5415 "optional": true, |
5416 "description": "Where to set the preference (default: regula r). 'regular' = preference for regular profile (which is inherited by the incogn ito profile if not overridden elsewhere), 'incognito_persistent' = preference fo r incognito profile that sustains browser restarts (overrides regular preference s)." | 5416 "description": "Where to set the preference (default: regula r). One of<br><var>'regular'</var>: preference for regular profile (which is inh erited by the incognito profile if not overridden elsewhere),<br><var>incognito_ persistent</var>: preference for incognito profile that sustains browser restart s (overrides regular preferences),<br><var>incognito_session_only</var>: prefere nce for incognito profile that can only be set during an incognito session and i s deleted when the incognito session ends (overrides regular and incognito_persi stent' preferences)." |
Bernhard Bauer
2011/05/24 21:43:57
Nit: s/sustains/survives/?
Matt Perry
2011/05/24 22:07:17
last apostrophe unnecessary.
Copy this descriptio
battre
2011/05/25 11:51:30
Done.
battre
2011/05/25 11:51:30
Done.
| |
5417 } | 5417 } |
5418 } | 5418 } |
5419 }, | 5419 }, |
5420 { | 5420 { |
5421 "name": "callback", | 5421 "name": "callback", |
5422 "type": "function", | 5422 "type": "function", |
5423 "description": "Called after the preference has been cleared.", | 5423 "description": "Called after the preference has been cleared.", |
5424 "optional": true, | 5424 "optional": true, |
5425 "parameters": [] | 5425 "parameters": [] |
5426 } | 5426 } |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5595 { | 5595 { |
5596 "type": "integer", | 5596 "type": "integer", |
5597 "name": "tabId", | 5597 "name": "tabId", |
5598 "description": "The id of the tab that was detached." | 5598 "description": "The id of the tab that was detached." |
5599 } | 5599 } |
5600 ] | 5600 ] |
5601 } | 5601 } |
5602 ] | 5602 ] |
5603 } | 5603 } |
5604 ] | 5604 ] |
OLD | NEW |