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 'settings-detailed-build-info' contains detailed build | 6 * @fileoverview 'settings-detailed-build-info' contains detailed build |
7 * information for ChromeOS. | 7 * information for ChromeOS. |
8 */ | 8 */ |
9 | 9 |
10 Polymer({ | 10 Polymer({ |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
87 * @private | 87 * @private |
88 */ | 88 */ |
89 onChangeChannelTap_: function(e) { | 89 onChangeChannelTap_: function(e) { |
90 e.preventDefault(); | 90 e.preventDefault(); |
91 this.showChannelSwitcherDialog_ = true; | 91 this.showChannelSwitcherDialog_ = true; |
92 }, | 92 }, |
93 | 93 |
94 /** @private */ | 94 /** @private */ |
95 onChannelSwitcherDialogClosed_: function() { | 95 onChannelSwitcherDialogClosed_: function() { |
96 this.showChannelSwitcherDialog_ = false; | 96 this.showChannelSwitcherDialog_ = false; |
97 this.$$('paper-button').focus(); | 97 settings.focusWithoutInk(this.$$('paper-button')); |
dpapad
2017/04/28 17:36:46
Should this be cr.ui.focusWithoutInk (here and els
Dan Beam
2017/04/29 02:56:31
Done. (whoops, guess this file is neither tested n
| |
98 this.updateChannelInfo_(); | 98 this.updateChannelInfo_(); |
99 }, | 99 }, |
100 }); | 100 }); |
OLD | NEW |