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 "channel": "stable", | 9 "channel": "stable", |
10 "dependencies": ["permission:bookmarks"], | 10 "dependencies": ["permission:bookmarks"], |
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
163 { | 163 { |
164 "name": "move", | 164 "name": "move", |
165 "type": "function", | 165 "type": "function", |
166 "description": "Moves the specified BookmarkTreeNode to the provided loc
ation.", | 166 "description": "Moves the specified BookmarkTreeNode to the provided loc
ation.", |
167 "parameters": [ | 167 "parameters": [ |
168 {"type": "string", "name": "id"}, | 168 {"type": "string", "name": "id"}, |
169 { | 169 { |
170 "type": "object", | 170 "type": "object", |
171 "name": "destination", | 171 "name": "destination", |
172 "properties": { | 172 "properties": { |
173 "parentId": {"type": "string"}, | 173 "parentId": {"type": "string", "optional": true}, |
174 "index": {"type": "integer", "minimum": 0, "optional": true} | 174 "index": {"type": "integer", "minimum": 0, "optional": true} |
175 } | 175 } |
176 }, | 176 }, |
177 { | 177 { |
178 "type": "function", | 178 "type": "function", |
179 "name": "callback", | 179 "name": "callback", |
180 "optional": true, | 180 "optional": true, |
181 "parameters": [ | 181 "parameters": [ |
182 {"name": "result", "$ref": "BookmarkTreeNode" } | 182 {"name": "result", "$ref": "BookmarkTreeNode" } |
183 ] | 183 ] |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 }, | 331 }, |
332 { | 332 { |
333 "name": "onImportEnded", | 333 "name": "onImportEnded", |
334 "type": "function", | 334 "type": "function", |
335 "description": "Fired when a bookmark import session is ended.", | 335 "description": "Fired when a bookmark import session is ended.", |
336 "parameters": [] | 336 "parameters": [] |
337 } | 337 } |
338 ] | 338 ] |
339 } | 339 } |
340 ] | 340 ] |
OLD | NEW |