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 1124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1135 {"type": "integer", "name": "tabId", "minimum": 0}, | 1135 {"type": "integer", "name": "tabId", "minimum": 0}, |
1136 { | 1136 { |
1137 "type": "object", | 1137 "type": "object", |
1138 "name": "updateProperties", | 1138 "name": "updateProperties", |
1139 "properties": { | 1139 "properties": { |
1140 "url": { | 1140 "url": { |
1141 "optional": true, | 1141 "optional": true, |
1142 "description": "A URL to navigate the tab to." | 1142 "description": "A URL to navigate the tab to." |
1143 }, | 1143 }, |
1144 "selected": { | 1144 "selected": { |
1145 "type": "boolean", | 1145 "type": "boolean", |
1146 "optional": true, | 1146 "optional": true, |
1147 "description": "Whether the tab should be selected." | 1147 "description": "Whether the tab should be selected." |
1148 }, | 1148 }, |
1149 "pinned": { | 1149 "pinned": { |
1150 "type": "boolean", | 1150 "type": "boolean", |
1151 "optional": true, | 1151 "optional": true, |
1152 "description": "Whether the tab should be pinned." | 1152 "description": "Whether the tab should be pinned." |
1153 } | 1153 } |
1154 } | 1154 } |
1155 }, | 1155 }, |
1156 { | 1156 { |
1157 "type": "function", | 1157 "type": "function", |
1158 "name": "callback", | 1158 "name": "callback", |
1159 "optional": true, | 1159 "optional": true, |
1160 "parameters": [ | 1160 "parameters": [ |
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1450 } | 1450 } |
1451 } | 1451 } |
1452 ] | 1452 ] |
1453 }, | 1453 }, |
1454 { | 1454 { |
1455 "name": "onRemoved", | 1455 "name": "onRemoved", |
1456 "type": "function", | 1456 "type": "function", |
1457 "description": "Fires when a tab is closed. Note: A listener can be regi
stered for this event without requesting the 'tabs' permission in the manifest."
, | 1457 "description": "Fires when a tab is closed. Note: A listener can be regi
stered for this event without requesting the 'tabs' permission in the manifest."
, |
1458 "parameters": [ | 1458 "parameters": [ |
1459 {"type": "integer", "name": "tabId", "minimum": 0}, | 1459 {"type": "integer", "name": "tabId", "minimum": 0}, |
1460 { | 1460 { |
1461 "type": "object", | 1461 "type": "object", |
1462 "name": "removeInfo", | 1462 "name": "removeInfo", |
1463 "properties": { | 1463 "properties": { |
1464 "isWindowClosing": {"type": "boolean", "description": "True when t
he tab is being closed because its window is being closed." } | 1464 "isWindowClosing": {"type": "boolean", "description": "True when t
he tab is being closed because its window is being closed." } |
1465 } | 1465 } |
1466 } | 1466 } |
1467 ] | 1467 ] |
1468 } | 1468 } |
1469 ] | 1469 ] |
1470 }, | 1470 }, |
1471 { | 1471 { |
1472 "namespace": "pageActions", | 1472 "namespace": "pageActions", |
1473 "nodoc": true, | 1473 "nodoc": true, |
1474 "types": [], | 1474 "types": [], |
1475 "functions": [ | 1475 "functions": [ |
1476 { | 1476 { |
(...skipping 1752 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3229 "name": "setEnabled", | 3229 "name": "setEnabled", |
3230 "type": "function", | 3230 "type": "function", |
3231 "description": "Set the user preference to send UMA and crash reports to
Google.", | 3231 "description": "Set the user preference to send UMA and crash reports to
Google.", |
3232 "parameters": [ | 3232 "parameters": [ |
3233 {"name": "enabled", "type": "boolean", "description": "True for settin
g Chrome to actively send UMA and crash reports, false for disabling this."}, | 3233 {"name": "enabled", "type": "boolean", "description": "True for settin
g Chrome to actively send UMA and crash reports, false for disabling this."}, |
3234 { | 3234 { |
3235 "type": "function", | 3235 "type": "function", |
3236 "name": "callback", | 3236 "name": "callback", |
3237 "parameters": [ | 3237 "parameters": [ |
3238 { | 3238 { |
3239 "name": "enabled", | 3239 "name": "enabled", |
3240 "type": "boolean", | 3240 "type": "boolean", |
3241 "description": "The actual value set. If it is not the one passe
d in parameter, the value couldn't be changed (e.g. because of security)." | 3241 "description": "The actual value set. If it is not the one passe
d in parameter, the value couldn't be changed (e.g. because of security)." |
3242 } | 3242 } |
3243 ] | 3243 ] |
3244 } | 3244 } |
3245 ] | 3245 ] |
3246 }, | 3246 }, |
3247 { | 3247 { |
3248 "name": "recordUserAction", | 3248 "name": "recordUserAction", |
3249 "type": "function", | 3249 "type": "function", |
3250 "description": "Records an action performed by the user.", | 3250 "description": "Records an action performed by the user.", |
3251 "parameters": [ | 3251 "parameters": [ |
3252 {"name": "name", "type": "string"} | 3252 {"name": "name", "type": "string"} |
3253 ] | 3253 ] |
3254 }, | 3254 }, |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3369 { | 3369 { |
3370 "name": "callback", | 3370 "name": "callback", |
3371 "type": "function", | 3371 "type": "function", |
3372 "parameters": [ | 3372 "parameters": [ |
3373 { | 3373 { |
3374 "name": "propertiesDictionary", | 3374 "name": "propertiesDictionary", |
3375 "type": "object", | 3375 "type": "object", |
3376 "description": "Dictionary which contains all requested properti
es", | 3376 "description": "Dictionary which contains all requested properti
es", |
3377 "properties": { | 3377 "properties": { |
3378 "hwid": {"type": "string", "optional": "true", "description":
"Hardware ID"}, | 3378 "hwid": {"type": "string", "optional": "true", "description":
"Hardware ID"}, |
3379 "homeProvider" : {"type": "string", "optional": "true", "descr
iption": "Home provider which is used by the cellular device"} | 3379 "homeProvider" : {"type": "string", "optional": "true", "descr
iption": "Home provider which is used by the cellular device"}, |
| 3380 "initialLocale" : {"type": "string", "optional": "true", "desc
ription": "Initial locale for the device"} |
3380 } | 3381 } |
3381 } | 3382 } |
3382 ] | 3383 ] |
3383 } | 3384 } |
3384 ] | 3385 ] |
3385 } | 3386 } |
3386 ] | 3387 ] |
3387 }, | 3388 }, |
3388 { | 3389 { |
3389 "namespace": "cookies", | 3390 "namespace": "cookies", |
(...skipping 2114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5504 "minLength": 1, | 5505 "minLength": 1, |
5505 "description": "hostname to which TCP connection is requested." | 5506 "description": "hostname to which TCP connection is requested." |
5506 }, | 5507 }, |
5507 { | 5508 { |
5508 "type": "integer", | 5509 "type": "integer", |
5509 "name": "port", | 5510 "name": "port", |
5510 "minimum": 1, | 5511 "minimum": 1, |
5511 "maximum": 65535, | 5512 "maximum": 65535, |
5512 "description": "TCP port number." | 5513 "description": "TCP port number." |
5513 }, | 5514 }, |
5514 { | 5515 { |
5515 "type": "function", | 5516 "type": "function", |
5516 "name": "callback", | 5517 "name": "callback", |
5517 "parameters": [ | 5518 "parameters": [ |
5518 { | 5519 { |
5519 "type": "string", | 5520 "type": "string", |
5520 "name": "passport", | 5521 "name": "passport", |
5521 "description": "Passport for passing to proxy." | 5522 "description": "Passport for passing to proxy." |
5522 } | 5523 } |
5523 ] | 5524 ] |
5524 } | 5525 } |
5525 ] | 5526 ] |
5526 } | 5527 } |
5527 ], | 5528 ], |
5528 "events": [] | 5529 "events": [] |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5809 { | 5810 { |
5810 "type": "integer", | 5811 "type": "integer", |
5811 "name": "tabId", | 5812 "name": "tabId", |
5812 "description": "The id of the tab that was detached." | 5813 "description": "The id of the tab that was detached." |
5813 } | 5814 } |
5814 ] | 5815 ] |
5815 } | 5816 } |
5816 ] | 5817 ] |
5817 } | 5818 } |
5818 ] | 5819 ] |
OLD | NEW |