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

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

Issue 2265253002: Replace Manage Languages with dialog and dropdown item (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@EnableDisableLanguage
Patch Set: indent 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} path 9 * @param {string} path
10 * @private 10 * @private
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 r.BLUETOOTH_PAIR_DEVICE = 167 r.BLUETOOTH_PAIR_DEVICE =
168 r.BLUETOOTH_ADD_DEVICE.createChild('bluetoothPairDevice'); 168 r.BLUETOOTH_ADD_DEVICE.createChild('bluetoothPairDevice');
169 </if> 169 </if>
170 170
171 r.PASSWORDS = r.ADVANCED.createSection('/passwords', 'passwordsAndForms'); 171 r.PASSWORDS = r.ADVANCED.createSection('/passwords', 'passwordsAndForms');
172 r.AUTOFILL = r.PASSWORDS.createChild('/autofill'); 172 r.AUTOFILL = r.PASSWORDS.createChild('/autofill');
173 r.MANAGE_PASSWORDS = r.PASSWORDS.createChild('/managePasswords'); 173 r.MANAGE_PASSWORDS = r.PASSWORDS.createChild('/managePasswords');
174 174
175 r.LANGUAGES = r.ADVANCED.createSection('/languages', 'languages'); 175 r.LANGUAGES = r.ADVANCED.createSection('/languages', 'languages');
176 r.LANGUAGES_DETAIL = r.LANGUAGES.createChild('edit'); 176 r.LANGUAGES_DETAIL = r.LANGUAGES.createChild('edit');
177 r.MANAGE_LANGUAGES = r.LANGUAGES.createChild('/manageLanguages');
178 <if expr="chromeos"> 177 <if expr="chromeos">
179 r.INPUT_METHODS = r.LANGUAGES.createChild('/inputMethods'); 178 r.INPUT_METHODS = r.LANGUAGES.createChild('/inputMethods');
180 </if> 179 </if>
181 <if expr="not is_macosx"> 180 <if expr="not is_macosx">
182 r.EDIT_DICTIONARY = r.LANGUAGES.createChild('/editDictionary'); 181 r.EDIT_DICTIONARY = r.LANGUAGES.createChild('/editDictionary');
183 </if> 182 </if>
184 183
185 r.DOWNLOADS = r.ADVANCED.createSection('/downloadsDirectory', 'downloads'); 184 r.DOWNLOADS = r.ADVANCED.createSection('/downloadsDirectory', 'downloads');
186 185
187 r.PRINTING = r.ADVANCED.createSection('/printing', 'printing'); 186 r.PRINTING = r.ADVANCED.createSection('/printing', 'printing');
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 Route: Route, 340 Route: Route,
342 RouteObserverBehavior: RouteObserverBehavior, 341 RouteObserverBehavior: RouteObserverBehavior,
343 getRouteForPath: getRouteForPath, 342 getRouteForPath: getRouteForPath,
344 initializeRouteFromUrl: initializeRouteFromUrl, 343 initializeRouteFromUrl: initializeRouteFromUrl,
345 getCurrentRoute: getCurrentRoute, 344 getCurrentRoute: getCurrentRoute,
346 getQueryParameters: getQueryParameters, 345 getQueryParameters: getQueryParameters,
347 navigateTo: navigateTo, 346 navigateTo: navigateTo,
348 navigateToPreviousRoute: navigateToPreviousRoute, 347 navigateToPreviousRoute: navigateToPreviousRoute,
349 }; 348 };
350 }); 349 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698