OLD | NEW |
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 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 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 ClearBrowserDataOverlay.dismiss = function() { | 107 ClearBrowserDataOverlay.dismiss = function() { |
108 OptionsPage.closeOverlay(); | 108 OptionsPage.closeOverlay(); |
109 this.setClearingState(false); | 109 this.setClearingState(false); |
110 }; | 110 }; |
111 | 111 |
112 // Export | 112 // Export |
113 return { | 113 return { |
114 ClearBrowserDataOverlay: ClearBrowserDataOverlay | 114 ClearBrowserDataOverlay: ClearBrowserDataOverlay |
115 }; | 115 }; |
116 }); | 116 }); |
OLD | NEW |