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 5366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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"], | 5387 "enum": ["regular", "incognito_persistent"], |
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)." | 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)." |
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"], | 5414 "enum": ["regular", "incognito_persistent"], |
5415 "optional": true, | 5415 "optional": true, |
5416 "description": "Where to clear the preference (default: regu
lar). 'regular' = preference for regular profile (which is inherited by the inco
gnito profile if not overridden elsewhere)." | 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)." |
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 |