| 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 Polymer element for displaying and modifying cellular sim info. | 6 * @fileoverview Polymer element for displaying and modifying cellular sim info. |
| 7 */ | 7 */ |
| 8 (function() { | 8 (function() { |
| 9 | 9 |
| 10 /** @enum {string} */ | 10 /** @enum {string} */ |
| (...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 354 }, | 354 }, |
| 355 | 355 |
| 356 /** @private */ | 356 /** @private */ |
| 357 onEnterPinDialogCancel_: function() { | 357 onEnterPinDialogCancel_: function() { |
| 358 this.lockEnabled_ = | 358 this.lockEnabled_ = |
| 359 this.networkProperties.Cellular.SIMLockStatus.LockEnabled; | 359 this.networkProperties.Cellular.SIMLockStatus.LockEnabled; |
| 360 }, | 360 }, |
| 361 | 361 |
| 362 /** @private */ | 362 /** @private */ |
| 363 onEnterPinDialogClose_: function() { | 363 onEnterPinDialogClose_: function() { |
| 364 this.$$('#simLockButton').focus(); | 364 cr.ui.focusWithoutInk(assert(this.$$('#simLockButton'))); |
| 365 }, | 365 }, |
| 366 | 366 |
| 367 /** @private */ | 367 /** @private */ |
| 368 onChangePinDialogClose_: function() { | 368 onChangePinDialogClose_: function() { |
| 369 this.$$('#changePinButton').focus(); | 369 cr.ui.focusWithoutInk(assert(this.$$('#changePinButton'))); |
| 370 }, | 370 }, |
| 371 | 371 |
| 372 /** @private */ | 372 /** @private */ |
| 373 onUnlockPinDialogClose_: function() { | 373 onUnlockPinDialogClose_: function() { |
| 374 this.$$('#unlockPinButton').focus(); | 374 cr.ui.focusWithoutInk(assert(this.$$('#unlockPinButton'))); |
| 375 }, | 375 }, |
| 376 }); | 376 }); |
| 377 })(); | 377 })(); |
| OLD | NEW |