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

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

Issue 3061053: Fix the call to setClearingState which was causing a javascript error.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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 | no next file » | 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 * ClearBrowserData class 10 * ClearBrowserData class
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 if (state) { 68 if (state) {
69 ClearBrowserDataOverlay.throbIntervalId = 69 ClearBrowserDataOverlay.throbIntervalId =
70 setInterval(advanceThrobber, 30); 70 setInterval(advanceThrobber, 30);
71 } else { 71 } else {
72 clearInterval(ClearBrowserDataOverlay.throbIntervalId); 72 clearInterval(ClearBrowserDataOverlay.throbIntervalId);
73 } 73 }
74 } 74 }
75 75
76 ClearBrowserDataOverlay.dismiss = function() { 76 ClearBrowserDataOverlay.dismiss = function() {
77 OptionsPage.clearOverlays(); 77 OptionsPage.clearOverlays();
78 setClearingState(false); 78 this.setClearingState(false);
79 } 79 }
80 80
81 // Export 81 // Export
82 return { 82 return {
83 ClearBrowserDataOverlay: ClearBrowserDataOverlay 83 ClearBrowserDataOverlay: ClearBrowserDataOverlay
84 }; 84 };
85 85
86 }); 86 });
87 87
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698