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

Side by Side Diff: chrome/browser/resources/options/browser_options_profile_list.js

Issue 543493002: Compile chrome://settings, part 2: reduce from 950 to 400 errors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@F_settings
Patch Set: rebase? rebase! Created 6 years, 3 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
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.browser_options', function() { 5 cr.define('options.browser_options', function() {
6 /** @const */ var DeletableItem = options.DeletableItem; 6 /** @const */ var DeletableItem = options.DeletableItem;
7 /** @const */ var DeletableItemList = options.DeletableItemList; 7 /** @const */ var DeletableItemList = options.DeletableItemList;
8 /** @const */ var ListSingleSelectionModel = cr.ui.ListSingleSelectionModel; 8 /** @const */ var ListSingleSelectionModel = cr.ui.ListSingleSelectionModel;
9 9
10 /** 10 /**
11 * Creates a new profile list item. 11 * Creates a new profile list item.
12 * @param {Object} profileInfo The profile this item represents. 12 * @param {Object} profileInfo The profile this item represents.
13 * @constructor 13 * @constructor
14 * @extends {cr.ui.DeletableItem} 14 * @extends {options.DeletableItem}
15 */ 15 */
16 function ProfileListItem(profileInfo) { 16 function ProfileListItem(profileInfo) {
17 var el = cr.doc.createElement('div'); 17 var el = cr.doc.createElement('div');
18 el.profileInfo_ = profileInfo; 18 el.profileInfo_ = profileInfo;
19 ProfileListItem.decorate(el); 19 ProfileListItem.decorate(el);
20 return el; 20 return el;
21 } 21 }
22 22
23 /** 23 /**
24 * Decorates an element as a profile list item. 24 * Decorates an element as a profile list item.
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 * If false, items in this list will not be deletable. 125 * If false, items in this list will not be deletable.
126 * @private 126 * @private
127 */ 127 */
128 canDeleteItems_: true, 128 canDeleteItems_: true,
129 }; 129 };
130 130
131 return { 131 return {
132 ProfileList: ProfileList 132 ProfileList: ProfileList
133 }; 133 };
134 }); 134 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698