| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 [ | 5 [ |
| 6 { | 6 { |
| 7 "namespace": "bookmarkManagerPrivate", | 7 "namespace": "bookmarkManagerPrivate", |
| 8 "description": "none", | 8 "description": "none", |
| 9 "types": [ | 9 "types": [ |
| 10 { | 10 { |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 164 "name": "parentId", | 164 "name": "parentId", |
| 165 "description": "The ID of the folder that the drop was made.", | 165 "description": "The ID of the folder that the drop was made.", |
| 166 "type": "string" | 166 "type": "string" |
| 167 }, | 167 }, |
| 168 { | 168 { |
| 169 "name": "index", | 169 "name": "index", |
| 170 "description": "The index of the position to drop at. If left out th
e dropped items will be placed at the end of the existing children.", | 170 "description": "The index of the position to drop at. If left out th
e dropped items will be placed at the end of the existing children.", |
| 171 "type": "integer", | 171 "type": "integer", |
| 172 "minimum": 0, | 172 "minimum": 0, |
| 173 "optional": true | 173 "optional": true |
| 174 } | 174 }, |
| 175 {"type": "function", "name": "callback", "optional": true, "parameters
": []} |
| 175 ] | 176 ] |
| 176 }, | 177 }, |
| 177 { | 178 { |
| 178 "name": "getSubtree", | 179 "name": "getSubtree", |
| 179 "type": "function", | 180 "type": "function", |
| 180 "description": "Retrieves a bookmark hierarchy from the given node. If
the node id is empty, it is the full tree. If foldersOnly is true, it will only
return folders, not actual bookmarks.", | 181 "description": "Retrieves a bookmark hierarchy from the given node. If
the node id is empty, it is the full tree. If foldersOnly is true, it will only
return folders, not actual bookmarks.", |
| 181 "parameters": [ | 182 "parameters": [ |
| 182 { | 183 { |
| 183 "name": "id", | 184 "name": "id", |
| 184 "type": "string", | 185 "type": "string", |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 "type": "function", | 427 "type": "function", |
| 427 "description": "Fired when the meta info of a node changes.", | 428 "description": "Fired when the meta info of a node changes.", |
| 428 "parameters": [ | 429 "parameters": [ |
| 429 {"name": "id", "type": "string"}, | 430 {"name": "id", "type": "string"}, |
| 430 {"name": "metaInfoChanges", "$ref": "MetaInfoFields"} | 431 {"name": "metaInfoChanges", "$ref": "MetaInfoFields"} |
| 431 ] | 432 ] |
| 432 } | 433 } |
| 433 ] | 434 ] |
| 434 } | 435 } |
| 435 ] | 436 ] |
| OLD | NEW |