| OLD | NEW |
| 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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 125 | 125 |
| 126 r.PEOPLE = r.BASIC.createSection('/people', 'people'); | 126 r.PEOPLE = r.BASIC.createSection('/people', 'people'); |
| 127 r.SYNC = r.PEOPLE.createChild('/syncSetup'); | 127 r.SYNC = r.PEOPLE.createChild('/syncSetup'); |
| 128 // <if expr="not chromeos"> | 128 // <if expr="not chromeos"> |
| 129 r.MANAGE_PROFILE = r.PEOPLE.createChild('/manageProfile'); | 129 r.MANAGE_PROFILE = r.PEOPLE.createChild('/manageProfile'); |
| 130 // </if> | 130 // </if> |
| 131 // <if expr="chromeos"> | 131 // <if expr="chromeos"> |
| 132 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture'); | 132 r.CHANGE_PICTURE = r.PEOPLE.createChild('/changePicture'); |
| 133 r.ACCOUNTS = r.PEOPLE.createChild('/accounts'); | 133 r.ACCOUNTS = r.PEOPLE.createChild('/accounts'); |
| 134 r.LOCK_SCREEN = r.PEOPLE.createChild('/lockScreen'); | 134 r.LOCK_SCREEN = r.PEOPLE.createChild('/lockScreen'); |
| 135 r.FINGERPRINT = r.LOCK_SCREEN.createChild('/lockScreen/fingerprint'); |
| 135 | 136 |
| 136 r.DEVICE = r.BASIC.createSection('/device', 'device'); | 137 r.DEVICE = r.BASIC.createSection('/device', 'device'); |
| 137 r.POINTERS = r.DEVICE.createChild('/pointer-overlay'); | 138 r.POINTERS = r.DEVICE.createChild('/pointer-overlay'); |
| 138 r.KEYBOARD = r.DEVICE.createChild('/keyboard-overlay'); | 139 r.KEYBOARD = r.DEVICE.createChild('/keyboard-overlay'); |
| 139 r.DISPLAY = r.DEVICE.createChild('/display'); | 140 r.DISPLAY = r.DEVICE.createChild('/display'); |
| 140 r.STYLUS = r.DEVICE.createChild('/stylus'); | 141 r.STYLUS = r.DEVICE.createChild('/stylus'); |
| 141 r.STORAGE = r.DEVICE.createChild('/storage'); | 142 r.STORAGE = r.DEVICE.createChild('/storage'); |
| 142 // </if> | 143 // </if> |
| 143 | 144 |
| 144 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy'); | 145 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy'); |
| (...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 386 RouteObserverBehavior: RouteObserverBehavior, | 387 RouteObserverBehavior: RouteObserverBehavior, |
| 387 getRouteForPath: getRouteForPath, | 388 getRouteForPath: getRouteForPath, |
| 388 initializeRouteFromUrl: initializeRouteFromUrl, | 389 initializeRouteFromUrl: initializeRouteFromUrl, |
| 389 getCurrentRoute: getCurrentRoute, | 390 getCurrentRoute: getCurrentRoute, |
| 390 getQueryParameters: getQueryParameters, | 391 getQueryParameters: getQueryParameters, |
| 391 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, | 392 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, |
| 392 navigateTo: navigateTo, | 393 navigateTo: navigateTo, |
| 393 navigateToPreviousRoute: navigateToPreviousRoute, | 394 navigateToPreviousRoute: navigateToPreviousRoute, |
| 394 }; | 395 }; |
| 395 }); | 396 }); |
| OLD | NEW |