OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 AddStartupPageOverlay = options.AddStartupPageOverlay; | 5 var AddStartupPageOverlay = options.AddStartupPageOverlay; |
6 var AdvancedOptions = options.AdvancedOptions; | 6 var AdvancedOptions = options.AdvancedOptions; |
7 var AlertOverlay = options.AlertOverlay; | 7 var AlertOverlay = options.AlertOverlay; |
8 var AutoFillEditAddressOverlay = options.AutoFillEditAddressOverlay; | 8 var AutoFillEditAddressOverlay = options.AutoFillEditAddressOverlay; |
9 var AutoFillEditCreditCardOverlay = options.AutoFillEditCreditCardOverlay; | 9 var AutoFillEditCreditCardOverlay = options.AutoFillEditCreditCardOverlay; |
10 var AutoFillOptions = options.AutoFillOptions; | 10 var AutoFillOptions = options.AutoFillOptions; |
11 var BrowserOptions = options.BrowserOptions; | 11 var BrowserOptions = options.BrowserOptions; |
12 var ClearBrowserDataOverlay = options.ClearBrowserDataOverlay; | 12 var ClearBrowserDataOverlay = options.ClearBrowserDataOverlay; |
13 var ContentSettings = options.ContentSettings; | 13 var ContentSettings = options.ContentSettings; |
14 var ContentSettingsExceptionsArea = | 14 var ContentSettingsExceptionsArea = |
15 options.contentSettings.ContentSettingsExceptionsArea; | 15 options.contentSettings.ContentSettingsExceptionsArea; |
16 var CookiesView = options.CookiesView; | 16 var CookiesView = options.CookiesView; |
17 var FontSettings = options.FontSettings; | 17 var FontSettings = options.FontSettings; |
18 var ImportDataOverlay = options.ImportDataOverlay; | 18 var ImportDataOverlay = options.ImportDataOverlay; |
19 var InstantConfirmOverlay = options.InstantConfirmOverlay; | 19 var InstantConfirmOverlay = options.InstantConfirmOverlay; |
| 20 var LanguageOptions = options.LanguageOptions; |
20 var OptionsPage = options.OptionsPage; | 21 var OptionsPage = options.OptionsPage; |
21 var PasswordManager = options.PasswordManager; | 22 var PasswordManager = options.PasswordManager; |
22 var PersonalOptions = options.PersonalOptions; | 23 var PersonalOptions = options.PersonalOptions; |
23 var Preferences = options.Preferences; | 24 var Preferences = options.Preferences; |
24 var ProxyOptions = options.ProxyOptions; | 25 var ProxyOptions = options.ProxyOptions; |
25 var SearchEngineManager = options.SearchEngineManager; | 26 var SearchEngineManager = options.SearchEngineManager; |
26 var SearchPage = options.SearchPage; | 27 var SearchPage = options.SearchPage; |
27 var StartupPageManager = options.StartupPageManager; | 28 var StartupPageManager = options.StartupPageManager; |
28 | 29 |
29 /** | 30 /** |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 $('settings-title').onclick = function() { | 176 $('settings-title').onclick = function() { |
176 OptionsPage.showPageByName(BrowserOptions.getInstance().name); | 177 OptionsPage.showPageByName(BrowserOptions.getInstance().name); |
177 }; | 178 }; |
178 } | 179 } |
179 | 180 |
180 document.addEventListener('DOMContentLoaded', load); | 181 document.addEventListener('DOMContentLoaded', load); |
181 | 182 |
182 window.onpopstate = function(e) { | 183 window.onpopstate = function(e) { |
183 options.OptionsPage.setState(e.state); | 184 options.OptionsPage.setState(e.state); |
184 }; | 185 }; |
OLD | NEW |