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

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

Issue 2808123003: MD Settings: Remove /manageAccessibility route for non-CrOS (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 r.DOWNLOADS = r.ADVANCED.createSection('/downloads', 'downloads'); 218 r.DOWNLOADS = r.ADVANCED.createSection('/downloads', 'downloads');
219 219
220 r.PRINTING = r.ADVANCED.createSection('/printing', 'printing'); 220 r.PRINTING = r.ADVANCED.createSection('/printing', 'printing');
221 r.CLOUD_PRINTERS = r.PRINTING.createChild('/cloudPrinters'); 221 r.CLOUD_PRINTERS = r.PRINTING.createChild('/cloudPrinters');
222 // <if expr="chromeos"> 222 // <if expr="chromeos">
223 r.CUPS_PRINTERS = r.PRINTING.createChild('/cupsPrinters'); 223 r.CUPS_PRINTERS = r.PRINTING.createChild('/cupsPrinters');
224 r.CUPS_PRINTER_DETAIL = r.CUPS_PRINTERS.createChild('/cupsPrinterDetails'); 224 r.CUPS_PRINTER_DETAIL = r.CUPS_PRINTERS.createChild('/cupsPrinterDetails');
225 // </if> 225 // </if>
226 226
227 r.ACCESSIBILITY = r.ADVANCED.createSection('/accessibility', 'a11y'); 227 r.ACCESSIBILITY = r.ADVANCED.createSection('/accessibility', 'a11y');
228 // <if expr="chromeos">
228 r.MANAGE_ACCESSIBILITY = r.ACCESSIBILITY.createChild('/manageAccessibility'); 229 r.MANAGE_ACCESSIBILITY = r.ACCESSIBILITY.createChild('/manageAccessibility');
230 // </if>
229 231
230 r.SYSTEM = r.ADVANCED.createSection('/system', 'system'); 232 r.SYSTEM = r.ADVANCED.createSection('/system', 'system');
231 r.RESET = r.ADVANCED.createSection('/reset', 'reset'); 233 r.RESET = r.ADVANCED.createSection('/reset', 'reset');
232 234
233 // <if expr="chromeos"> 235 // <if expr="chromeos">
234 // "About" is the only section in About, but we still need to create the route 236 // "About" is the only section in About, but we still need to create the route
235 // in order to show the subpage on Chrome OS. 237 // in order to show the subpage on Chrome OS.
236 r.ABOUT_ABOUT = r.ABOUT.createSection('/help/about', 'about'); 238 r.ABOUT_ABOUT = r.ABOUT.createSection('/help/about', 'about');
237 r.DETAILED_BUILD_INFO = r.ABOUT_ABOUT.createChild('/help/details'); 239 r.DETAILED_BUILD_INFO = r.ABOUT_ABOUT.createChild('/help/details');
238 // </if> 240 // </if>
(...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 getRouteForPath: getRouteForPath, 426 getRouteForPath: getRouteForPath,
425 initializeRouteFromUrl: initializeRouteFromUrl, 427 initializeRouteFromUrl: initializeRouteFromUrl,
426 resetRouteForTesting: resetRouteForTesting, 428 resetRouteForTesting: resetRouteForTesting,
427 getCurrentRoute: getCurrentRoute, 429 getCurrentRoute: getCurrentRoute,
428 getQueryParameters: getQueryParameters, 430 getQueryParameters: getQueryParameters,
429 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, 431 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate,
430 navigateTo: navigateTo, 432 navigateTo: navigateTo,
431 navigateToPreviousRoute: navigateToPreviousRoute, 433 navigateToPreviousRoute: navigateToPreviousRoute,
432 }; 434 };
433 }); 435 });
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698