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

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

Issue 2110833003: MD Settings: Add mouse settings, update pointer settings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@PointersFake
Patch Set: 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 * 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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after
539 { 539 {
540 url: '/device', 540 url: '/device',
541 page: 'basic', 541 page: 'basic',
542 section: 'device', 542 section: 'device',
543 subpage: [], 543 subpage: [],
544 }, 544 },
545 { 545 {
546 url: '/pointer-overlay', 546 url: '/pointer-overlay',
547 page: 'basic', 547 page: 'basic',
548 section: 'device', 548 section: 'device',
549 subpage: ['touchpad'], 549 subpage: ['pointers'],
550 }, 550 },
551 { 551 {
552 url: '/keyboard-overlay', 552 url: '/keyboard-overlay',
553 page: 'basic', 553 page: 'basic',
554 section: 'device', 554 section: 'device',
555 subpage: ['keyboard'], 555 subpage: ['keyboard'],
556 }, 556 },
557 { 557 {
558 url: '/display', 558 url: '/display',
559 page: 'basic', 559 page: 'basic',
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
618 window.history.replaceState(historicState, document.title); 618 window.history.replaceState(historicState, document.title);
619 } 619 }
620 620
621 return; 621 return;
622 } 622 }
623 } 623 }
624 624
625 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); 625 assertNotReached('Route not found: ' + JSON.stringify(newRoute));
626 }, 626 },
627 }); 627 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698