Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 [ | 1 [ |
| 2 { | 2 { |
| 3 "namespace": "bookmarks", | 3 "namespace": "bookmarks", |
| 4 "types": [ | 4 "types": [ |
| 5 { | 5 { |
| 6 "id": "BookmarkTreeNode", | 6 "id": "BookmarkTreeNode", |
| 7 "type": "object", | 7 "type": "object", |
| 8 "description": "A node (either a bookmark or a folder) in the bookmark t ree. Child nodes are ordered within their parent folder.", | 8 "description": "A node (either a bookmark or a folder) in the bookmark t ree. Child nodes are ordered within their parent folder.", |
| 9 "properties": { | 9 "properties": { |
| 10 "id": {"type": "string", "minimum": 0, "description": "The unique iden tifier for the node. IDs are unique within the current profile, and they remain valid even after the browser is restarted."}, | 10 "id": {"type": "string", "minimum": 0, "description": "The unique iden tifier for the node. IDs are unique within the current profile, and they remain valid even after the browser is restarted."}, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 126 }, | 126 }, |
| 127 { | 127 { |
| 128 "name": "create", | 128 "name": "create", |
| 129 "type": "function", | 129 "type": "function", |
| 130 "description": "Creates a bookmark or folder under the specified parentI d. If url is NULL or missing, it will be a folder.", | 130 "description": "Creates a bookmark or folder under the specified parentI d. If url is NULL or missing, it will be a folder.", |
| 131 "parameters": [ | 131 "parameters": [ |
| 132 { | 132 { |
| 133 "type": "object", | 133 "type": "object", |
| 134 "name": "bookmark", | 134 "name": "bookmark", |
| 135 "properties": { | 135 "properties": { |
| 136 "parentId": {"type": "string"}, | 136 "parentId": {"type": "string", "optional": true}, |
|
Aaron Boodman
2012/02/29 20:56:48
Can you add a description of what this will defaul
cduvall
2012/03/02 01:31:25
Done.
| |
| 137 "index": {"type": "integer", "minimum": 0, "optional": true}, | 137 "index": {"type": "integer", "minimum": 0, "optional": true}, |
| 138 "title": {"type": "string", "optional": true}, | 138 "title": {"type": "string", "optional": true}, |
| 139 "url": {"type": "string", "optional": true} | 139 "url": {"type": "string", "optional": true} |
| 140 } | 140 } |
| 141 }, | 141 }, |
| 142 { | 142 { |
| 143 "type": "function", | 143 "type": "function", |
| 144 "name": "callback", | 144 "name": "callback", |
| 145 "optional": true, | 145 "optional": true, |
| 146 "parameters": [ | 146 "parameters": [ |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 320 }, | 320 }, |
| 321 { | 321 { |
| 322 "name": "onImportEnded", | 322 "name": "onImportEnded", |
| 323 "type": "function", | 323 "type": "function", |
| 324 "description": "Fired when a bookmark import session is ended.", | 324 "description": "Fired when a bookmark import session is ended.", |
| 325 "parameters": [] | 325 "parameters": [] |
| 326 } | 326 } |
| 327 ] | 327 ] |
| 328 } | 328 } |
| 329 ] | 329 ] |
| OLD | NEW |