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

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

Issue 320473002: Added the "unmodifiable" property to chrome.bookmarks.BookmarkTreeNode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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 "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": {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 "dateAdded": { 50 "dateAdded": {
51 "type": "number", 51 "type": "number",
52 "optional": true, 52 "optional": true,
53 "description": "When this node was created, in milliseconds since th e epoch (<code>new Date(dateAdded)</code>)." 53 "description": "When this node was created, in milliseconds since th e epoch (<code>new Date(dateAdded)</code>)."
54 }, 54 },
55 "dateGroupModified": { 55 "dateGroupModified": {
56 "type": "number", 56 "type": "number",
57 "optional": true, 57 "optional": true,
58 "description": "When the contents of this folder last changed, in mi lliseconds since the epoch." 58 "description": "When the contents of this folder last changed, in mi lliseconds since the epoch."
59 }, 59 },
60 "unmodifiable": {
61 "type": "string",
62 "enum": ["managed"],
63 "optional": true,
64 "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. Omitted if the node can be modified by the user and the extens ion (default)."
65 },
60 "children": { 66 "children": {
61 "type": "array", 67 "type": "array",
62 "optional": true, 68 "optional": true,
63 "items": { "$ref": "BookmarkTreeNode" }, 69 "items": { "$ref": "BookmarkTreeNode" },
64 "description": "An ordered list of children of this node." 70 "description": "An ordered list of children of this node."
65 } 71 }
66 } 72 }
67 }, 73 },
68 { 74 {
69 "id": "CreateDetails", 75 "id": "CreateDetails",
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after
537 }, 543 },
538 { 544 {
539 "name": "onImportEnded", 545 "name": "onImportEnded",
540 "type": "function", 546 "type": "function",
541 "description": "Fired when a bookmark import session is ended.", 547 "description": "Fired when a bookmark import session is ended.",
542 "parameters": [] 548 "parameters": []
543 } 549 }
544 ] 550 ]
545 } 551 }
546 ] 552 ]
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698