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

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

Issue 2452943004: MD Settings: Make Passwords URLs match old Options. (Closed)
Patch Set: fix Created 4 years, 1 month 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after
166 166
167 <if expr="chromeos"> 167 <if expr="chromeos">
168 r.DATETIME = r.ADVANCED.createSection('/dateTime', 'dateTime'); 168 r.DATETIME = r.ADVANCED.createSection('/dateTime', 'dateTime');
169 169
170 r.BLUETOOTH = r.ADVANCED.createSection('/bluetooth', 'bluetooth'); 170 r.BLUETOOTH = r.ADVANCED.createSection('/bluetooth', 'bluetooth');
171 r.BLUETOOTH_ADD_DEVICE = r.BLUETOOTH.createChild('/bluetoothAddDevice'); 171 r.BLUETOOTH_ADD_DEVICE = r.BLUETOOTH.createChild('/bluetoothAddDevice');
172 r.BLUETOOTH_PAIR_DEVICE = 172 r.BLUETOOTH_PAIR_DEVICE =
173 r.BLUETOOTH_ADD_DEVICE.createChild('bluetoothPairDevice'); 173 r.BLUETOOTH_ADD_DEVICE.createChild('bluetoothPairDevice');
174 </if> 174 </if>
175 175
176 r.PASSWORDS = r.ADVANCED.createSection('/passwords', 'passwordsAndForms'); 176 r.PASSWORDS =
177 r.ADVANCED.createSection('/passwordsAndForms', 'passwordsAndForms');
177 r.AUTOFILL = r.PASSWORDS.createChild('/autofill'); 178 r.AUTOFILL = r.PASSWORDS.createChild('/autofill');
178 r.MANAGE_PASSWORDS = r.PASSWORDS.createChild('/managePasswords'); 179 r.MANAGE_PASSWORDS = r.PASSWORDS.createChild('/passwords');
179 180
180 r.LANGUAGES = r.ADVANCED.createSection('/languages', 'languages'); 181 r.LANGUAGES = r.ADVANCED.createSection('/languages', 'languages');
181 r.LANGUAGES_DETAIL = r.LANGUAGES.createChild('edit'); 182 r.LANGUAGES_DETAIL = r.LANGUAGES.createChild('edit');
182 <if expr="chromeos"> 183 <if expr="chromeos">
183 r.INPUT_METHODS = r.LANGUAGES.createChild('/inputMethods'); 184 r.INPUT_METHODS = r.LANGUAGES.createChild('/inputMethods');
184 </if> 185 </if>
185 <if expr="not is_macosx"> 186 <if expr="not is_macosx">
186 r.EDIT_DICTIONARY = r.LANGUAGES.createChild('/editDictionary'); 187 r.EDIT_DICTIONARY = r.LANGUAGES.createChild('/editDictionary');
187 </if> 188 </if>
188 189
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 RouteObserverBehavior: RouteObserverBehavior, 365 RouteObserverBehavior: RouteObserverBehavior,
365 getRouteForPath: getRouteForPath, 366 getRouteForPath: getRouteForPath,
366 initializeRouteFromUrl: initializeRouteFromUrl, 367 initializeRouteFromUrl: initializeRouteFromUrl,
367 getCurrentRoute: getCurrentRoute, 368 getCurrentRoute: getCurrentRoute,
368 getQueryParameters: getQueryParameters, 369 getQueryParameters: getQueryParameters,
369 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, 370 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate,
370 navigateTo: navigateTo, 371 navigateTo: navigateTo,
371 navigateToPreviousRoute: navigateToPreviousRoute, 372 navigateToPreviousRoute: navigateToPreviousRoute,
372 }; 373 };
373 }); 374 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698