OLD | NEW |
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 // TODO(arv): Now that this is driven by a data model, implement a data model | 5 // TODO(arv): Now that this is driven by a data model, implement a data model |
6 // that handles the loading and the events from the bookmark backend. | 6 // that handles the loading and the events from the bookmark backend. |
7 | 7 |
| 8 'use strict'; |
| 9 |
8 /** | 10 /** |
9 * @typedef {{childIds: Array<string>}} | 11 * @typedef {{childIds: Array<string>}} |
10 * | 12 * |
11 * @see chrome/common/extensions/api/bookmarks.json | 13 * @see chrome/common/extensions/api/bookmarks.json |
12 */ | 14 */ |
13 var ReorderInfo; | 15 var ReorderInfo; |
14 | 16 |
15 /** | 17 /** |
16 * @typedef {{parentId: string, | 18 * @typedef {{parentId: string, |
17 * index: number, | 19 * index: number, |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 } | 628 } |
627 } | 629 } |
628 } | 630 } |
629 }; | 631 }; |
630 | 632 |
631 return { | 633 return { |
632 BookmarkList: BookmarkList, | 634 BookmarkList: BookmarkList, |
633 list: /** @type {Element} */(null), // Set when decorated. | 635 list: /** @type {Element} */(null), // Set when decorated. |
634 }; | 636 }; |
635 }); | 637 }); |
OLD | NEW |