| 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 /** | 5 /** |
| 6 * @fileoverview Polymer element for displaying material design OOBE. | 6 * @fileoverview Polymer element for displaying material design OOBE. |
| 7 */ | 7 */ |
| 8 | 8 |
| 9 Polymer({ | 9 Polymer({ |
| 10 is: 'oobe-welcome-md', | 10 is: 'oobe-welcome-md', |
| (...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 289 OpenAddMobileNetworkDialog_: function(item) { | 289 OpenAddMobileNetworkDialog_: function(item) { |
| 290 chrome.send('launchAddMobileNetworkDialog'); | 290 chrome.send('launchAddMobileNetworkDialog'); |
| 291 }, | 291 }, |
| 292 | 292 |
| 293 /** | 293 /** |
| 294 * This is called when network setup is done. | 294 * This is called when network setup is done. |
| 295 * | 295 * |
| 296 * @private | 296 * @private |
| 297 */ | 297 */ |
| 298 onSelectedNetworkConnected_: function() { | 298 onSelectedNetworkConnected_: function() { |
| 299 this.networkLastSelectedGuid_ = ''; |
| 299 chrome.send('login.NetworkScreen.userActed', ['continue']); | 300 chrome.send('login.NetworkScreen.userActed', ['continue']); |
| 300 }, | 301 }, |
| 301 | 302 |
| 302 /** | 303 /** |
| 303 * This gets called whenever the default network changes. | 304 * This gets called whenever the default network changes. |
| 304 * @param {!{detail: ?CrOnc.NetworkStateProperties}} event | 305 * @param {!{detail: ?CrOnc.NetworkStateProperties}} event |
| 305 * @private | 306 * @private |
| 306 */ | 307 */ |
| 307 onDefaultNetworkChanged_: function(event) { | 308 onDefaultNetworkChanged_: function(event) { |
| 308 var state = event.detail; | 309 var state = event.detail; |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 /** | 471 /** |
| 471 * This function formats message for labels. | 472 * This function formats message for labels. |
| 472 * @param String label i18n string ID. | 473 * @param String label i18n string ID. |
| 473 * @param String parameter i18n string parameter. | 474 * @param String parameter i18n string parameter. |
| 474 * @private | 475 * @private |
| 475 */ | 476 */ |
| 476 formatMessage_: function(label, parameter) { | 477 formatMessage_: function(label, parameter) { |
| 477 return loadTimeData.getStringF(label, parameter); | 478 return loadTimeData.getStringF(label, parameter); |
| 478 }, | 479 }, |
| 479 }); | 480 }); |
| OLD | NEW |