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

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

Issue 2200463002: Reorganize accessibility settings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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} url 9 * @param {string} url
10 * @private 10 * @private
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 248
249 r.DOWNLOADS = r.ADVANCED.createSection('/downloadsDirectory', 'downloads'); 249 r.DOWNLOADS = r.ADVANCED.createSection('/downloadsDirectory', 'downloads');
250 250
251 r.PRINTING = r.ADVANCED.createSection('/printing', 'printing'); 251 r.PRINTING = r.ADVANCED.createSection('/printing', 'printing');
252 r.CLOUD_PRINTERS = r.PRINTING.createChild('/cloudPrinters', 'cloud-printers'); 252 r.CLOUD_PRINTERS = r.PRINTING.createChild('/cloudPrinters', 'cloud-printers');
253 <if expr="chromeos"> 253 <if expr="chromeos">
254 r.CUPS_PRINTERS = r.PRINTING.createChild('/cupsPrinters', 'cups-printers'); 254 r.CUPS_PRINTERS = r.PRINTING.createChild('/cupsPrinters', 'cups-printers');
255 </if> 255 </if>
256 256
257 r.ACCESSIBILITY = r.ADVANCED.createSection('/accessibility', 'a11y'); 257 r.ACCESSIBILITY = r.ADVANCED.createSection('/accessibility', 'a11y');
258 r.MANAGE_ACCESSIBILITY = r.ACCESSIBILITY.createChild(
259 '/manageAccessibility', 'manage-a11y');
260
258 r.SYSTEM = r.ADVANCED.createSection('/system', 'system'); 261 r.SYSTEM = r.ADVANCED.createSection('/system', 'system');
259 r.RESET = r.ADVANCED.createSection('/reset', 'reset'); 262 r.RESET = r.ADVANCED.createSection('/reset', 'reset');
260 263
261 <if expr="chromeos"> 264 <if expr="chromeos">
262 r.INPUT_METHODS = 265 r.INPUT_METHODS =
263 r.LANGUAGES.createChild('/inputMethods', 'manage-input-methods'); 266 r.LANGUAGES.createChild('/inputMethods', 'manage-input-methods');
264 r.DETAILED_BUILD_INFO = 267 r.DETAILED_BUILD_INFO =
265 r.ABOUT.createChild('/help/details', 'detailed-build-info'); 268 r.ABOUT.createChild('/help/details', 'detailed-build-info');
266 r.DETAILED_BUILD_INFO.section = 'about'; 269 r.DETAILED_BUILD_INFO.section = 'about';
267 </if> 270 </if>
268 271
269 return { 272 return {
270 Route: Route, 273 Route: Route,
271 }; 274 };
272 }); 275 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698