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

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

Issue 10006028: Plugins page in BWSI session has unnecessary and misleading UI components (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Nit fix Created 8 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) 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', function() { 5 cr.define('options', function() {
6 /** @const */ var OptionsPage = options.OptionsPage; 6 /** @const */ var OptionsPage = options.OptionsPage;
7 7
8 ////////////////////////////////////////////////////////////////////////////// 8 //////////////////////////////////////////////////////////////////////////////
9 // ContentSettings class: 9 // ContentSettings class:
10 10
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 } 65 }
66 66
67 var manageHandlersButton = $('manage-handlers-button'); 67 var manageHandlersButton = $('manage-handlers-button');
68 if (manageHandlersButton) { 68 if (manageHandlersButton) {
69 manageHandlersButton.onclick = function(event) { 69 manageHandlersButton.onclick = function(event) {
70 OptionsPage.navigateToPage('handlers'); 70 OptionsPage.navigateToPage('handlers');
71 }; 71 };
72 } 72 }
73 73
74 if (cr.isChromeOS) 74 if (cr.isChromeOS)
75 AccountsOptions.applyGuestModeVisibility(document); 75 UIAccountTweaks.applyGuestModeVisibility(document);
76 76
77 // Cookies filter page --------------------------------------------------- 77 // Cookies filter page ---------------------------------------------------
78 $('show-cookies-button').onclick = function(event) { 78 $('show-cookies-button').onclick = function(event) {
79 chrome.send('coreOptionsUserMetricsAction', ['Options_ShowCookies']); 79 chrome.send('coreOptionsUserMetricsAction', ['Options_ShowCookies']);
80 OptionsPage.navigateToPage('cookies'); 80 OptionsPage.navigateToPage('cookies');
81 }; 81 };
82 82
83 // Remove from DOM instead of hiding so :last-of-type applies the style 83 // Remove from DOM instead of hiding so :last-of-type applies the style
84 // correctly. 84 // correctly.
85 var intentsSection = $('intents-section'); 85 var intentsSection = $('intents-section');
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
220 'list[mode=' + mode + ']'); 220 'list[mode=' + mode + ']');
221 exceptionsList.patternValidityCheckComplete(pattern, valid); 221 exceptionsList.patternValidityCheckComplete(pattern, valid);
222 }; 222 };
223 223
224 // Export 224 // Export
225 return { 225 return {
226 ContentSettings: ContentSettings 226 ContentSettings: ContentSettings
227 }; 227 };
228 228
229 }); 229 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/options2/chromeos/network_list.js ('k') | chrome/browser/resources/options2/language_options.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698