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 * AlertOverlay class | 9 * AlertOverlay class |
10 * Encapsulated handling of a generic alert. | 10 * Encapsulated handling of a generic alert. |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 // Intentionally don't show the URL in the location bar as we don't want | 143 // Intentionally don't show the URL in the location bar as we don't want |
144 // people trying to navigate here by hand. | 144 // people trying to navigate here by hand. |
145 OptionsPage.showPageByName('alertOverlay', false); | 145 OptionsPage.showPageByName('alertOverlay', false); |
146 }; | 146 }; |
147 | 147 |
148 // Export | 148 // Export |
149 return { | 149 return { |
150 AlertOverlay: AlertOverlay | 150 AlertOverlay: AlertOverlay |
151 }; | 151 }; |
152 }); | 152 }); |
OLD | NEW |