| 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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 r.CLEAR_BROWSER_DATA.isNavigableDialog = true; | 109 r.CLEAR_BROWSER_DATA.isNavigableDialog = true; |
| 110 r.RESET_DIALOG = r.ADVANCED.createChild('/resetProfileSettings'); | 110 r.RESET_DIALOG = r.ADVANCED.createChild('/resetProfileSettings'); |
| 111 r.RESET_DIALOG.isNavigableDialog = true; | 111 r.RESET_DIALOG.isNavigableDialog = true; |
| 112 r.TRIGGERED_RESET_DIALOG = | 112 r.TRIGGERED_RESET_DIALOG = |
| 113 r.ADVANCED.createChild('/triggeredResetProfileSettings'); | 113 r.ADVANCED.createChild('/triggeredResetProfileSettings'); |
| 114 r.TRIGGERED_RESET_DIALOG.isNavigableDialog = true; | 114 r.TRIGGERED_RESET_DIALOG.isNavigableDialog = true; |
| 115 | 115 |
| 116 // <if expr="chromeos"> | 116 // <if expr="chromeos"> |
| 117 r.INTERNET = r.BASIC.createSection('/internet', 'internet'); | 117 r.INTERNET = r.BASIC.createSection('/internet', 'internet'); |
| 118 r.INTERNET_NETWORKS = r.INTERNET.createChild('/networks'); | 118 r.INTERNET_NETWORKS = r.INTERNET.createChild('/networks'); |
| 119 r.NETWORK_CONFIG = r.INTERNET.createChild('/networkConfig'); |
| 119 r.NETWORK_DETAIL = r.INTERNET.createChild('/networkDetail'); | 120 r.NETWORK_DETAIL = r.INTERNET.createChild('/networkDetail'); |
| 120 r.KNOWN_NETWORKS = r.INTERNET.createChild('/knownNetworks'); | 121 r.KNOWN_NETWORKS = r.INTERNET.createChild('/knownNetworks'); |
| 121 r.BLUETOOTH = r.BASIC.createSection('/bluetooth', 'bluetooth'); | 122 r.BLUETOOTH = r.BASIC.createSection('/bluetooth', 'bluetooth'); |
| 122 r.BLUETOOTH_DEVICES = r.BLUETOOTH.createChild('/bluetoothDevices'); | 123 r.BLUETOOTH_DEVICES = r.BLUETOOTH.createChild('/bluetoothDevices'); |
| 123 // </if> | 124 // </if> |
| 124 | 125 |
| 125 r.APPEARANCE = r.BASIC.createSection('/appearance', 'appearance'); | 126 r.APPEARANCE = r.BASIC.createSection('/appearance', 'appearance'); |
| 126 r.FONTS = r.APPEARANCE.createChild('/fonts'); | 127 r.FONTS = r.APPEARANCE.createChild('/fonts'); |
| 127 | 128 |
| 128 r.DEFAULT_BROWSER = | 129 r.DEFAULT_BROWSER = |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 getRouteForPath: getRouteForPath, | 427 getRouteForPath: getRouteForPath, |
| 427 initializeRouteFromUrl: initializeRouteFromUrl, | 428 initializeRouteFromUrl: initializeRouteFromUrl, |
| 428 resetRouteForTesting: resetRouteForTesting, | 429 resetRouteForTesting: resetRouteForTesting, |
| 429 getCurrentRoute: getCurrentRoute, | 430 getCurrentRoute: getCurrentRoute, |
| 430 getQueryParameters: getQueryParameters, | 431 getQueryParameters: getQueryParameters, |
| 431 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, | 432 lastRouteChangeWasPopstate: lastRouteChangeWasPopstate, |
| 432 navigateTo: navigateTo, | 433 navigateTo: navigateTo, |
| 433 navigateToPreviousRoute: navigateToPreviousRoute, | 434 navigateToPreviousRoute: navigateToPreviousRoute, |
| 434 }; | 435 }; |
| 435 }); | 436 }); |
| OLD | NEW |