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

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 copyright year Created 3 years, 11 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // </if> 128 // </if>
129 // <if expr="chromeos"> 129 // <if expr="chromeos">
130 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture'); 130 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture');
131 r.ACCOUNTS = r.PEOPLE.createChild('/accounts'); 131 r.ACCOUNTS = r.PEOPLE.createChild('/accounts');
132 r.LOCK_SCREEN = r.PEOPLE.createChild('/lockScreen'); 132 r.LOCK_SCREEN = r.PEOPLE.createChild('/lockScreen');
133 133
134 r.DEVICE = r.BASIC.createSection('/device', 'device'); 134 r.DEVICE = r.BASIC.createSection('/device', 'device');
135 r.POINTERS = r.DEVICE.createChild('/pointer-overlay'); 135 r.POINTERS = r.DEVICE.createChild('/pointer-overlay');
136 r.KEYBOARD = r.DEVICE.createChild('/keyboard-overlay'); 136 r.KEYBOARD = r.DEVICE.createChild('/keyboard-overlay');
137 r.DISPLAY = r.DEVICE.createChild('/display'); 137 r.DISPLAY = r.DEVICE.createChild('/display');
138 r.POWER = r.DEVICE.createChild('/power');
138 r.STYLUS = r.DEVICE.createChild('/stylus'); 139 r.STYLUS = r.DEVICE.createChild('/stylus');
139 r.STORAGE = r.DEVICE.createChild('/storage'); 140 r.STORAGE = r.DEVICE.createChild('/storage');
140 // </if> 141 // </if>
141 142
142 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy'); 143 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy');
143 r.CERTIFICATES = r.PRIVACY.createChild('/certificates'); 144 r.CERTIFICATES = r.PRIVACY.createChild('/certificates');
144 145
145 r.SITE_SETTINGS = r.PRIVACY.createChild('/content'); 146 r.SITE_SETTINGS = r.PRIVACY.createChild('/content');
146 r.SITE_SETTINGS_ALL = r.SITE_SETTINGS.createChild('all'); 147 r.SITE_SETTINGS_ALL = r.SITE_SETTINGS.createChild('all');
147 r.SITE_SETTINGS_SITE_DETAILS = 148 r.SITE_SETTINGS_SITE_DETAILS =
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 RouteObserverBehavior: RouteObserverBehavior, 385 RouteObserverBehavior: RouteObserverBehavior,
385 getRouteForPath: getRouteForPath, 386 getRouteForPath: getRouteForPath,
386 initializeRouteFromUrl: initializeRouteFromUrl, 387 initializeRouteFromUrl: initializeRouteFromUrl,
387 getCurrentRoute: getCurrentRoute, 388 getCurrentRoute: getCurrentRoute,
388 getQueryParameters: getQueryParameters, 389 getQueryParameters: getQueryParameters,
389 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, 390 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate,
390 navigateTo: navigateTo, 391 navigateTo: navigateTo,
391 navigateToPreviousRoute: navigateToPreviousRoute, 392 navigateToPreviousRoute: navigateToPreviousRoute,
392 }; 393 };
393 }); 394 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698