Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: chrome/browser/resources/settings/settings_page/settings_router.js

Issue 2017283002: MD Settings: implement printing page (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: asdf Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698