OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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-bluetooth-subpage' is the settings subpage for managing bluetooth | 7 * 'settings-bluetooth-subpage' is the settings subpage for managing bluetooth |
8 * properties and devices. | 8 * properties and devices. |
9 */ | 9 */ |
10 | 10 |
(...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 this.$.deviceDialog.open(); | 464 this.$.deviceDialog.open(); |
465 }, | 465 }, |
466 | 466 |
467 /** @private */ | 467 /** @private */ |
468 onDialogClose_: function() { | 468 onDialogClose_: function() { |
469 this.dialogId_ = ''; | 469 this.dialogId_ = ''; |
470 this.pairingDevice_ = undefined; | 470 this.pairingDevice_ = undefined; |
471 // The list is dynamic so focus the first item. | 471 // The list is dynamic so focus the first item. |
472 var device = this.$$('#unpairedContainer bluetooth-device-list-item'); | 472 var device = this.$$('#unpairedContainer bluetooth-device-list-item'); |
473 if (device) | 473 if (device) |
474 device.focus(); | 474 cr.ui.focusWithoutInk(device); |
475 }, | 475 }, |
476 }); | 476 }); |
OLD | NEW |