OLD | NEW |
1 <!DOCTYPE HTML> | 1 <!DOCTYPE HTML> |
2 <html i18n-values="dir:textdirection;" id="t"> | 2 <html i18n-values="dir:textdirection;" id="t"> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <title i18n-content="title"></title> | 5 <title i18n-content="title"></title> |
6 | 6 |
7 <!-- TODO(zelidrag) need a better icon here --> | 7 <!-- TODO(zelidrag) need a better icon here --> |
8 <link rel="icon" href="../../app/theme/history_favicon.png"> | 8 <link rel="icon" href="../../app/theme/history_favicon.png"> |
9 | 9 |
10 <script src="chrome://resources/js/class_list.js"></script> | 10 <script src="chrome://resources/js/class_list.js"></script> |
(...skipping 29 matching lines...) Expand all Loading... |
40 </if> | 40 </if> |
41 <script src="options/add_startup_page_overlay.js"></script> | 41 <script src="options/add_startup_page_overlay.js"></script> |
42 <script src="options/advanced_options.js"></script> | 42 <script src="options/advanced_options.js"></script> |
43 <script src="options/browser_options.js"></script> | 43 <script src="options/browser_options.js"></script> |
44 <script src="options/clear_browser_data_overlay.js"></script> | 44 <script src="options/clear_browser_data_overlay.js"></script> |
45 <script src="options/content_settings.js"></script> | 45 <script src="options/content_settings.js"></script> |
46 <script src="options/content_settings_exceptions_area.js"></script> | 46 <script src="options/content_settings_exceptions_area.js"></script> |
47 <script src="options/content_settings_ui.js"></script> | 47 <script src="options/content_settings_ui.js"></script> |
48 <script src="options/font_settings_overlay.js"></script> | 48 <script src="options/font_settings_overlay.js"></script> |
49 <script src="options/import_data_overlay.js"></script> | 49 <script src="options/import_data_overlay.js"></script> |
| 50 <script src="options/passwords_exceptions.js"></script> |
50 <script src="options/personal_options.js"></script> | 51 <script src="options/personal_options.js"></script> |
51 <script src="options/search_engine_manager.js"></script> | 52 <script src="options/search_engine_manager.js"></script> |
52 <script src="options/stop_syncing_overlay.js"></script> | 53 <script src="options/stop_syncing_overlay.js"></script> |
53 <script> | 54 <script> |
54 | 55 |
55 var AddStartupPageOverlay = options.AddStartupPageOverlay; | 56 var AddStartupPageOverlay = options.AddStartupPageOverlay; |
56 var AdvancedOptions = options.AdvancedOptions; | 57 var AdvancedOptions = options.AdvancedOptions; |
57 var BrowserOptions = options.BrowserOptions; | 58 var BrowserOptions = options.BrowserOptions; |
58 var ClearBrowserDataOverlay = options.ClearBrowserDataOverlay; | 59 var ClearBrowserDataOverlay = options.ClearBrowserDataOverlay; |
59 var ContentSettings = options.ContentSettings; | 60 var ContentSettings = options.ContentSettings; |
60 var FontSettingsOverlay = options.FontSettingsOverlay; | 61 var FontSettingsOverlay = options.FontSettingsOverlay; |
61 var ImportDataOverlay = options.ImportDataOverlay; | 62 var ImportDataOverlay = options.ImportDataOverlay; |
62 var OptionsPage = options.OptionsPage; | 63 var OptionsPage = options.OptionsPage; |
| 64 var PasswordsExceptions = options.PasswordsExceptions; |
63 var PersonalOptions = options.PersonalOptions; | 65 var PersonalOptions = options.PersonalOptions; |
64 var Preferences = options.Preferences; | 66 var Preferences = options.Preferences; |
65 var SearchEngineManager = options.SearchEngineManager; | 67 var SearchEngineManager = options.SearchEngineManager; |
66 var StopSyncingOverlay = options.StopSyncingOverlay; | 68 var StopSyncingOverlay = options.StopSyncingOverlay; |
67 | 69 |
68 /** | 70 /** |
69 * Window onload handler, sets up the page. | 71 * Window onload handler, sets up the page. |
70 */ | 72 */ |
71 function load() { | 73 function load() { |
72 localStrings = new LocalStrings(); | 74 localStrings = new LocalStrings(); |
(...skipping 17 matching lines...) Expand all Loading... |
90 // OptionsPage.register(new OptionsPage( | 92 // OptionsPage.register(new OptionsPage( |
91 // 'languagePinyin', | 93 // 'languagePinyin', |
92 // localStrings.getString('languagePinyinPage'), | 94 // localStrings.getString('languagePinyinPage'), |
93 // 'languagePinyinPage')); | 95 // 'languagePinyinPage')); |
94 } | 96 } |
95 | 97 |
96 OptionsPage.register(BrowserOptions.getInstance()); | 98 OptionsPage.register(BrowserOptions.getInstance()); |
97 OptionsPage.register(PersonalOptions.getInstance()); | 99 OptionsPage.register(PersonalOptions.getInstance()); |
98 OptionsPage.register(AdvancedOptions.getInstance()); | 100 OptionsPage.register(AdvancedOptions.getInstance()); |
99 OptionsPage.registerSubPage(ContentSettings.getInstance()); | 101 OptionsPage.registerSubPage(ContentSettings.getInstance()); |
| 102 OptionsPage.registerSubPage(PasswordsExceptions.getInstance()); |
100 OptionsPage.registerSubPage(SearchEngineManager.getInstance()); | 103 OptionsPage.registerSubPage(SearchEngineManager.getInstance()); |
101 OptionsPage.registerOverlay(AddStartupPageOverlay.getInstance()); | 104 OptionsPage.registerOverlay(AddStartupPageOverlay.getInstance()); |
102 OptionsPage.registerOverlay(ClearBrowserDataOverlay.getInstance()); | 105 OptionsPage.registerOverlay(ClearBrowserDataOverlay.getInstance()); |
103 OptionsPage.registerOverlay(FontSettingsOverlay.getInstance()); | 106 OptionsPage.registerOverlay(FontSettingsOverlay.getInstance()); |
104 OptionsPage.registerOverlay(ImportDataOverlay.getInstance()); | 107 OptionsPage.registerOverlay(ImportDataOverlay.getInstance()); |
105 OptionsPage.registerOverlay(StopSyncingOverlay.getInstance()); | 108 OptionsPage.registerOverlay(StopSyncingOverlay.getInstance()); |
106 | 109 |
107 if (cr.isChromeOS) { | 110 if (cr.isChromeOS) { |
108 OptionsPage.register(AccountsOptions.getInstance()); | 111 OptionsPage.register(AccountsOptions.getInstance()); |
109 var labsOptions = new OptionsPage('labs', | 112 var labsOptions = new OptionsPage('labs', |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
181 dialog is ready. | 184 dialog is ready. |
182 - options/chromeos_language_chewing_options.html | 185 - options/chromeos_language_chewing_options.html |
183 - options/chromeos_language_hangul_options.html | 186 - options/chromeos_language_hangul_options.html |
184 - options/chromeos_language_mozc_options.html | 187 - options/chromeos_language_mozc_options.html |
185 - options/chromeos_language_pinyin_options.html | 188 - options/chromeos_language_pinyin_options.html |
186 --> | 189 --> |
187 </if> | 190 </if> |
188 <include src="options/advanced_options.html"> | 191 <include src="options/advanced_options.html"> |
189 <include src="options/browser_options.html"> | 192 <include src="options/browser_options.html"> |
190 <include src="options/content_settings.html"> | 193 <include src="options/content_settings.html"> |
| 194 <include src="options/passwords_exceptions.html"> |
191 <include src="options/personal_options.html"> | 195 <include src="options/personal_options.html"> |
192 <include src="options/search_engine_manager.html"> | 196 <include src="options/search_engine_manager.html"> |
193 <include src="options/sync_options.html"> | 197 <include src="options/sync_options.html"> |
194 </div> | 198 </div> |
195 </div> | 199 </div> |
196 | 200 |
197 <script> | 201 <script> |
198 // Decorate the existing elements in the document. | 202 // Decorate the existing elements in the document. |
199 cr.ui.decorate('input[pref][type=checkbox]', options.PrefCheckbox); | 203 cr.ui.decorate('input[pref][type=checkbox]', options.PrefCheckbox); |
200 cr.ui.decorate('input[pref][type=number]', options.PrefNumber); | 204 cr.ui.decorate('input[pref][type=number]', options.PrefNumber); |
201 cr.ui.decorate('input[pref][type=radio]', options.PrefRadio); | 205 cr.ui.decorate('input[pref][type=radio]', options.PrefRadio); |
202 cr.ui.decorate('input[pref][type=range]', options.PrefRange); | 206 cr.ui.decorate('input[pref][type=range]', options.PrefRange); |
203 cr.ui.decorate('select[pref]', options.PrefSelect); | 207 cr.ui.decorate('select[pref]', options.PrefSelect); |
204 cr.ui.decorate('input[pref][type=url]', options.PrefTextField); | 208 cr.ui.decorate('input[pref][type=url]', options.PrefTextField); |
205 cr.ui.decorate('#contentSettingsPage input[type=radio]', | 209 cr.ui.decorate('#contentSettingsPage input[type=radio]', |
206 options.ContentSettingsRadio); | 210 options.ContentSettingsRadio); |
207 </script> | 211 </script> |
208 </body> | 212 </body> |
209 </html> | 213 </html> |
OLD | NEW |