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

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

Issue 2348913002: Port storage manager to MD settings. (Closed)
Patch Set: Address review comments 2. Created 4 years, 2 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 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 <if expr="chromeos"> 122 <if expr="chromeos">
123 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture'); 123 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture');
124 r.ACCOUNTS = r.PEOPLE.createChild('/accounts'); 124 r.ACCOUNTS = r.PEOPLE.createChild('/accounts');
125 r.LOCK_SCREEN = r.PEOPLE.createChild('/lockScreen'); 125 r.LOCK_SCREEN = r.PEOPLE.createChild('/lockScreen');
126 126
127 r.DEVICE = r.BASIC.createSection('/device', 'device'); 127 r.DEVICE = r.BASIC.createSection('/device', 'device');
128 r.POINTERS = r.DEVICE.createChild('/pointer-overlay'); 128 r.POINTERS = r.DEVICE.createChild('/pointer-overlay');
129 r.KEYBOARD = r.DEVICE.createChild('/keyboard-overlay'); 129 r.KEYBOARD = r.DEVICE.createChild('/keyboard-overlay');
130 r.DISPLAY = r.DEVICE.createChild('/display'); 130 r.DISPLAY = r.DEVICE.createChild('/display');
131 r.STYLUS = r.DEVICE.createChild('/stylus'); 131 r.STYLUS = r.DEVICE.createChild('/stylus');
132 r.STORAGE = r.DEVICE.createChild('/storage');
132 </if> 133 </if>
133 134
134 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy'); 135 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy');
135 r.CERTIFICATES = r.PRIVACY.createChild('/certificates'); 136 r.CERTIFICATES = r.PRIVACY.createChild('/certificates');
136 137
137 r.SITE_SETTINGS = r.PRIVACY.createChild('/siteSettings'); 138 r.SITE_SETTINGS = r.PRIVACY.createChild('/siteSettings');
138 r.SITE_SETTINGS_ALL = r.SITE_SETTINGS.createChild('all'); 139 r.SITE_SETTINGS_ALL = r.SITE_SETTINGS.createChild('all');
139 r.SITE_SETTINGS_SITE_DETAILS = 140 r.SITE_SETTINGS_SITE_DETAILS =
140 r.SITE_SETTINGS_ALL.createChild('/siteSettings/siteDetails'); 141 r.SITE_SETTINGS_ALL.createChild('/siteSettings/siteDetails');
141 142
(...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 RouteObserverBehavior: RouteObserverBehavior, 356 RouteObserverBehavior: RouteObserverBehavior,
356 getRouteForPath: getRouteForPath, 357 getRouteForPath: getRouteForPath,
357 initializeRouteFromUrl: initializeRouteFromUrl, 358 initializeRouteFromUrl: initializeRouteFromUrl,
358 getCurrentRoute: getCurrentRoute, 359 getCurrentRoute: getCurrentRoute,
359 getQueryParameters: getQueryParameters, 360 getQueryParameters: getQueryParameters,
360 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, 361 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate,
361 navigateTo: navigateTo, 362 navigateTo: navigateTo,
362 navigateToPreviousRoute: navigateToPreviousRoute, 363 navigateToPreviousRoute: navigateToPreviousRoute,
363 }; 364 };
364 }); 365 });
OLDNEW
« no previous file with comments | « chrome/browser/resources/settings/icons.html ('k') | chrome/browser/resources/settings/settings_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698