| 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 AutomaticSettingsResetBanner = options.AutomaticSettingsResetBanner; | 10 var AutomaticSettingsResetBanner = options.AutomaticSettingsResetBanner; |
| (...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 BrowserOptions.getInstance(), | 222 BrowserOptions.getInstance(), |
| 223 [$('pointer-settings-button')]); | 223 [$('pointer-settings-button')]); |
| 224 PageManager.registerOverlay(PreferredNetworks.getInstance(), | 224 PageManager.registerOverlay(PreferredNetworks.getInstance(), |
| 225 BrowserOptions.getInstance()); | 225 BrowserOptions.getInstance()); |
| 226 PageManager.registerOverlay(NoteOverlay.getInstance(), | 226 PageManager.registerOverlay(NoteOverlay.getInstance(), |
| 227 BrowserOptions.getInstance(), | 227 BrowserOptions.getInstance(), |
| 228 [$('note-settings-link')]); | 228 [$('note-settings-link')]); |
| 229 PageManager.registerOverlay(PowerOverlay.getInstance(), | 229 PageManager.registerOverlay(PowerOverlay.getInstance(), |
| 230 BrowserOptions.getInstance(), | 230 BrowserOptions.getInstance(), |
| 231 [$('power-settings-link')]); | 231 [$('power-settings-link')]); |
| 232 PageManager.registerOverlay(QuickUnlockConfigureOverlay.getInstance(), |
| 233 BrowserOptions.getInstance(), |
| 234 [$('manage-screenlock')]); |
| 232 PageManager.registerOverlay(StorageManager.getInstance(), | 235 PageManager.registerOverlay(StorageManager.getInstance(), |
| 233 BrowserOptions.getInstance(), | 236 BrowserOptions.getInstance(), |
| 234 [$('storage-manager-button')]); | 237 [$('storage-manager-button')]); |
| 235 PageManager.registerOverlay(ThirdPartyImeConfirmOverlay.getInstance(), | 238 PageManager.registerOverlay(ThirdPartyImeConfirmOverlay.getInstance(), |
| 236 LanguageOptions.getInstance()); | 239 LanguageOptions.getInstance()); |
| 237 PageManager.registerOverlay( | 240 PageManager.registerOverlay( |
| 238 new ConfirmDialog( | 241 new ConfirmDialog( |
| 239 'arcOptOutConfirm', | 242 'arcOptOutConfirm', |
| 240 loadTimeData.getString('arcOptOutConfirmOverlayTabTitle'), | 243 loadTimeData.getString('arcOptOutConfirmOverlayTabTitle'), |
| 241 'arc-opt-out-confirm-overlay', | 244 'arc-opt-out-confirm-overlay', |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 302 }; | 305 }; |
| 303 | 306 |
| 304 /** | 307 /** |
| 305 * Listener for the |popstate| event. | 308 * Listener for the |popstate| event. |
| 306 * @param {Event} e The |popstate| event. | 309 * @param {Event} e The |popstate| event. |
| 307 */ | 310 */ |
| 308 window.onpopstate = function(e) { | 311 window.onpopstate = function(e) { |
| 309 var pageName = PageManager.getPageNameFromPath(); | 312 var pageName = PageManager.getPageNameFromPath(); |
| 310 PageManager.setState(pageName, location.hash, e.state); | 313 PageManager.setState(pageName, location.hash, e.state); |
| 311 }; | 314 }; |
| OLD | NEW |