| 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": "bookmarks", | 7 "namespace": "bookmarks", |
| 8 "uses_feature_system": true, | 8 "uses_feature_system": true, |
| 9 "supported_channel": "stable", |
| 9 "dependencies": ["permission:bookmarks"], | 10 "dependencies": ["permission:bookmarks"], |
| 10 "contexts": ["blessed_extension"], | 11 "contexts": ["blessed_extension"], |
| 11 "types": [ | 12 "types": [ |
| 12 { | 13 { |
| 13 "id": "BookmarkTreeNode", | 14 "id": "BookmarkTreeNode", |
| 14 "type": "object", | 15 "type": "object", |
| 15 "description": "A node (either a bookmark or a folder) in the bookmark t
ree. Child nodes are ordered within their parent folder.", | 16 "description": "A node (either a bookmark or a folder) in the bookmark t
ree. Child nodes are ordered within their parent folder.", |
| 16 "properties": { | 17 "properties": { |
| 17 "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."}, | 18 "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."}, |
| 18 "parentId": {"type": "string", "minimum": 0, "optional": true, "descri
ption": "The <code>id</code> of the parent folder. Omitted for the root node."}
, | 19 "parentId": {"type": "string", "minimum": 0, "optional": true, "descri
ption": "The <code>id</code> of the parent folder. Omitted for the root node."}
, |
| (...skipping 311 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 330 }, | 331 }, |
| 331 { | 332 { |
| 332 "name": "onImportEnded", | 333 "name": "onImportEnded", |
| 333 "type": "function", | 334 "type": "function", |
| 334 "description": "Fired when a bookmark import session is ended.", | 335 "description": "Fired when a bookmark import session is ended.", |
| 335 "parameters": [] | 336 "parameters": [] |
| 336 } | 337 } |
| 337 ] | 338 ] |
| 338 } | 339 } |
| 339 ] | 340 ] |
| OLD | NEW |