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 (function() { | 5 (function() { |
6 'use strict'; | 6 'use strict'; |
7 | 7 |
8 /** | 8 /** |
9 * The duration in ms of a background flash when a user touches the fingerprint | 9 * The duration in ms of a background flash when a user touches the fingerprint |
10 * sensor on this page. | 10 * sensor on this page. |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 /** | 115 /** |
116 * Opens the setup fingerprint dialog. | 116 * Opens the setup fingerprint dialog. |
117 * @private | 117 * @private |
118 */ | 118 */ |
119 openAddFingerprintDialog_: function() { | 119 openAddFingerprintDialog_: function() { |
120 this.$.setupFingerprint.open(); | 120 this.$.setupFingerprint.open(); |
121 }, | 121 }, |
122 | 122 |
123 /** @private */ | 123 /** @private */ |
124 onSetupFingerprintDialogClose_: function() { | 124 onSetupFingerprintDialogClose_: function() { |
125 this.$$('#addFingerprint').focus(); | 125 cr.ui.focusWithoutInk(assert(this.$$('#addFingerprint'))); |
126 }, | 126 }, |
127 }); | 127 }); |
128 })(); | 128 })(); |
OLD | NEW |