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 * ImportDataOverlay class | 9 * ImportDataOverlay class |
10 * Encapsulated handling of the 'Import Data' overlay page. | 10 * Encapsulated handling of the 'Import Data' overlay page. |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 ImportDataOverlay.dismiss = function() { | 176 ImportDataOverlay.dismiss = function() { |
177 ImportDataOverlay.setImportingState(false); | 177 ImportDataOverlay.setImportingState(false); |
178 OptionsPage.closeOverlay(); | 178 OptionsPage.closeOverlay(); |
179 }; | 179 }; |
180 | 180 |
181 // Export | 181 // Export |
182 return { | 182 return { |
183 ImportDataOverlay: ImportDataOverlay | 183 ImportDataOverlay: ImportDataOverlay |
184 }; | 184 }; |
185 }); | 185 }); |
OLD | NEW |