Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(138)

Side by Side Diff: chrome/common/extensions/api/bookmarks.json

Issue 9950046: Implement FeatureProvider for ExtensionAPI. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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,
9 "dependencies": ["permission:bookmarks"],
10 "contexts": ["blessed_extension"],
8 "types": [ 11 "types": [
9 { 12 {
10 "id": "BookmarkTreeNode", 13 "id": "BookmarkTreeNode",
11 "type": "object", 14 "type": "object",
12 "description": "A node (either a bookmark or a folder) in the bookmark t ree. Child nodes are ordered within their parent folder.", 15 "description": "A node (either a bookmark or a folder) in the bookmark t ree. Child nodes are ordered within their parent folder.",
13 "properties": { 16 "properties": {
14 "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."}, 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."},
15 "parentId": {"type": "string", "minimum": 0, "optional": true, "descri ption": "The <code>id</code> of the parent folder. Omitted for the root node."} , 18 "parentId": {"type": "string", "minimum": 0, "optional": true, "descri ption": "The <code>id</code> of the parent folder. Omitted for the root node."} ,
16 "index": {"type": "integer", "optional": true, "description": "The 0-b ased position of this node within its parent folder."}, 19 "index": {"type": "integer", "optional": true, "description": "The 0-b ased position of this node within its parent folder."},
17 "url": {"type": "string", "optional": true, "description": "The URL na vigated to when a user clicks the bookmark. Omitted for folders."}, 20 "url": {"type": "string", "optional": true, "description": "The URL na vigated to when a user clicks the bookmark. Omitted for folders."},
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 }, 330 },
328 { 331 {
329 "name": "onImportEnded", 332 "name": "onImportEnded",
330 "type": "function", 333 "type": "function",
331 "description": "Fired when a bookmark import session is ended.", 334 "description": "Fired when a bookmark import session is ended.",
332 "parameters": [] 335 "parameters": []
333 } 336 }
334 ] 337 ]
335 } 338 }
336 ] 339 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698