Chromium Code Reviews
Help | Chromium Project | Sign in
(417)

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

Issue 2804039: First cut at the tabbed content settings page. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: no change Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/resources/options/content_settings_page.css ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 ////////////////////////////////////////////////////////////////////////////////
6 // ContentSettingsRadio class:
7
8 // Define a constructor that uses an input element as its underlying element.
9 var ContentSettingsRadio = cr.ui.define('input');
10
11 ContentSettingsRadio.prototype = {
12 __proto__: HTMLInputElement.prototype,
13
14 /**
15 * Initialization function for the cr.ui framework.
16 */
17 decorate: function() {
18 this.type = 'radio';
19 var self = this;
20
21 this.addEventListener('change',
22 function(e) {
23 chrome.send('setContentFilter', [this.name, this.value]);
24 });
25 },
26 };
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/content_settings_page.css ('k') | chrome/chrome_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld ec887be