| 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 * url: string, | 7 * url: string, |
| 8 * page: string, | 8 * page: string, |
| 9 * section: string, | 9 * section: string, |
| 10 * subpage: !Array<string>, | 10 * subpage: !Array<string>, |
| (...skipping 429 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 440 subpage: ['edit-dictionary'], | 440 subpage: ['edit-dictionary'], |
| 441 }, | 441 }, |
| 442 </if> | 442 </if> |
| 443 { | 443 { |
| 444 url: '/downloadsDirectory', | 444 url: '/downloadsDirectory', |
| 445 page: 'advanced', | 445 page: 'advanced', |
| 446 section: 'downloads', | 446 section: 'downloads', |
| 447 subpage: [], | 447 subpage: [], |
| 448 }, | 448 }, |
| 449 { | 449 { |
| 450 url: '/printing', |
| 451 page: 'advanced', |
| 452 section: 'printing', |
| 453 subpage: [], |
| 454 }, |
| 455 { |
| 450 url: '/accessibility', | 456 url: '/accessibility', |
| 451 page: 'advanced', | 457 page: 'advanced', |
| 452 section: 'a11y', | 458 section: 'a11y', |
| 453 subpage: [], | 459 subpage: [], |
| 454 }, | 460 }, |
| 455 { | 461 { |
| 456 url: '/system', | 462 url: '/system', |
| 457 page: 'advanced', | 463 page: 'advanced', |
| 458 section: 'system', | 464 section: 'system', |
| 459 subpage: [], | 465 subpage: [], |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 547 window.history.replaceState(historicState, document.title); | 553 window.history.replaceState(historicState, document.title); |
| 548 } | 554 } |
| 549 | 555 |
| 550 return; | 556 return; |
| 551 } | 557 } |
| 552 } | 558 } |
| 553 | 559 |
| 554 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); | 560 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); |
| 555 }, | 561 }, |
| 556 }); | 562 }); |
| OLD | NEW |