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

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

Issue 591006: Make it so that chrome.bookmarks.update can update the URL of a bookmark.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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 [ 1 [
2 { 2 {
3 "namespace": "extension", 3 "namespace": "extension",
4 "unprivileged": true, 4 "unprivileged": true,
5 "types": [ 5 "types": [
6 { 6 {
7 "id": "MessageSender", 7 "id": "MessageSender",
8 "type": "object", 8 "type": "object",
9 "description": "An object containing information about the script contex t that sent a message or request.", 9 "description": "An object containing information about the script contex t that sent a message or request.",
10 "properties": { 10 "properties": {
(...skipping 1497 matching lines...) Expand 10 before | Expand all | Expand 10 after
1508 "optional": true, 1508 "optional": true,
1509 "parameters": [ 1509 "parameters": [
1510 {"name": "result", "$ref": "BookmarkTreeNode" } 1510 {"name": "result", "$ref": "BookmarkTreeNode" }
1511 ] 1511 ]
1512 } 1512 }
1513 ] 1513 ]
1514 }, 1514 },
1515 { 1515 {
1516 "name": "update", 1516 "name": "update",
1517 "type": "function", 1517 "type": "function",
1518 "description": "Updates the properties of a bookmark or folder. Specify only the properties that you want to change; unspecified properties will be left unchanged. <b>Note:</b> Currently, only 'title' is supported.", 1518 "description": "Updates the properties of a bookmark or folder. Specify only the properties that you want to change; unspecified properties will be left unchanged. <b>Note:</b> Currently, only 'title' and 'url' are supported.",
1519 "parameters": [ 1519 "parameters": [
1520 {"type": "string", "name": "id"}, 1520 {"type": "string", "name": "id"},
1521 { 1521 {
1522 "type": "object", 1522 "type": "object",
1523 "name": "changes", 1523 "name": "changes",
1524 "properties": { 1524 "properties": {
1525 "title": {"type": "string", "optional": true} 1525 "title": {"type": "string", "optional": true},
1526 "url": {"type": "string", "optional": true}
1526 } 1527 }
1527 }, 1528 },
1528 { 1529 {
1529 "type": "function", 1530 "type": "function",
1530 "name": "callback", 1531 "name": "callback",
1531 "optional": true, 1532 "optional": true,
1532 "parameters": [ 1533 "parameters": [
1533 {"name": "result", "$ref": "BookmarkTreeNode" } 1534 {"name": "result", "$ref": "BookmarkTreeNode" }
1534 ] 1535 ]
1535 } 1536 }
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1579 "properties": { 1580 "properties": {
1580 "parentId": { "type": "string" }, 1581 "parentId": { "type": "string" },
1581 "index": { "type": "integer" } 1582 "index": { "type": "integer" }
1582 } 1583 }
1583 } 1584 }
1584 ] 1585 ]
1585 }, 1586 },
1586 { 1587 {
1587 "name": "onChanged", 1588 "name": "onChanged",
1588 "type": "function", 1589 "type": "function",
1589 "description": "Fired when a bookmark or folder changes. <b>Note:</b> C urrently, only title changes trigger this.", 1590 "description": "Fired when a bookmark or folder changes. <b>Note:</b> C urrently, only title and url changes changes trigger this.",
1590 "parameters": [ 1591 "parameters": [
1591 {"type": "string", "name": "id"}, 1592 {"type": "string", "name": "id"},
1592 { 1593 {
1593 "type": "object", 1594 "type": "object",
1594 "name": "changeInfo", 1595 "name": "changeInfo",
1595 "properties": { 1596 "properties": {
1596 "title": { "type": "string" } 1597 "title": {"type": "string"},
1598 "url": {"type": "string", "optional": true}
1597 } 1599 }
1598 } 1600 }
1599 ] 1601 ]
1600 }, 1602 },
1601 { 1603 {
1602 "name": "onMoved", 1604 "name": "onMoved",
1603 "type": "function", 1605 "type": "function",
1604 "description": "Fired when a bookmark or folder is moved to a different parent folder.", 1606 "description": "Fired when a bookmark or folder is moved to a different parent folder.",
1605 "parameters": [ 1607 "parameters": [
1606 {"type": "string", "name": "id"}, 1608 {"type": "string", "name": "id"},
(...skipping 562 matching lines...) Expand 10 before | Expand all | Expand 10 after
2169 "type": "function", 2171 "type": "function",
2170 "description": "Logs a message during internal unit testing.", 2172 "description": "Logs a message during internal unit testing.",
2171 "parameters": [ 2173 "parameters": [
2172 {"type": "string", "name": "message"} 2174 {"type": "string", "name": "message"}
2173 ] 2175 ]
2174 } 2176 }
2175 ], 2177 ],
2176 "events": [] 2178 "events": []
2177 } 2179 }
2178 ] 2180 ]
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_bookmarks_module.cc ('k') | chrome/common/extensions/docs/bookmarks.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698