| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 cr.define('settings', function() { | 5 cr.define('settings', function() { |
| 6 /** | 6 /** |
| 7 * Class for navigable routes. May only be instantiated within this file. | 7 * Class for navigable routes. May only be instantiated within this file. |
| 8 * @constructor | 8 * @constructor |
| 9 * @param {string} path | 9 * @param {string} path |
| 10 * @private | 10 * @private |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 r.SITE_SETTINGS_MICROPHONE = r.SITE_SETTINGS.createChild('microphone'); | 166 r.SITE_SETTINGS_MICROPHONE = r.SITE_SETTINGS.createChild('microphone'); |
| 167 r.SITE_SETTINGS_NOTIFICATIONS = r.SITE_SETTINGS.createChild('notifications'); | 167 r.SITE_SETTINGS_NOTIFICATIONS = r.SITE_SETTINGS.createChild('notifications'); |
| 168 r.SITE_SETTINGS_FLASH = r.SITE_SETTINGS.createChild('flash'); | 168 r.SITE_SETTINGS_FLASH = r.SITE_SETTINGS.createChild('flash'); |
| 169 r.SITE_SETTINGS_POPUPS = r.SITE_SETTINGS.createChild('popups'); | 169 r.SITE_SETTINGS_POPUPS = r.SITE_SETTINGS.createChild('popups'); |
| 170 r.SITE_SETTINGS_UNSANDBOXED_PLUGINS = | 170 r.SITE_SETTINGS_UNSANDBOXED_PLUGINS = |
| 171 r.SITE_SETTINGS.createChild('unsandboxedPlugins'); | 171 r.SITE_SETTINGS.createChild('unsandboxedPlugins'); |
| 172 r.SITE_SETTINGS_USB_DEVICES = r.SITE_SETTINGS.createChild('usbDevices'); | 172 r.SITE_SETTINGS_USB_DEVICES = r.SITE_SETTINGS.createChild('usbDevices'); |
| 173 r.SITE_SETTINGS_ZOOM_LEVELS = r.SITE_SETTINGS.createChild('zoomLevels'); | 173 r.SITE_SETTINGS_ZOOM_LEVELS = r.SITE_SETTINGS.createChild('zoomLevels'); |
| 174 r.SITE_SETTINGS_PDF_DOCUMENTS = r.SITE_SETTINGS.createChild('pdfDocuments'); | 174 r.SITE_SETTINGS_PDF_DOCUMENTS = r.SITE_SETTINGS.createChild('pdfDocuments'); |
| 175 | 175 |
| 176 // <if expr="chromeos or is_win"> |
| 177 r.SITE_SETTINGS_PROTECTED_CONTENT = |
| 178 r.SITE_SETTINGS.createChild('protectedContent'); |
| 179 // </if> |
| 180 |
| 176 // <if expr="chromeos"> | 181 // <if expr="chromeos"> |
| 177 r.DATETIME = r.ADVANCED.createSection('/dateTime', 'dateTime'); | 182 r.DATETIME = r.ADVANCED.createSection('/dateTime', 'dateTime'); |
| 178 // </if> | 183 // </if> |
| 179 | 184 |
| 180 r.PASSWORDS = | 185 r.PASSWORDS = |
| 181 r.ADVANCED.createSection('/passwordsAndForms', 'passwordsAndForms'); | 186 r.ADVANCED.createSection('/passwordsAndForms', 'passwordsAndForms'); |
| 182 r.AUTOFILL = r.PASSWORDS.createChild('/autofill'); | 187 r.AUTOFILL = r.PASSWORDS.createChild('/autofill'); |
| 183 r.MANAGE_PASSWORDS = r.PASSWORDS.createChild('/passwords'); | 188 r.MANAGE_PASSWORDS = r.PASSWORDS.createChild('/passwords'); |
| 184 | 189 |
| 185 r.LANGUAGES = r.ADVANCED.createSection('/languages', 'languages'); | 190 r.LANGUAGES = r.ADVANCED.createSection('/languages', 'languages'); |
| (...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 RouteObserverBehavior: RouteObserverBehavior, | 391 RouteObserverBehavior: RouteObserverBehavior, |
| 387 getRouteForPath: getRouteForPath, | 392 getRouteForPath: getRouteForPath, |
| 388 initializeRouteFromUrl: initializeRouteFromUrl, | 393 initializeRouteFromUrl: initializeRouteFromUrl, |
| 389 getCurrentRoute: getCurrentRoute, | 394 getCurrentRoute: getCurrentRoute, |
| 390 getQueryParameters: getQueryParameters, | 395 getQueryParameters: getQueryParameters, |
| 391 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, | 396 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, |
| 392 navigateTo: navigateTo, | 397 navigateTo: navigateTo, |
| 393 navigateToPreviousRoute: navigateToPreviousRoute, | 398 navigateToPreviousRoute: navigateToPreviousRoute, |
| 394 }; | 399 }; |
| 395 }); | 400 }); |
| OLD | NEW |