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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/api/extension_api.json
===================================================================
--- chrome/common/extensions/api/extension_api.json (revision 38359)
+++ chrome/common/extensions/api/extension_api.json (working copy)
@@ -1515,14 +1515,15 @@
{
"name": "update",
"type": "function",
- "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.",
+ "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.",
"parameters": [
{"type": "string", "name": "id"},
{
"type": "object",
"name": "changes",
"properties": {
- "title": {"type": "string", "optional": true}
+ "title": {"type": "string", "optional": true},
+ "url": {"type": "string", "optional": true}
}
},
{
@@ -1586,14 +1587,15 @@
{
"name": "onChanged",
"type": "function",
- "description": "Fired when a bookmark or folder changes. <b>Note:</b> Currently, only title changes trigger this.",
+ "description": "Fired when a bookmark or folder changes. <b>Note:</b> Currently, only title and url changes changes trigger this.",
"parameters": [
{"type": "string", "name": "id"},
{
"type": "object",
"name": "changeInfo",
"properties": {
- "title": { "type": "string" }
+ "title": {"type": "string"},
+ "url": {"type": "string", "optional": true}
}
}
]
« 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