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

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: Format the Google cloud printing icon. 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 520 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698