Chromium Code Reviews

Side by Side Diff: chrome/common/extensions/api/extension_api.json

Issue 6193001: Add a note to tabs.onCreated documentation that the url might not be defined.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/common/extensions/docs/tabs.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1300 matching lines...)
1311 "description": "Called when all the CSS has been inserted.", 1311 "description": "Called when all the CSS has been inserted.",
1312 "parameters": [] 1312 "parameters": []
1313 } 1313 }
1314 ] 1314 ]
1315 } 1315 }
1316 ], 1316 ],
1317 "events": [ 1317 "events": [
1318 { 1318 {
1319 "name": "onCreated", 1319 "name": "onCreated",
1320 "type": "function", 1320 "type": "function",
1321 "description": "Fires when a tab is created.", 1321 "description": "Fires when a tab is created. Note that the tab's url may not be set at the time this event fires, but you can listen to onUpdated events to be notified when an url is set.",
kathyw 2011/01/07 20:06:14 A couple of nitpicky comments: url -> URL (x2) an
1322 "parameters": [ 1322 "parameters": [
1323 { 1323 {
1324 "$ref": "Tab", 1324 "$ref": "Tab",
1325 "name": "tab", 1325 "name": "tab",
1326 "description": "Details of the tab that was created." 1326 "description": "Details of the tab that was created."
1327 } 1327 }
1328 ] 1328 ]
1329 }, 1329 },
1330 { 1330 {
1331 "name": "onUpdated", 1331 "name": "onUpdated",
(...skipping 3135 matching lines...)
4467 "token": { "type": "string", "optional": true } 4467 "token": { "type": "string", "optional": true }
4468 } 4468 }
4469 } 4469 }
4470 ] 4470 ]
4471 } 4471 }
4472 ] 4472 ]
4473 } 4473 }
4474 ] 4474 ]
4475 } 4475 }
4476 ] 4476 ]
OLDNEW
« no previous file with comments | « no previous file | chrome/common/extensions/docs/tabs.html » ('j') | no next file with comments »

Powered by Google App Engine