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

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

Issue 6529028: DOMUI: Fix the name of the clear browser dtaa overlay object. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missed one. Created 9 years, 10 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 | « no previous file | chrome/browser/resources/options/clear_browser_data_overlay.js » ('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) 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 // AdvancedOptions class 10 // AdvancedOptions class
(...skipping 18 matching lines...) Expand all
29 OptionsPage.prototype.initializePage.call(this); 29 OptionsPage.prototype.initializePage.call(this);
30 30
31 // Set up click handlers for buttons. 31 // Set up click handlers for buttons.
32 $('privacyContentSettingsButton').onclick = function(event) { 32 $('privacyContentSettingsButton').onclick = function(event) {
33 OptionsPage.navigateToPage('content'); 33 OptionsPage.navigateToPage('content');
34 OptionsPage.showTab($('cookies-nav-tab')); 34 OptionsPage.showTab($('cookies-nav-tab'));
35 chrome.send('coreOptionsUserMetricsAction', 35 chrome.send('coreOptionsUserMetricsAction',
36 ['Options_ContentSettings']); 36 ['Options_ContentSettings']);
37 }; 37 };
38 $('privacyClearDataButton').onclick = function(event) { 38 $('privacyClearDataButton').onclick = function(event) {
39 OptionsPage.navigateToPage('clearBrowserData'); 39 OptionsPage.navigateToPage('clearBrowserDataOverlay');
40 chrome.send('coreOptionsUserMetricsAction', ['Options_ClearData']); 40 chrome.send('coreOptionsUserMetricsAction', ['Options_ClearData']);
41 }; 41 };
42 42
43 // 'metricsReportingEnabled' element is only present on Chrome branded 43 // 'metricsReportingEnabled' element is only present on Chrome branded
44 // builds. 44 // builds.
45 if ($('metricsReportingEnabled')) { 45 if ($('metricsReportingEnabled')) {
46 $('metricsReportingEnabled').onclick = function(event) { 46 $('metricsReportingEnabled').onclick = function(event) {
47 chrome.send('metricsReportingCheckboxAction', 47 chrome.send('metricsReportingCheckboxAction',
48 [String(event.target.checked)]); 48 [String(event.target.checked)]);
49 }; 49 };
(...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after
284 if (proxySectionElm) 284 if (proxySectionElm)
285 proxySectionElm.parentNode.removeChild(proxySectionElm); 285 proxySectionElm.parentNode.removeChild(proxySectionElm);
286 }; 286 };
287 287
288 // Export 288 // Export
289 return { 289 return {
290 AdvancedOptions: AdvancedOptions 290 AdvancedOptions: AdvancedOptions
291 }; 291 };
292 292
293 }); 293 });
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/options/clear_browser_data_overlay.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698