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

Side by Side Diff: chrome/browser/resources/options/deletable_item_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', function() { 5 cr.define('options', function() {
6 /** @const */ var List = cr.ui.List; 6 /** @const */ var List = cr.ui.List;
7 /** @const */ var ListItem = cr.ui.ListItem; 7 /** @const */ var ListItem = cr.ui.ListItem;
8 8
9 /** 9 /**
10 * Creates a deletable list item, which has a button that will trigger a call 10 * Creates a deletable list item, which has a button that will trigger a call
11 * to deleteItemAtIndex(index) in the list. 11 * to deleteItemAtIndex(index) in the list.
12 * @constructor
13 * @extends {cr.ui.ListItem}
12 */ 14 */
13 var DeletableItem = cr.ui.define('li'); 15 var DeletableItem = cr.ui.define('li');
14 16
15 DeletableItem.prototype = { 17 DeletableItem.prototype = {
16 __proto__: ListItem.prototype, 18 __proto__: ListItem.prototype,
17 19
18 /** 20 /**
19 * The element subclasses should populate with content. 21 * The element subclasses should populate with content.
20 * @type {HTMLElement} 22 * @type {HTMLElement}
21 * @private 23 * @private
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
188 */ 190 */
189 deleteItemAtIndex: function(index) { 191 deleteItemAtIndex: function(index) {
190 }, 192 },
191 }; 193 };
192 194
193 return { 195 return {
194 DeletableItemList: DeletableItemList, 196 DeletableItemList: DeletableItemList,
195 DeletableItem: DeletableItem, 197 DeletableItem: DeletableItem,
196 }; 198 };
197 }); 199 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/cookies_view.js ('k') | chrome/browser/resources/options/editable_text_field.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698