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 var AddLanguageOverlay = options.AddLanguageOverlay; | 5 var AddLanguageOverlay = options.AddLanguageOverlay; |
6 var AlertOverlay = options.AlertOverlay; | 6 var AlertOverlay = options.AlertOverlay; |
7 var AutofillEditAddressOverlay = options.AutofillEditAddressOverlay; | 7 var AutofillEditAddressOverlay = options.AutofillEditAddressOverlay; |
8 var AutofillEditCreditCardOverlay = options.AutofillEditCreditCardOverlay; | 8 var AutofillEditCreditCardOverlay = options.AutofillEditCreditCardOverlay; |
9 var AutofillOptions = options.AutofillOptions; | 9 var AutofillOptions = options.AutofillOptions; |
10 var BrowserOptions = options.BrowserOptions; | 10 var BrowserOptions = options.BrowserOptions; |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 options.OptionsPage.willClose(); | 227 options.OptionsPage.willClose(); |
228 }; | 228 }; |
229 | 229 |
230 /** | 230 /** |
231 * Listener for the |popstate| event. | 231 * Listener for the |popstate| event. |
232 * @param {Event} e The |popstate| event. | 232 * @param {Event} e The |popstate| event. |
233 */ | 233 */ |
234 window.onpopstate = function(e) { | 234 window.onpopstate = function(e) { |
235 options.OptionsPage.setState(e.state); | 235 options.OptionsPage.setState(e.state); |
236 }; | 236 }; |
OLD | NEW |