| 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} url | 9 * @param {string} url |
| 10 * @private | 10 * @private |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 'quick-unlock-authenticate'); | 132 'quick-unlock-authenticate'); |
| 133 r.QUICK_UNLOCK_CHOOSE_METHOD = | 133 r.QUICK_UNLOCK_CHOOSE_METHOD = |
| 134 r.PEOPLE.createChild('/quickUnlock/chooseMethod', | 134 r.PEOPLE.createChild('/quickUnlock/chooseMethod', |
| 135 'quick-unlock-choose-method'); | 135 'quick-unlock-choose-method'); |
| 136 r.QUICK_UNLOCK_SETUP_PIN = | 136 r.QUICK_UNLOCK_SETUP_PIN = |
| 137 r.QUICK_UNLOCK_CHOOSE_METHOD.createChild('/quickUnlock/setupPin', | 137 r.QUICK_UNLOCK_CHOOSE_METHOD.createChild('/quickUnlock/setupPin', |
| 138 'quick-unlock-setup-pin'); | 138 'quick-unlock-setup-pin'); |
| 139 r.ACCOUNTS = r.PEOPLE.createChild('/accounts', 'users'); | 139 r.ACCOUNTS = r.PEOPLE.createChild('/accounts', 'users'); |
| 140 | 140 |
| 141 r.DEVICE = r.BASIC.createSection('/device', 'device'); | 141 r.DEVICE = r.BASIC.createSection('/device', 'device'); |
| 142 r.TOUCHPAD = r.DEVICE.createChild('/pointer-overlay', 'touchpad'); | 142 r.POINTERS = r.DEVICE.createChild('/pointer-overlay', 'pointers'); |
| 143 r.KEYBARD = r.DEVICE.createChild('/keyboard-overlay', 'keyboard'); | 143 r.KEYBARD = r.DEVICE.createChild('/keyboard-overlay', 'keyboard'); |
| 144 r.DISPLAY = r.DEVICE.createChild('/display', 'display'); | 144 r.DISPLAY = r.DEVICE.createChild('/display', 'display'); |
| 145 </if> | 145 </if> |
| 146 | 146 |
| 147 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy'); | 147 r.PRIVACY = r.ADVANCED.createSection('/privacy', 'privacy'); |
| 148 r.CERTIFICATES = | 148 r.CERTIFICATES = |
| 149 r.PRIVACY.createChild('/certificates', 'manage-certificates'); | 149 r.PRIVACY.createChild('/certificates', 'manage-certificates'); |
| 150 r.CLEAR_BROWSER_DATA = | 150 r.CLEAR_BROWSER_DATA = |
| 151 r.PRIVACY.createDialog('/clearBrowserData', 'clear-browsing-data'); | 151 r.PRIVACY.createDialog('/clearBrowserData', 'clear-browsing-data'); |
| 152 r.SITE_SETTINGS = r.PRIVACY.createChild('/siteSettings', 'site-settings'); | 152 r.SITE_SETTINGS = r.PRIVACY.createChild('/siteSettings', 'site-settings'); |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 263 r.LANGUAGES.createChild('/inputMethods', 'manage-input-methods'); | 263 r.LANGUAGES.createChild('/inputMethods', 'manage-input-methods'); |
| 264 r.DETAILED_BUILD_INFO = | 264 r.DETAILED_BUILD_INFO = |
| 265 r.ABOUT.createChild('/help/details', 'detailed-build-info'); | 265 r.ABOUT.createChild('/help/details', 'detailed-build-info'); |
| 266 r.DETAILED_BUILD_INFO.section = 'about'; | 266 r.DETAILED_BUILD_INFO.section = 'about'; |
| 267 </if> | 267 </if> |
| 268 | 268 |
| 269 return { | 269 return { |
| 270 Route: Route, | 270 Route: Route, |
| 271 }; | 271 }; |
| 272 }); | 272 }); |
| OLD | NEW |