Chromium Code Reviews| 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 4462 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4473 { | 4473 { |
| 4474 "name": "onDisabled", | 4474 "name": "onDisabled", |
| 4475 "description": "Fired when an app or extension has been disabled", | 4475 "description": "Fired when an app or extension has been disabled", |
| 4476 "type": "function", | 4476 "type": "function", |
| 4477 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] | 4477 "parameters": [{"name": "info", "$ref":"ExtensionInfo"}] |
| 4478 } | 4478 } |
| 4479 ] | 4479 ] |
| 4480 }, | 4480 }, |
| 4481 | 4481 |
| 4482 { | 4482 { |
| 4483 "namespace":"fileSystem", | |
| 4484 "nodoc": "true", | |
| 4485 "functions": [ | |
| 4486 { | |
| 4487 "name": "resolveLocalFileSystemURL", | |
| 4488 "description": "Allows the user to look up the Entry for a file or direc tory referred to by a local URL. ", | |
| 4489 "parameters": [ | |
| 4490 { | |
| 4491 "name": "url", | |
| 4492 "type": "string", | |
| 4493 "description": "A URL referring to a local file in a filesystem." | |
| 4494 }, | |
| 4495 { | |
| 4496 "name": "callback", | |
| 4497 "type": "function", | |
| 4498 "optional": "false", | |
| 4499 "parameters": [ | |
| 4500 { | |
| 4501 "name" : "entry", | |
| 4502 "type": "object", | |
| 4503 "optional": "true", | |
| 4504 "description": "An Entry as a response to a file resolution requ est. It will have value of null if the request failed." | |
| 4505 } | |
| 4506 ] | |
| 4507 } | |
| 4508 ] | |
| 4509 } | |
| 4510 ] | |
| 4511 }, | |
| 4512 | |
| 4513 { | |
| 4483 "namespace":"fileBrowserPrivate", | 4514 "namespace":"fileBrowserPrivate", |
| 4484 "nodoc": "true", | 4515 "nodoc": "true", |
| 4516 "types": [ | |
| 4517 { | |
| 4518 "id": "FileBrowserTask", | |
| 4519 "type": "object", | |
| 4520 "description": "Represents information about avaialble browser tasks.", | |
|
ericu
2011/03/31 21:31:06
typo: available
zel
2011/04/01 03:01:35
Done.
| |
| 4521 "properties": { | |
| 4522 "taskId": {"type": "string", "description": "The unique identifier of the task."}, | |
| 4523 "title": {"type": "string", "description": "Task title."}, | |
| 4524 "iconUrl": {"type": "string", "description": "Task icon url (from chro me://extension-icon/...)"} | |
| 4525 } | |
| 4526 } | |
| 4527 ], | |
| 4485 "functions": [ | 4528 "functions": [ |
| 4486 { | 4529 { |
| 4487 "name": "requestLocalFileSystem", | 4530 "name": "requestLocalFileSystem", |
| 4488 "description": "Requests access to local file system", | 4531 "description": "Requests access to local file system", |
| 4489 "parameters": [ | 4532 "parameters": [ |
| 4490 { | 4533 { |
| 4491 "name": "callback", | 4534 "name": "callback", |
| 4492 "type": "function", | 4535 "type": "function", |
| 4493 "optional": "false", | 4536 "optional": "false", |
| 4494 "parameters": [ | 4537 "parameters": [ |
| 4495 { | 4538 { |
| 4539 "name" : "fileSystem", | |
| 4496 "type": "object", | 4540 "type": "object", |
| 4497 "isInstanceOf": "DOMFileSystem" | 4541 "optional": "true", |
| 4542 "description": "An DOMFileSystem instance for local file system access. null if the caller has no appropriate permissions." | |
| 4543 } | |
| 4544 ] | |
| 4545 } | |
| 4546 ] | |
| 4547 }, | |
| 4548 { | |
| 4549 "name": "getFileTasks", | |
| 4550 "description": "Requests access to local file system", | |
| 4551 "parameters": [ | |
| 4552 { | |
| 4553 "name": "fileURLs", | |
| 4554 "type": "array", | |
| 4555 "description": "Array of selected file URLs", | |
| 4556 "items": { "type": "string" } | |
| 4557 }, | |
| 4558 { | |
| 4559 "name": "callback", | |
| 4560 "type": "function", | |
| 4561 "optional": "false", | |
| 4562 "parameters": [ | |
| 4563 { | |
| 4564 "name": "tasks", | |
| 4565 "type": "array", | |
| 4566 "items": {"$ref": "FileBrowserTask"}, | |
| 4567 "description": "The list of avalable tasks that can be performed on all of the passed file paths." | |
|
ericu
2011/03/31 21:31:06
typo: available
zel
2011/04/01 03:01:35
Done.
| |
| 4568 } | |
| 4569 ] | |
| 4570 } | |
| 4571 ] | |
| 4572 }, | |
| 4573 { | |
| 4574 "name": "executeTask", | |
| 4575 "description": "Executes file browser task over selected files", | |
| 4576 "parameters": [ | |
| 4577 { | |
| 4578 "name": "taskId", | |
| 4579 "type": "string", | |
| 4580 "description": "The unique identifier of task to execute." | |
| 4581 }, | |
| 4582 { | |
| 4583 "name": "fileURLs", | |
| 4584 "type": "array", | |
| 4585 "description": "Array of file URLs", | |
| 4586 "items": { "type": "string" } | |
| 4587 }, | |
| 4588 { | |
| 4589 "name": "callback", | |
| 4590 "type": "function", | |
| 4591 "optional": "false", | |
| 4592 "parameters": [ | |
| 4593 { | |
| 4594 "name": "success", | |
| 4595 "type": "boolean", | |
| 4596 "optional": "true", | |
| 4597 "description": "True of task executution was successfully initia ted." | |
|
ericu
2011/03/31 21:31:06
typo: execution
zel
2011/04/01 03:01:35
Done.
| |
| 4498 } | 4598 } |
| 4499 ] | 4599 ] |
| 4500 } | 4600 } |
| 4501 ] | 4601 ] |
| 4502 } | 4602 } |
| 4503 ] | 4603 ] |
| 4504 }, | 4604 }, |
| 4505 | 4605 |
| 4506 { | 4606 { |
| 4507 "namespace":"webstorePrivate", | 4607 "namespace":"webstorePrivate", |
| (...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 4878 { | 4978 { |
| 4879 "type": "integer", | 4979 "type": "integer", |
| 4880 "name": "tabId", | 4980 "name": "tabId", |
| 4881 "description": "The id of the tab that was detached." | 4981 "description": "The id of the tab that was detached." |
| 4882 } | 4982 } |
| 4883 ] | 4983 ] |
| 4884 } | 4984 } |
| 4885 ] | 4985 ] |
| 4886 } | 4986 } |
| 4887 ] | 4987 ] |
| OLD | NEW |