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 }, |
| 175 { |
| 176 "type": "function", |
| 177 "name": "callback", |
| 178 "optional": true, |
| 179 "parameters": [] |
174 } | 180 } |
175 ] | 181 ] |
176 }, | 182 }, |
177 { | 183 { |
178 "name": "getSubtree", | 184 "name": "getSubtree", |
179 "type": "function", | 185 "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.", | 186 "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": [ | 187 "parameters": [ |
182 { | 188 { |
183 "name": "id", | 189 "name": "id", |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 "type": "function", | 432 "type": "function", |
427 "description": "Fired when the meta info of a node changes.", | 433 "description": "Fired when the meta info of a node changes.", |
428 "parameters": [ | 434 "parameters": [ |
429 {"name": "id", "type": "string"}, | 435 {"name": "id", "type": "string"}, |
430 {"name": "metaInfoChanges", "$ref": "MetaInfoFields"} | 436 {"name": "metaInfoChanges", "$ref": "MetaInfoFields"} |
431 ] | 437 ] |
432 } | 438 } |
433 ] | 439 ] |
434 } | 440 } |
435 ] | 441 ] |
OLD | NEW |