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

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

Issue 2110653003: CUPS: MD Settings printers subpage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address stevenjb@'s comments. Created 4 years, 5 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 * 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 514 matching lines...) Expand 10 before | Expand all | Expand 10 after
525 page: 'advanced', 525 page: 'advanced',
526 section: 'downloads', 526 section: 'downloads',
527 subpage: [], 527 subpage: [],
528 }, 528 },
529 { 529 {
530 url: '/printing', 530 url: '/printing',
531 page: 'advanced', 531 page: 'advanced',
532 section: 'printing', 532 section: 'printing',
533 subpage: [], 533 subpage: [],
534 }, 534 },
535 <if expr="chromeos">
536 {
537 url: '/cupsPrinters',
538 page: 'advanced',
539 section: 'printing',
540 subpage: ['cups-printers'],
541 },
542 </if>
543 {
544 url: '/cloudPrinters',
545 page: 'advanced',
546 section: 'printing',
547 subpage: ['cloud-printers'],
548 },
535 { 549 {
536 url: '/accessibility', 550 url: '/accessibility',
537 page: 'advanced', 551 page: 'advanced',
538 section: 'a11y', 552 section: 'a11y',
539 subpage: [], 553 subpage: [],
540 }, 554 },
541 { 555 {
542 url: '/system', 556 url: '/system',
543 page: 'advanced', 557 page: 'advanced',
544 section: 'system', 558 section: 'system',
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 window.history.replaceState(historicRoute, document.title); 650 window.history.replaceState(historicRoute, document.title);
637 } 651 }
638 652
639 return; 653 return;
640 } 654 }
641 } 655 }
642 656
643 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); 657 assertNotReached('Route not found: ' + JSON.stringify(newRoute));
644 }, 658 },
645 }); 659 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698