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 | |
10 /** | 8 /** |
11 * @typedef {{childIds: Array<string>}} | 9 * @typedef {{childIds: Array<string>}} |
12 * | 10 * |
13 * @see chrome/common/extensions/api/bookmarks.json | 11 * @see chrome/common/extensions/api/bookmarks.json |
14 */ | 12 */ |
15 var ReorderInfo; | 13 var ReorderInfo; |
16 | 14 |
17 /** | 15 /** |
18 * @typedef {{parentId: string, | 16 * @typedef {{parentId: string, |
19 * index: number, | 17 * index: number, |
(...skipping 608 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 } | 626 } |
629 } | 627 } |
630 } | 628 } |
631 }; | 629 }; |
632 | 630 |
633 return { | 631 return { |
634 BookmarkList: BookmarkList, | 632 BookmarkList: BookmarkList, |
635 list: /** @type {Element} */(null), // Set when decorated. | 633 list: /** @type {Element} */(null), // Set when decorated. |
636 }; | 634 }; |
637 }); | 635 }); |
OLD | NEW |