Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(456)

Side by Side Diff: chrome/browser/resources/shared/js/cr/ui/autocomplete_list.js

Issue 9168026: Move autocomplete_list.js from options and options2 to shared/js (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: copyright year 2012 Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options2/startup_overlay.js ('k') | chrome/browser/resources/shared_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698