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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 r.EDIT_DICTIONARY = r.LANGUAGES.createChild('/editDictionary'); | 221 r.EDIT_DICTIONARY = r.LANGUAGES.createChild('/editDictionary'); |
222 // </if> | 222 // </if> |
223 | 223 |
224 r.DOWNLOADS = r.ADVANCED.createSection('/downloads', 'downloads'); | 224 r.DOWNLOADS = r.ADVANCED.createSection('/downloads', 'downloads'); |
225 | 225 |
226 r.PRINTING = r.ADVANCED.createSection('/printing', 'printing'); | 226 r.PRINTING = r.ADVANCED.createSection('/printing', 'printing'); |
227 r.CLOUD_PRINTERS = r.PRINTING.createChild('/cloudPrinters'); | 227 r.CLOUD_PRINTERS = r.PRINTING.createChild('/cloudPrinters'); |
228 // <if expr="chromeos"> | 228 // <if expr="chromeos"> |
229 r.CUPS_PRINTERS = r.PRINTING.createChild('/cupsPrinters'); | 229 r.CUPS_PRINTERS = r.PRINTING.createChild('/cupsPrinters'); |
230 r.CUPS_PRINTER_DETAIL = r.CUPS_PRINTERS.createChild('/cupsPrinterDetails'); | 230 r.CUPS_PRINTER_DETAIL = r.CUPS_PRINTERS.createChild('/cupsPrinterDetails'); |
| 231 |
| 232 r.MULTIDEVICE = r.ADVANCED.createSection('/multidevice', 'multidevice'); |
231 // </if> | 233 // </if> |
232 | 234 |
233 r.ACCESSIBILITY = r.ADVANCED.createSection('/accessibility', 'a11y'); | 235 r.ACCESSIBILITY = r.ADVANCED.createSection('/accessibility', 'a11y'); |
234 // <if expr="chromeos"> | 236 // <if expr="chromeos"> |
235 r.MANAGE_ACCESSIBILITY = r.ACCESSIBILITY.createChild('/manageAccessibility'); | 237 r.MANAGE_ACCESSIBILITY = r.ACCESSIBILITY.createChild('/manageAccessibility'); |
236 // </if> | 238 // </if> |
237 | 239 |
238 r.SYSTEM = r.ADVANCED.createSection('/system', 'system'); | 240 r.SYSTEM = r.ADVANCED.createSection('/system', 'system'); |
239 r.RESET = r.ADVANCED.createSection('/reset', 'reset'); | 241 r.RESET = r.ADVANCED.createSection('/reset', 'reset'); |
240 | 242 |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 getRouteForPath: getRouteForPath, | 436 getRouteForPath: getRouteForPath, |
435 initializeRouteFromUrl: initializeRouteFromUrl, | 437 initializeRouteFromUrl: initializeRouteFromUrl, |
436 resetRouteForTesting: resetRouteForTesting, | 438 resetRouteForTesting: resetRouteForTesting, |
437 getCurrentRoute: getCurrentRoute, | 439 getCurrentRoute: getCurrentRoute, |
438 getQueryParameters: getQueryParameters, | 440 getQueryParameters: getQueryParameters, |
439 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, | 441 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, |
440 navigateTo: navigateTo, | 442 navigateTo: navigateTo, |
441 navigateToPreviousRoute: navigateToPreviousRoute, | 443 navigateToPreviousRoute: navigateToPreviousRoute, |
442 }; | 444 }; |
443 }); | 445 }); |
OLD | NEW |