| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 r.SITE_SETTINGS_COOKIES.createChild('/cookies/detail'); | 163 r.SITE_SETTINGS_COOKIES.createChild('/cookies/detail'); |
| 164 r.SITE_SETTINGS_IMAGES = r.SITE_SETTINGS.createChild('images'); | 164 r.SITE_SETTINGS_IMAGES = r.SITE_SETTINGS.createChild('images'); |
| 165 r.SITE_SETTINGS_JAVASCRIPT = r.SITE_SETTINGS.createChild('javascript'); | 165 r.SITE_SETTINGS_JAVASCRIPT = r.SITE_SETTINGS.createChild('javascript'); |
| 166 r.SITE_SETTINGS_LOCATION = r.SITE_SETTINGS.createChild('location'); | 166 r.SITE_SETTINGS_LOCATION = r.SITE_SETTINGS.createChild('location'); |
| 167 r.SITE_SETTINGS_MICROPHONE = r.SITE_SETTINGS.createChild('microphone'); | 167 r.SITE_SETTINGS_MICROPHONE = r.SITE_SETTINGS.createChild('microphone'); |
| 168 r.SITE_SETTINGS_NOTIFICATIONS = r.SITE_SETTINGS.createChild('notifications'); | 168 r.SITE_SETTINGS_NOTIFICATIONS = r.SITE_SETTINGS.createChild('notifications'); |
| 169 r.SITE_SETTINGS_FLASH = r.SITE_SETTINGS.createChild('flash'); | 169 r.SITE_SETTINGS_FLASH = r.SITE_SETTINGS.createChild('flash'); |
| 170 r.SITE_SETTINGS_POPUPS = r.SITE_SETTINGS.createChild('popups'); | 170 r.SITE_SETTINGS_POPUPS = r.SITE_SETTINGS.createChild('popups'); |
| 171 r.SITE_SETTINGS_UNSANDBOXED_PLUGINS = | 171 r.SITE_SETTINGS_UNSANDBOXED_PLUGINS = |
| 172 r.SITE_SETTINGS.createChild('unsandboxedPlugins'); | 172 r.SITE_SETTINGS.createChild('unsandboxedPlugins'); |
| 173 r.SITE_SETTINGS_MIDI_DEVICES = r.SITE_SETTINGS.createChild('midiDevices'); |
| 173 r.SITE_SETTINGS_USB_DEVICES = r.SITE_SETTINGS.createChild('usbDevices'); | 174 r.SITE_SETTINGS_USB_DEVICES = r.SITE_SETTINGS.createChild('usbDevices'); |
| 174 r.SITE_SETTINGS_ZOOM_LEVELS = r.SITE_SETTINGS.createChild('zoomLevels'); | 175 r.SITE_SETTINGS_ZOOM_LEVELS = r.SITE_SETTINGS.createChild('zoomLevels'); |
| 175 r.SITE_SETTINGS_PDF_DOCUMENTS = r.SITE_SETTINGS.createChild('pdfDocuments'); | 176 r.SITE_SETTINGS_PDF_DOCUMENTS = r.SITE_SETTINGS.createChild('pdfDocuments'); |
| 176 r.SITE_SETTINGS_PROTECTED_CONTENT = | 177 r.SITE_SETTINGS_PROTECTED_CONTENT = |
| 177 r.SITE_SETTINGS.createChild('protectedContent'); | 178 r.SITE_SETTINGS.createChild('protectedContent'); |
| 178 | 179 |
| 179 // <if expr="chromeos"> | 180 // <if expr="chromeos"> |
| 180 r.DATETIME = r.ADVANCED.createSection('/dateTime', 'dateTime'); | 181 r.DATETIME = r.ADVANCED.createSection('/dateTime', 'dateTime'); |
| 181 // </if> | 182 // </if> |
| 182 | 183 |
| (...skipping 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 397 getRouteForPath: getRouteForPath, | 398 getRouteForPath: getRouteForPath, |
| 398 initializeRouteFromUrl: initializeRouteFromUrl, | 399 initializeRouteFromUrl: initializeRouteFromUrl, |
| 399 resetRouteForTesting: resetRouteForTesting, | 400 resetRouteForTesting: resetRouteForTesting, |
| 400 getCurrentRoute: getCurrentRoute, | 401 getCurrentRoute: getCurrentRoute, |
| 401 getQueryParameters: getQueryParameters, | 402 getQueryParameters: getQueryParameters, |
| 402 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, | 403 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, |
| 403 navigateTo: navigateTo, | 404 navigateTo: navigateTo, |
| 404 navigateToPreviousRoute: navigateToPreviousRoute, | 405 navigateToPreviousRoute: navigateToPreviousRoute, |
| 405 }; | 406 }; |
| 406 }); | 407 }); |
| OLD | NEW |