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

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

Issue 559423003: Compile chrome://settings, part 7. 33 errors left (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@H_options_errors_5
Patch Set: 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.contentSettings', function() { 5 cr.define('options.contentSettings', function() {
6 /** @const */ var ControlledSettingIndicator = 6 /** @const */ var ControlledSettingIndicator =
7 options.ControlledSettingIndicator; 7 options.ControlledSettingIndicator;
8 /** @const */ var InlineEditableItemList = options.InlineEditableItemList; 8 /** @const */ var InlineEditableItemList = options.InlineEditableItemList;
9 /** @const */ var InlineEditableItem = options.InlineEditableItem; 9 /** @const */ var InlineEditableItem = options.InlineEditableItem;
10 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel; 10 /** @const */ var ArrayDataModel = cr.ui.ArrayDataModel;
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after
447 this.resetInput(); 447 this.resetInput();
448 chrome.send('setException', 448 chrome.send('setException',
449 [this.contentType, this.mode, newPattern, newSetting]); 449 [this.contentType, this.mode, newPattern, newSetting]);
450 }, 450 },
451 }; 451 };
452 452
453 /** 453 /**
454 * Creates a new exceptions list. 454 * Creates a new exceptions list.
455 * 455 *
456 * @constructor 456 * @constructor
457 * @extends {cr.ui.List} 457 * @extends {options.InlineEditableItemList}
458 */ 458 */
459 var ExceptionsList = cr.ui.define('list'); 459 var ExceptionsList = cr.ui.define('list');
460 460
461 ExceptionsList.prototype = { 461 ExceptionsList.prototype = {
462 __proto__: InlineEditableItemList.prototype, 462 __proto__: InlineEditableItemList.prototype,
463 463
464 /** 464 /**
465 * Called when an element is decorated as a list. 465 * Called when an element is decorated as a list.
466 */ 466 */
467 decorate: function() { 467 decorate: function() {
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
679 } 679 }
680 }; 680 };
681 681
682 return { 682 return {
683 ExceptionsListItem: ExceptionsListItem, 683 ExceptionsListItem: ExceptionsListItem,
684 ExceptionsAddRowListItem: ExceptionsAddRowListItem, 684 ExceptionsAddRowListItem: ExceptionsAddRowListItem,
685 ExceptionsList: ExceptionsList, 685 ExceptionsList: ExceptionsList,
686 ContentSettingsExceptionsArea: ContentSettingsExceptionsArea, 686 ContentSettingsExceptionsArea: ContentSettingsExceptionsArea,
687 }; 687 };
688 }); 688 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/content_settings.js ('k') | chrome/browser/resources/options/cookies_list.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698