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

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: Close when pointers disconnected 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 543 matching lines...) Expand 10 before | Expand all | Expand 10 after
554 { 554 {
555 url: '/device', 555 url: '/device',
556 page: 'basic', 556 page: 'basic',
557 section: 'device', 557 section: 'device',
558 subpage: [], 558 subpage: [],
559 }, 559 },
560 { 560 {
561 url: '/pointer-overlay', 561 url: '/pointer-overlay',
562 page: 'basic', 562 page: 'basic',
563 section: 'device', 563 section: 'device',
564 subpage: ['touchpad'], 564 subpage: ['pointers'],
565 }, 565 },
566 { 566 {
567 url: '/keyboard-overlay', 567 url: '/keyboard-overlay',
568 page: 'basic', 568 page: 'basic',
569 section: 'device', 569 section: 'device',
570 subpage: ['keyboard'], 570 subpage: ['keyboard'],
571 }, 571 },
572 { 572 {
573 url: '/display', 573 url: '/display',
574 page: 'basic', 574 page: 'basic',
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
636 window.history.replaceState(historicRoute, document.title); 636 window.history.replaceState(historicRoute, document.title);
637 } 637 }
638 638
639 return; 639 return;
640 } 640 }
641 } 641 }
642 642
643 assertNotReached('Route not found: ' + JSON.stringify(newRoute)); 643 assertNotReached('Route not found: ' + JSON.stringify(newRoute));
644 }, 644 },
645 }); 645 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698