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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 // <if expr="chromeos"> | 101 // <if expr="chromeos"> |
102 controlledSettingShared: | 102 controlledSettingShared: |
103 loadTimeData.getString('controlledSettingShared'), | 103 loadTimeData.getString('controlledSettingShared'), |
104 controlledSettingOwner: loadTimeData.getString('controlledSettingOwner'), | 104 controlledSettingOwner: loadTimeData.getString('controlledSettingOwner'), |
105 // </if> | 105 // </if> |
106 }; | 106 }; |
107 | 107 |
108 // <if expr="chromeos"> | 108 // <if expr="chromeos"> |
109 CrOncStrings = { | 109 CrOncStrings = { |
110 OncTypeCellular: loadTimeData.getString('OncTypeCellular'), | 110 OncTypeCellular: loadTimeData.getString('OncTypeCellular'), |
| 111 OncTypeTether: loadTimeData.getString('OncTypeTether'), |
111 OncTypeEthernet: loadTimeData.getString('OncTypeEthernet'), | 112 OncTypeEthernet: loadTimeData.getString('OncTypeEthernet'), |
112 OncTypeVPN: loadTimeData.getString('OncTypeVPN'), | 113 OncTypeVPN: loadTimeData.getString('OncTypeVPN'), |
113 OncTypeWiFi: loadTimeData.getString('OncTypeWiFi'), | 114 OncTypeWiFi: loadTimeData.getString('OncTypeWiFi'), |
114 OncTypeWiMAX: loadTimeData.getString('OncTypeWiMAX'), | 115 OncTypeWiMAX: loadTimeData.getString('OncTypeWiMAX'), |
115 networkListItemConnected: | 116 networkListItemConnected: |
116 loadTimeData.getString('networkListItemConnected'), | 117 loadTimeData.getString('networkListItemConnected'), |
117 networkListItemConnecting: | 118 networkListItemConnecting: |
118 loadTimeData.getString('networkListItemConnecting'), | 119 loadTimeData.getString('networkListItemConnecting'), |
119 networkListItemConnectingTo: | 120 networkListItemConnectingTo: |
120 loadTimeData.getString('networkListItemConnectingTo'), | 121 loadTimeData.getString('networkListItemConnectingTo'), |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 this.$.container.removeAttribute('tabindex'); | 276 this.$.container.removeAttribute('tabindex'); |
276 }.bind(this)); | 277 }.bind(this)); |
277 }, | 278 }, |
278 | 279 |
279 /** @private */ | 280 /** @private */ |
280 directionDelegateChanged_: function() { | 281 directionDelegateChanged_: function() { |
281 this.$.drawer.align = this.directionDelegate.isRtl() ? | 282 this.$.drawer.align = this.directionDelegate.isRtl() ? |
282 'right' : 'left'; | 283 'right' : 'left'; |
283 }, | 284 }, |
284 }); | 285 }); |
OLD | NEW |