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

Side by Side Diff: chrome/browser/resources/options/content_settings_ui.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) 2011 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', function() { 5 cr.define('options', function() {
6 6
7 ////////////////////////////////////////////////////////////////////////////// 7 //////////////////////////////////////////////////////////////////////////////
8 // ContentSettingsRadio class: 8 // ContentSettingsRadio class:
9 9
10 // Define a constructor that uses an input element as its underlying element. 10 // Define a constructor that uses an input element as its underlying element.
(...skipping 12 matching lines...) Expand all
23 this.addEventListener('change', 23 this.addEventListener('change',
24 function(e) { 24 function(e) {
25 chrome.send('setContentFilter', [this.name, this.value]); 25 chrome.send('setContentFilter', [this.name, this.value]);
26 }); 26 });
27 }, 27 },
28 }; 28 };
29 29
30 /** 30 /**
31 * Whether the content setting is controlled by something else than the user's 31 * Whether the content setting is controlled by something else than the user's
32 * settings (either 'policy' or 'extension'). 32 * settings (either 'policy' or 'extension').
33 * @type {string}
34 */ 33 */
35 cr.defineProperty(ContentSettingsRadio, 'controlledBy', cr.PropertyKind.ATTR); 34 cr.defineProperty(ContentSettingsRadio, 'controlledBy', cr.PropertyKind.ATTR);
36 35
37 ////////////////////////////////////////////////////////////////////////////// 36 //////////////////////////////////////////////////////////////////////////////
38 // HandlersEnabledRadio class: 37 // HandlersEnabledRadio class:
39 38
40 // Define a constructor that uses an input element as its underlying element. 39 // Define a constructor that uses an input element as its underlying element.
41 var HandlersEnabledRadio = cr.ui.define('input'); 40 var HandlersEnabledRadio = cr.ui.define('input');
42 41
43 HandlersEnabledRadio.prototype = { 42 HandlersEnabledRadio.prototype = {
(...skipping 14 matching lines...) Expand all
58 }; 57 };
59 58
60 // Export 59 // Export
61 return { 60 return {
62 ContentSettingsRadio: ContentSettingsRadio, 61 ContentSettingsRadio: ContentSettingsRadio,
63 HandlersEnabledRadio: HandlersEnabledRadio 62 HandlersEnabledRadio: HandlersEnabledRadio
64 }; 63 };
65 64
66 }); 65 });
67 66
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698