| 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 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 196 BrowserOptions.getInstance(), | 196 BrowserOptions.getInstance(), |
| 197 [$('bluetooth-add-device')]); | 197 [$('bluetooth-add-device')]); |
| 198 PageManager.registerOverlay(BluetoothPairing.getInstance(), | 198 PageManager.registerOverlay(BluetoothPairing.getInstance(), |
| 199 BrowserOptions.getInstance()); | 199 BrowserOptions.getInstance()); |
| 200 PageManager.registerOverlay(FactoryResetOverlay.getInstance(), | 200 PageManager.registerOverlay(FactoryResetOverlay.getInstance(), |
| 201 BrowserOptions.getInstance(), | 201 BrowserOptions.getInstance(), |
| 202 [$('factory-reset-restart')]); | 202 [$('factory-reset-restart')]); |
| 203 PageManager.registerOverlay(ChangePictureOptions.getInstance(), | 203 PageManager.registerOverlay(ChangePictureOptions.getInstance(), |
| 204 BrowserOptions.getInstance(), | 204 BrowserOptions.getInstance(), |
| 205 [$('account-picture')]); | 205 [$('account-picture')]); |
| 206 PageManager.registerOverlay(StorageClearDriveCacheOverlay.getInstance(), |
| 207 StorageManager.getInstance()); |
| 206 PageManager.registerOverlay(ConsumerManagementOverlay.getInstance(), | 208 PageManager.registerOverlay(ConsumerManagementOverlay.getInstance(), |
| 207 BrowserOptions.getInstance()); | 209 BrowserOptions.getInstance()); |
| 208 PageManager.registerOverlay(DetailsInternetPage.getInstance(), | 210 PageManager.registerOverlay(DetailsInternetPage.getInstance(), |
| 209 BrowserOptions.getInstance()); | 211 BrowserOptions.getInstance()); |
| 210 PageManager.registerOverlay(DisplayOptions.getInstance(), | 212 PageManager.registerOverlay(DisplayOptions.getInstance(), |
| 211 BrowserOptions.getInstance(), | 213 BrowserOptions.getInstance(), |
| 212 [$('display-options')]); | 214 [$('display-options')]); |
| 213 PageManager.registerOverlay(DisplayOverscan.getInstance(), | 215 PageManager.registerOverlay(DisplayOverscan.getInstance(), |
| 214 DisplayOptions.getInstance()); | 216 DisplayOptions.getInstance()); |
| 215 PageManager.registerOverlay(KeyboardOverlay.getInstance(), | 217 PageManager.registerOverlay(KeyboardOverlay.getInstance(), |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 }; | 298 }; |
| 297 | 299 |
| 298 /** | 300 /** |
| 299 * Listener for the |popstate| event. | 301 * Listener for the |popstate| event. |
| 300 * @param {Event} e The |popstate| event. | 302 * @param {Event} e The |popstate| event. |
| 301 */ | 303 */ |
| 302 window.onpopstate = function(e) { | 304 window.onpopstate = function(e) { |
| 303 var pageName = PageManager.getPageNameFromPath(); | 305 var pageName = PageManager.getPageNameFromPath(); |
| 304 PageManager.setState(pageName, location.hash, e.state); | 306 PageManager.setState(pageName, location.hash, e.state); |
| 305 }; | 307 }; |
| OLD | NEW |