| Index: chrome/browser/resources/md_bookmarks/actions.js
|
| diff --git a/chrome/browser/resources/md_bookmarks/actions.js b/chrome/browser/resources/md_bookmarks/actions.js
|
| index 04c97292f18fae26ff5543e4c3930c732ea49007..9f6a63d11ab0d670608a17b3c0fae6f2cb4fba1a 100644
|
| --- a/chrome/browser/resources/md_bookmarks/actions.js
|
| +++ b/chrome/browser/resources/md_bookmarks/actions.js
|
| @@ -56,6 +56,18 @@ cr.define('bookmarks.actions', function() {
|
|
|
| /**
|
| * @param {string} id
|
| + * @param {!Array<string>} newChildIds
|
| + */
|
| + function reorderChildren(id, newChildIds) {
|
| + return {
|
| + name: 'reorder-children',
|
| + id: id,
|
| + children: newChildIds,
|
| + };
|
| + }
|
| +
|
| + /**
|
| + * @param {string} id
|
| * @param {string} parentId
|
| * @param {number} index
|
| * @param {NodeList} nodes
|
| @@ -194,6 +206,7 @@ cr.define('bookmarks.actions', function() {
|
| moveBookmark: moveBookmark,
|
| refreshNodes: refreshNodes,
|
| removeBookmark: removeBookmark,
|
| + reorderChildren: reorderChildren,
|
| selectFolder: selectFolder,
|
| selectItem: selectItem,
|
| setSearchResults: setSearchResults,
|
|
|