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

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

Issue 1055673002: [Extensions API] Remove inline enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Latest master Created 5 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
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 "description": "Use the <code>chrome.bookmarks</code> API to create, organiz e, and otherwise manipulate bookmarks. Also see <a href='override'>Override Page s</a>, which you can use to create a custom Bookmark Manager page.", 8 "description": "Use the <code>chrome.bookmarks</code> API to create, organiz e, and otherwise manipulate bookmarks. Also see <a href='override'>Override Page s</a>, which you can use to create a custom Bookmark Manager page.",
9 "properties": { 9 "properties": {
10 "MAX_WRITE_OPERATIONS_PER_HOUR": { 10 "MAX_WRITE_OPERATIONS_PER_HOUR": {
11 "value": 1000000, 11 "value": 1000000,
12 "deprecated": "Bookmark write operations are no longer limited by Chrome .", 12 "deprecated": "Bookmark write operations are no longer limited by Chrome .",
13 "description": "" 13 "description": ""
14 }, 14 },
15 "MAX_SUSTAINED_WRITE_OPERATIONS_PER_MINUTE": { 15 "MAX_SUSTAINED_WRITE_OPERATIONS_PER_MINUTE": {
16 "value": 1000000, 16 "value": 1000000,
17 "deprecated": "Bookmark write operations are no longer limited by Chrome .", 17 "deprecated": "Bookmark write operations are no longer limited by Chrome .",
18 "description": "" 18 "description": ""
19 } 19 }
20 }, 20 },
21 "types": [ 21 "types": [
22 { 22 {
23 "id": "BookmarkTreeNodeUnmodifiable",
24 "type": "string",
25 "enum": ["managed"],
26 "description": "Indicates the reason why this node is unmodifiable. The <var>managed</var> value indicates that this node was configured by the system a dministrator or by the custodian of a supervised user. Omitted if the node can b e modified by the user and the extension (default)."
27 },
28 {
23 "id": "BookmarkTreeNode", 29 "id": "BookmarkTreeNode",
24 "type": "object", 30 "type": "object",
25 "description": "A node (either a bookmark or a folder) in the bookmark t ree. Child nodes are ordered within their parent folder.", 31 "description": "A node (either a bookmark or a folder) in the bookmark t ree. Child nodes are ordered within their parent folder.",
26 "properties": { 32 "properties": {
27 "id": { 33 "id": {
28 "type": "string", 34 "type": "string",
29 "minimum": 0, 35 "minimum": 0,
30 "description": "The unique identifier for the node. IDs are unique w ithin the current profile, and they remain valid even after the browser is resta rted." 36 "description": "The unique identifier for the node. IDs are unique w ithin the current profile, and they remain valid even after the browser is resta rted."
31 }, 37 },
32 "parentId": { 38 "parentId": {
(...skipping 20 matching lines...) Expand all
53 "type": "number", 59 "type": "number",
54 "optional": true, 60 "optional": true,
55 "description": "When this node was created, in milliseconds since th e epoch (<code>new Date(dateAdded)</code>)." 61 "description": "When this node was created, in milliseconds since th e epoch (<code>new Date(dateAdded)</code>)."
56 }, 62 },
57 "dateGroupModified": { 63 "dateGroupModified": {
58 "type": "number", 64 "type": "number",
59 "optional": true, 65 "optional": true,
60 "description": "When the contents of this folder last changed, in mi lliseconds since the epoch." 66 "description": "When the contents of this folder last changed, in mi lliseconds since the epoch."
61 }, 67 },
62 "unmodifiable": { 68 "unmodifiable": {
63 "type": "string", 69 "$ref": "BookmarkTreeNodeUnmodifiable",
64 "enum": ["managed"],
65 "optional": true, 70 "optional": true,
66 "description": "Indicates the reason why this node is unmodifiable. The <var>managed</var> value indicates that this node was configured by the syst em administrator or by the custodian of a supervised user. Omitted if the node c an be modified by the user and the extension (default)." 71 "description": "Indicates the reason why this node is unmodifiable. The <var>managed</var> value indicates that this node was configured by the syst em administrator or by the custodian of a supervised user. Omitted if the node c an be modified by the user and the extension (default)."
67 }, 72 },
68 "children": { 73 "children": {
69 "type": "array", 74 "type": "array",
70 "optional": true, 75 "optional": true,
71 "items": { "$ref": "BookmarkTreeNode" }, 76 "items": { "$ref": "BookmarkTreeNode" },
72 "description": "An ordered list of children of this node." 77 "description": "An ordered list of children of this node."
73 } 78 }
74 } 79 }
(...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 }, 550 },
546 { 551 {
547 "name": "onImportEnded", 552 "name": "onImportEnded",
548 "type": "function", 553 "type": "function",
549 "description": "Fired when a bookmark import session is ended.", 554 "description": "Fired when a bookmark import session is ended.",
550 "parameters": [] 555 "parameters": []
551 } 556 }
552 ] 557 ]
553 } 558 }
554 ] 559 ]
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/activity_log_private.json ('k') | chrome/common/extensions/api/chrome_web_view_internal.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698