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

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

Issue 6260003: Clear plugin data together with cookies on shutdown. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update copyright date 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
« no previous file with comments | « chrome/browser/resources/options/content_settings.html ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 * a content exception setting. 128 * a content exception setting.
129 */ 129 */
130 ContentSettings.patternValidityCheckComplete = 130 ContentSettings.patternValidityCheckComplete =
131 function(type, mode, pattern, valid) { 131 function(type, mode, pattern, valid) {
132 var exceptionsList = 132 var exceptionsList =
133 document.querySelector('div[contentType=' + type + '] ' + 133 document.querySelector('div[contentType=' + type + '] ' +
134 'list[mode=' + mode + ']'); 134 'list[mode=' + mode + ']');
135 exceptionsList.patternValidityCheckComplete(pattern, valid); 135 exceptionsList.patternValidityCheckComplete(pattern, valid);
136 }; 136 };
137 137
138 ContentSettings.setClearLocalDataOnShutdownLabel = function(label) {
139 $('clear-cookies-on-exit-label').innerText = label;
140 };
141
138 // Export 142 // Export
139 return { 143 return {
140 ContentSettings: ContentSettings 144 ContentSettings: ContentSettings
141 }; 145 };
142 146
143 }); 147 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options/content_settings.html ('k') | chrome/browser/ui/browser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698