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

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

Issue 6875001: Hide Flash storage settings link. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review Created 9 years, 8 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) 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 var OptionsPage = options.OptionsPage; 7 var OptionsPage = options.OptionsPage;
8 8
9 ////////////////////////////////////////////////////////////////////////////// 9 //////////////////////////////////////////////////////////////////////////////
10 // ContentSettings class: 10 // ContentSettings class:
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 * a content exception setting. 121 * a content exception setting.
122 */ 122 */
123 ContentSettings.patternValidityCheckComplete = 123 ContentSettings.patternValidityCheckComplete =
124 function(type, mode, pattern, valid) { 124 function(type, mode, pattern, valid) {
125 var exceptionsList = 125 var exceptionsList =
126 document.querySelector('div[contentType=' + type + '] ' + 126 document.querySelector('div[contentType=' + type + '] ' +
127 'list[mode=' + mode + ']'); 127 'list[mode=' + mode + ']');
128 exceptionsList.patternValidityCheckComplete(pattern, valid); 128 exceptionsList.patternValidityCheckComplete(pattern, valid);
129 }; 129 };
130 130
131 ContentSettings.setClearLocalDataOnShutdownLabel = function(label) {
132 $('clear-cookies-on-exit-label').innerText = label;
133 };
134
135 // Export 131 // Export
136 return { 132 return {
137 ContentSettings: ContentSettings 133 ContentSettings: ContentSettings
138 }; 134 };
139 135
140 }); 136 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/content_settings.html ('k') | chrome/browser/resources/options/options_page.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698