OLD | NEW |
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 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
135 // Intentionally don't show the URL in the location bar as we don't want | 135 // Intentionally don't show the URL in the location bar as we don't want |
136 // people trying to navigate here by hand. | 136 // people trying to navigate here by hand. |
137 OptionsPage.showPageByName('alertOverlay', false); | 137 OptionsPage.showPageByName('alertOverlay', false); |
138 } | 138 } |
139 | 139 |
140 // Export | 140 // Export |
141 return { | 141 return { |
142 AlertOverlay: AlertOverlay | 142 AlertOverlay: AlertOverlay |
143 }; | 143 }; |
144 }); | 144 }); |
OLD | NEW |