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 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 "name": "canEdit", | 202 "name": "canEdit", |
203 "type": "function", | 203 "type": "function", |
204 "description": "Whether bookmarks can be modified.", | 204 "description": "Whether bookmarks can be modified.", |
205 "parameters": [ | 205 "parameters": [ |
206 {"type": "function", "name": "callback", "parameters": [ | 206 {"type": "function", "name": "callback", "parameters": [ |
207 {"name": "result", "type": "boolean"} | 207 {"name": "result", "type": "boolean"} |
208 ]} | 208 ]} |
209 ] | 209 ] |
210 }, | 210 }, |
211 { | 211 { |
212 "name": "canOpenNewWindows", | |
213 "type": "function", | |
214 "description": "Whether bookmarks can be opened in new windows.", | |
215 "parameters": [ | |
216 {"type": "function", "name": "callback", "parameters": [ | |
217 {"name": "result", "type": "boolean"} | |
218 ]} | |
219 ] | |
220 }, | |
221 { | |
222 "name": "removeTrees", | 212 "name": "removeTrees", |
223 "type": "function", | 213 "type": "function", |
224 "description": "Recursively removes list of bookmarks nodes.", | 214 "description": "Recursively removes list of bookmarks nodes.", |
225 "parameters": [ | 215 "parameters": [ |
226 { | 216 { |
227 "name": "idList", | 217 "name": "idList", |
228 "description": "An array of string-valued ids.", | 218 "description": "An array of string-valued ids.", |
229 "type": "array", | 219 "type": "array", |
230 "items": {"type": "string"}, | 220 "items": {"type": "string"}, |
231 "minItems": 1 | 221 "minItems": 1 |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
436 "type": "function", | 426 "type": "function", |
437 "description": "Fired when the meta info of a node changes.", | 427 "description": "Fired when the meta info of a node changes.", |
438 "parameters": [ | 428 "parameters": [ |
439 {"name": "id", "type": "string"}, | 429 {"name": "id", "type": "string"}, |
440 {"name": "metaInfoChanges", "$ref": "MetaInfoFields"} | 430 {"name": "metaInfoChanges", "$ref": "MetaInfoFields"} |
441 ] | 431 ] |
442 } | 432 } |
443 ] | 433 ] |
444 } | 434 } |
445 ] | 435 ] |
OLD | NEW |