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

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

Issue 2208473007: Rework quick unlock settings to follow new specs. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix closure (bad merge) 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 114
115 r.ON_STARTUP = r.BASIC.createSection('/onStartup', 'onStartup'); 115 r.ON_STARTUP = r.BASIC.createSection('/onStartup', 'onStartup');
116 116
117 r.PEOPLE = r.BASIC.createSection('/people', 'people'); 117 r.PEOPLE = r.BASIC.createSection('/people', 'people');
118 r.SYNC = r.PEOPLE.createChild('/syncSetup', 'sync'); 118 r.SYNC = r.PEOPLE.createChild('/syncSetup', 'sync');
119 <if expr="not chromeos"> 119 <if expr="not chromeos">
120 r.MANAGE_PROFILE = r.PEOPLE.createChild('/manageProfile', 'manageProfile'); 120 r.MANAGE_PROFILE = r.PEOPLE.createChild('/manageProfile', 'manageProfile');
121 </if> 121 </if>
122 <if expr="chromeos"> 122 <if expr="chromeos">
123 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture', 'changePicture'); 123 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture', 'changePicture');
124 r.QUICK_UNLOCK_AUTHENTICATE =
125 r.PEOPLE.createChild('/quickUnlock/authenticate',
126 'quick-unlock-authenticate');
127 r.QUICK_UNLOCK_CHOOSE_METHOD =
128 r.PEOPLE.createChild('/quickUnlock/chooseMethod',
129 'quick-unlock-choose-method');
130 r.QUICK_UNLOCK_SETUP_PIN =
131 r.QUICK_UNLOCK_CHOOSE_METHOD.createChild('/quickUnlock/setupPin',
132 'quick-unlock-setup-pin');
133 r.ACCOUNTS = r.PEOPLE.createChild('/accounts', 'users'); 124 r.ACCOUNTS = r.PEOPLE.createChild('/accounts', 'users');
125 r.LOCK_SCREEN = r.PEOPLE.createChild('/lockScreen', 'lockScreen');
126 r.SETUP_PIN = r.LOCK_SCREEN.createDialog('/setupPin', 'setupPin');
134 127
135 r.DEVICE = r.BASIC.createSection('/device', 'device'); 128 r.DEVICE = r.BASIC.createSection('/device', 'device');
136 r.POINTERS = r.DEVICE.createChild('/pointer-overlay', 'pointers'); 129 r.POINTERS = r.DEVICE.createChild('/pointer-overlay', 'pointers');
137 r.KEYBOARD = r.DEVICE.createChild('/keyboard-overlay', 'keyboard'); 130 r.KEYBOARD = r.DEVICE.createChild('/keyboard-overlay', 'keyboard');
138 r.DISPLAY = r.DEVICE.createChild('/display', 'display'); 131 r.DISPLAY = r.DEVICE.createChild('/display', 'display');
139 r.NOTES = r.DEVICE.createChild('/note', 'note'); 132 r.NOTES = r.DEVICE.createChild('/note', 'note');
140 </if> 133 </if>
141 134
142 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy'); 135 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy');
143 r.CERTIFICATES = 136 r.CERTIFICATES =
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
377 370
378 return { 371 return {
379 Route: Route, 372 Route: Route,
380 RouteObserverBehavior: RouteObserverBehavior, 373 RouteObserverBehavior: RouteObserverBehavior,
381 getRouteForPath: getRouteForPath, 374 getRouteForPath: getRouteForPath,
382 getCurrentRoute: getCurrentRoute, 375 getCurrentRoute: getCurrentRoute,
383 getQueryParameters: getQueryParameters, 376 getQueryParameters: getQueryParameters,
384 navigateTo: navigateTo, 377 navigateTo: navigateTo,
385 }; 378 };
386 }); 379 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698