OLD | NEW |
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 var OptionsPage = options.OptionsPage; | 6 var OptionsPage = options.OptionsPage; |
7 | 7 |
8 /** | 8 /** |
9 * ClearBrowserDataOverlay class | 9 * ClearBrowserDataOverlay class |
10 * Encapsulated handling of the 'Clear Browser Data' overlay page. | 10 * Encapsulated handling of the 'Clear Browser Data' overlay page. |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 ClearBrowserDataOverlay.dismiss = function() { | 101 ClearBrowserDataOverlay.dismiss = function() { |
102 OptionsPage.closeOverlay(); | 102 OptionsPage.closeOverlay(); |
103 this.setClearingState(false); | 103 this.setClearingState(false); |
104 }; | 104 }; |
105 | 105 |
106 // Export | 106 // Export |
107 return { | 107 return { |
108 ClearBrowserDataOverlay: ClearBrowserDataOverlay | 108 ClearBrowserDataOverlay: ClearBrowserDataOverlay |
109 }; | 109 }; |
110 }); | 110 }); |
OLD | NEW |