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 cr.define('options', function() { | 5 cr.define('cr.ui', function() { |
6 const ArrayDataModel = cr.ui.ArrayDataModel; | 6 const ArrayDataModel = cr.ui.ArrayDataModel; |
7 const List = cr.ui.List; | 7 const List = cr.ui.List; |
8 const ListItem = cr.ui.ListItem; | 8 const ListItem = cr.ui.ListItem; |
9 | 9 |
10 /** | 10 /** |
11 * Creates a new autocomplete list item. | 11 * Creates a new autocomplete list item. |
12 * @param {Object} pageInfo The page this item represents. | 12 * @param {Object} pageInfo The page this item represents. |
13 * @constructor | 13 * @constructor |
14 * @extends {cr.ui.ListItem} | 14 * @extends {cr.ui.ListItem} |
15 */ | 15 */ |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
232 event.preventDefault(); | 232 event.preventDefault(); |
233 event.stopPropagation(); | 233 event.stopPropagation(); |
234 } | 234 } |
235 }, | 235 }, |
236 }; | 236 }; |
237 | 237 |
238 return { | 238 return { |
239 AutocompleteList: AutocompleteList | 239 AutocompleteList: AutocompleteList |
240 }; | 240 }; |
241 }); | 241 }); |
OLD | NEW |