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

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

Issue 6155008: DOMUI: Implement the new Fonts and Encoding page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fix 3. Created 9 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) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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.proxyexceptions', function() { 5 cr.define('options.proxyexceptions', function() {
6 const List = cr.ui.List; 6 const List = cr.ui.List;
7 const ListItem = cr.ui.ListItem; 7 const ListItem = cr.ui.ListItem;
8 const ArrayDataModel = cr.ui.ArrayDataModel; 8 const ArrayDataModel = cr.ui.ArrayDataModel;
9 9
10 /** 10 /**
11 * Creates a new exception list. 11 * Creates a new exception list.
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 el.__proto__ = ProxyExceptionsItem.prototype; 117 el.__proto__ = ProxyExceptionsItem.prototype;
118 el.decorate(); 118 el.decorate();
119 }; 119 };
120 120
121 ProxyExceptionsItem.prototype = { 121 ProxyExceptionsItem.prototype = {
122 __proto__: ListItem.prototype, 122 __proto__: ListItem.prototype,
123 123
124 /** @inheritDoc */ 124 /** @inheritDoc */
125 decorate: function() { 125 decorate: function() {
126 ListItem.prototype.decorate.call(this); 126 ListItem.prototype.decorate.call(this);
127 console.log('in exceptions decorate');
128 this.className = 'exception-list-item'; 127 this.className = 'exception-list-item';
129 128
130 var labelException = this.ownerDocument.createElement('span'); 129 var labelException = this.ownerDocument.createElement('span');
131 labelException.className = ''; 130 labelException.className = '';
132 labelException.textContent = this.exception; 131 labelException.textContent = this.exception;
133 this.appendChild(labelException); 132 this.appendChild(labelException);
134 } 133 }
135 }; 134 };
136 135
137 return { 136 return {
138 ProxyExceptions: ProxyExceptions 137 ProxyExceptions: ProxyExceptions
139 }; 138 };
140 }); 139 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698