Chromium Code Reviews| Index: chrome/common/extensions/api/bookmark_manager_private.json |
| diff --git a/chrome/common/extensions/api/bookmark_manager_private.json b/chrome/common/extensions/api/bookmark_manager_private.json |
| index 992c63f14164c601de91cf787de8e6524f2c4818..801d6dc36e14d6178c43a1d526b15a8627bf801e 100644 |
| --- a/chrome/common/extensions/api/bookmark_manager_private.json |
| +++ b/chrome/common/extensions/api/bookmark_manager_private.json |
| @@ -302,6 +302,64 @@ |
| "parameters": [] |
| } |
| ] |
| + }, |
| + { |
| + "name": "undo", |
| + "type": "function", |
| + "description": "Perform an undo of the last change to the bookmark model", |
|
miket_OOO
2014/01/07 17:11:24
The rest of the file's descriptions are in third-p
|
| + "nodoc": "true", |
| + "parameters": [] |
| + }, |
| + { |
| + "name": "redo", |
| + "type": "function", |
| + "description": "Redo the change to the bookmark model that was undone", |
| + "nodoc": "true", |
| + "parameters": [] |
| + }, |
| + { |
| + "name": "getUndoInfo", |
| + "type": "function", |
| + "description": "Get information for the undo if available", |
| + "nodoc": "true", |
| + "parameters": [ |
| + { |
| + "type": "function", |
| + "name": "callback", |
| + "parameters": [ |
| + { |
| + "name": "result", |
| + "type": "object", |
| + "properties": { |
| + "enabled" : {"type": "boolean", "description": "Whether there is an action to undo"}, |
| + "label" : {"type": "string", "description": "The i18n label to use for the undo action"} |
| + } |
| + } |
| + ] |
| + } |
| + ] |
| + }, |
| + { |
| + "name": "getRedoInfo", |
| + "type": "function", |
| + "description": "Get information for the redo if available", |
| + "nodoc": "true", |
| + "parameters": [ |
| + { |
| + "type": "function", |
| + "name": "callback", |
| + "parameters": [ |
| + { |
| + "name": "result", |
| + "type": "object", |
| + "properties": { |
| + "enabled" : {"type": "boolean", "description": "Whether there is an action to redo"}, |
| + "label" : {"type": "string", "description": "The i18n label to use for the redo action"} |
| + } |
| + } |
| + ] |
| + } |
| + ] |
| } |
| ], |
| "events": [ |