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

Side by Side Diff: chrome/browser/resources/settings/route.js

Issue 2629573006: chromeos: Add Power device page to chrome://md-settings. (Closed)
Patch Set: update now that power source settings exist Created 3 years, 9 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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 cr.define('settings', function() { 5 cr.define('settings', function() {
6 /** 6 /**
7 * Class for navigable routes. May only be instantiated within this file. 7 * Class for navigable routes. May only be instantiated within this file.
8 * @constructor 8 * @constructor
9 * @param {string} path 9 * @param {string} path
10 * @private 10 * @private
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 // <if expr="chromeos"> 131 // <if expr="chromeos">
132 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture'); 132 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture');
133 r.ACCOUNTS = r.PEOPLE.createChild('/accounts'); 133 r.ACCOUNTS = r.PEOPLE.createChild('/accounts');
134 r.LOCK_SCREEN = r.PEOPLE.createChild('/lockScreen'); 134 r.LOCK_SCREEN = r.PEOPLE.createChild('/lockScreen');
135 r.FINGERPRINT = r.LOCK_SCREEN.createChild('/lockScreen/fingerprint'); 135 r.FINGERPRINT = r.LOCK_SCREEN.createChild('/lockScreen/fingerprint');
136 136
137 r.DEVICE = r.BASIC.createSection('/device', 'device'); 137 r.DEVICE = r.BASIC.createSection('/device', 'device');
138 r.POINTERS = r.DEVICE.createChild('/pointer-overlay'); 138 r.POINTERS = r.DEVICE.createChild('/pointer-overlay');
139 r.KEYBOARD = r.DEVICE.createChild('/keyboard-overlay'); 139 r.KEYBOARD = r.DEVICE.createChild('/keyboard-overlay');
140 r.DISPLAY = r.DEVICE.createChild('/display'); 140 r.DISPLAY = r.DEVICE.createChild('/display');
141 r.POWER = r.DEVICE.createChild('/power');
Daniel Erat 2017/03/01 02:43:31 should i reorder this listing to match the order o
michaelpg 2017/03/01 05:20:39 Yeah, I think that's roughly what we were going fo
Daniel Erat 2017/03/01 23:01:53 Done.
141 r.STYLUS = r.DEVICE.createChild('/stylus'); 142 r.STYLUS = r.DEVICE.createChild('/stylus');
142 r.STORAGE = r.DEVICE.createChild('/storage'); 143 r.STORAGE = r.DEVICE.createChild('/storage');
143 // </if> 144 // </if>
144 145
145 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy'); 146 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy');
146 r.CERTIFICATES = r.PRIVACY.createChild('/certificates'); 147 r.CERTIFICATES = r.PRIVACY.createChild('/certificates');
147 148
148 r.SITE_SETTINGS = r.PRIVACY.createChild('/content'); 149 r.SITE_SETTINGS = r.PRIVACY.createChild('/content');
149 r.SITE_SETTINGS_ALL = r.SITE_SETTINGS.createChild('all'); 150 r.SITE_SETTINGS_ALL = r.SITE_SETTINGS.createChild('all');
150 r.SITE_SETTINGS_SITE_DETAILS = 151 r.SITE_SETTINGS_SITE_DETAILS =
(...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 getRouteForPath: getRouteForPath, 399 getRouteForPath: getRouteForPath,
399 initializeRouteFromUrl: initializeRouteFromUrl, 400 initializeRouteFromUrl: initializeRouteFromUrl,
400 resetRouteForTesting: resetRouteForTesting, 401 resetRouteForTesting: resetRouteForTesting,
401 getCurrentRoute: getCurrentRoute, 402 getCurrentRoute: getCurrentRoute,
402 getQueryParameters: getQueryParameters, 403 getQueryParameters: getQueryParameters,
403 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, 404 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate,
404 navigateTo: navigateTo, 405 navigateTo: navigateTo,
405 navigateToPreviousRoute: navigateToPreviousRoute, 406 navigateToPreviousRoute: navigateToPreviousRoute,
406 }; 407 };
407 }); 408 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698