summaryrefslogtreecommitdiffstats
path: root/chrome/common/extensions/api/bookmarks.json
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/common/extensions/api/bookmarks.json')
-rwxr-xr-xchrome/common/extensions/api/bookmarks.json99
1 files changed, 0 insertions, 99 deletions
diff --git a/chrome/common/extensions/api/bookmarks.json b/chrome/common/extensions/api/bookmarks.json
deleted file mode 100755
index 8f3bf07..0000000
--- a/chrome/common/extensions/api/bookmarks.json
+++ /dev/null
@@ -1,99 +0,0 @@
-{
- "namespace": "chrome.bookmarks",
- "types": [
- {
- "id": "BookmarkTreeNode",
- "properties": {
- "id": {
- "type": "integer"
- },
- "title": {
- "type": "string"
- },
- "parentId": {
- "type": "integer"
- },
- "url": {
- "type": "string"
- },
- "children": {
- "type": "array",
- "items": {
- "$ref": "BookmarkTreeNode"
- }
- },
- "dateAdded": {
- "type": "integer"
- },
- "dateGroupModified": {
- "type": "integer"
- }
- }
- }
- ],
- "functions": [
- {
- "name": "create",
- "description": "<p>Creates a new bookmark. To get the newly created bookmark (or just find out whether its creation succeeded), you need to specify a callback function.</p><p>If you specify a <code>url</code> </span>in the <var>bookmark</var> parameter, the new bookmark represents a URL; otherwise, it represents a group.</p><p>For more information about bookmark properties, see the <a href='#TOC-Description'>Description</a> section.</p>",
- "parameters": [
- {
- "name": "parentId",
- "description": "The requested value of the new bookmark's <code>parentId</code> property.",
- "type": "integer",
- "minimum": 0,
- "optional": true
- },
- {
- "name": "index",
- "description": "The desired <code>index</code> position (0-based) at which this bookmark should be created. If absent, it will be placed at the end.",
- "type": "integer",
- "minimum": 0,
- "optional": true
- },
- {
- "name": "title",
- "description": "The <code>title</code> string to be displayed to the user on in the bookmarks system.",
- "type": "string",
- "optional": true
- },
- {
- "name": "url",
- "description": "The destination URL of this bookmark.",
- "type": "string",
- "optional": true
- },
- {
- "name": "callback",
- "description": "Function to callback upon completion.",
- "type": "function",
- "optional": true
- }
- ],
- "callbackParameters" : [
- {
- "name": "result",
- "$ref": "BookmarkTreeNode",
- "description": "The BookmarkTreeNode that was created in the bookmarks system."
- }
- ]
- }
- ],
- "events": [
- {
- "name": "onAdded",
- "description": "Sent whenever a bookmark is added.",
- "parameters": [
- {
- "name": "id",
- "type": "integer",
- "description": "The id of the BookmarkTreeNode that was added."
- },
- {
- "name": "node",
- "$ref": "BookmarkTreeNode",
- "description": "The properties of the BookmarkTreeNode that was added."
- }
- ]
- }
- ]
-} \ No newline at end of file