| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 /** | 5 /** |
| 6 * @fileoverview | 6 * @fileoverview |
| 7 * 'settings-ui' implements the UI for the Settings page. | 7 * 'settings-ui' implements the UI for the Settings page. |
| 8 * | 8 * |
| 9 * Example: | 9 * Example: |
| 10 * | 10 * |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 OncTypeCellular: loadTimeData.getString('OncTypeCellular'), | 106 OncTypeCellular: loadTimeData.getString('OncTypeCellular'), |
| 107 OncTypeEthernet: loadTimeData.getString('OncTypeEthernet'), | 107 OncTypeEthernet: loadTimeData.getString('OncTypeEthernet'), |
| 108 OncTypeVPN: loadTimeData.getString('OncTypeVPN'), | 108 OncTypeVPN: loadTimeData.getString('OncTypeVPN'), |
| 109 OncTypeWiFi: loadTimeData.getString('OncTypeWiFi'), | 109 OncTypeWiFi: loadTimeData.getString('OncTypeWiFi'), |
| 110 OncTypeWiMAX: loadTimeData.getString('OncTypeWiMAX'), | 110 OncTypeWiMAX: loadTimeData.getString('OncTypeWiMAX'), |
| 111 networkDisabled: loadTimeData.getString('networkDisabled'), | 111 networkDisabled: loadTimeData.getString('networkDisabled'), |
| 112 networkListItemConnected: | 112 networkListItemConnected: |
| 113 loadTimeData.getString('networkListItemConnected'), | 113 loadTimeData.getString('networkListItemConnected'), |
| 114 networkListItemConnecting: | 114 networkListItemConnecting: |
| 115 loadTimeData.getString('networkListItemConnecting'), | 115 loadTimeData.getString('networkListItemConnecting'), |
| 116 networkListItemConnectingTo: |
| 117 loadTimeData.getString('networkListItemConnectingTo'), |
| 116 networkListItemNotConnected: | 118 networkListItemNotConnected: |
| 117 loadTimeData.getString('networkListItemNotConnected'), | 119 loadTimeData.getString('networkListItemNotConnected'), |
| 118 vpnNameTemplate: loadTimeData.getString('vpnNameTemplate'), | 120 vpnNameTemplate: loadTimeData.getString('vpnNameTemplate'), |
| 119 }; | 121 }; |
| 120 // </if> | 122 // </if> |
| 121 | 123 |
| 122 if (loadTimeData.getBoolean('isGuest')) { | 124 if (loadTimeData.getBoolean('isGuest')) { |
| 123 this.pageVisibility_ = { | 125 this.pageVisibility_ = { |
| 124 people: false, | 126 people: false, |
| 125 onStartup: false, | 127 onStartup: false, |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 226 onMenuButtonTap_: function() { | 228 onMenuButtonTap_: function() { |
| 227 this.$.drawer.toggle(); | 229 this.$.drawer.toggle(); |
| 228 }, | 230 }, |
| 229 | 231 |
| 230 /** @private */ | 232 /** @private */ |
| 231 directionDelegateChanged_: function() { | 233 directionDelegateChanged_: function() { |
| 232 this.$.drawer.align = this.directionDelegate.isRtl() ? | 234 this.$.drawer.align = this.directionDelegate.isRtl() ? |
| 233 'right' : 'left'; | 235 'right' : 'left'; |
| 234 }, | 236 }, |
| 235 }); | 237 }); |
| OLD | NEW |