| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 /** | 5 /** |
| 6 * @typedef {{ | 6 * @typedef {{ |
| 7 * dialog: (string|undefined), | 7 * dialog: (string|undefined), |
| 8 * page: string, | 8 * page: string, |
| 9 * section: string, | 9 * section: string, |
| 10 * subpage: !Array<string>, | 10 * subpage: !Array<string>, |
| (...skipping 520 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 531 page: 'advanced', | 531 page: 'advanced', |
| 532 section: 'downloads', | 532 section: 'downloads', |
| 533 subpage: [], | 533 subpage: [], |
| 534 }, | 534 }, |
| 535 { | 535 { |
| 536 url: '/printing', | 536 url: '/printing', |
| 537 page: 'advanced', | 537 page: 'advanced', |
| 538 section: 'printing', | 538 section: 'printing', |
| 539 subpage: [], | 539 subpage: [], |
| 540 }, | 540 }, |
| 541 <if expr="chromeos"> |
| 542 { |
| 543 url: '/cupsPrinters', |
| 544 page: 'advanced', |
| 545 section: 'printing', |
| 546 subpage: ['cups-printers'], |
| 547 }, |
| 548 </if> |
| 549 { |
| 550 url: '/cloudPrinters', |
| 551 page: 'advanced', |
| 552 section: 'printing', |
| 553 subpage: ['cloud-printers'], |
| 554 }, |
| 541 { | 555 { |
| 542 url: '/accessibility', | 556 url: '/accessibility', |
| 543 page: 'advanced', | 557 page: 'advanced', |
| 544 section: 'a11y', | 558 section: 'a11y', |
| 545 subpage: [], | 559 subpage: [], |
| 546 }, | 560 }, |
| 547 { | 561 { |
| 548 url: '/system', | 562 url: '/system', |
| 549 page: 'advanced', | 563 page: 'advanced', |
| 550 section: 'system', | 564 section: 'system', |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 642 window.history.replaceState(historicRoute, document.title); | 656 window.history.replaceState(historicRoute, document.title); |
| 643 } | 657 } |
| 644 | 658 |
| 645 return; | 659 return; |
| 646 } | 660 } |
| 647 } | 661 } |
| 648 | 662 |
| 649 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); | 663 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); |
| 650 }, | 664 }, |
| 651 }); | 665 }); |
| OLD | NEW |