Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(320)

Side by Side Diff: chrome/browser/resources/settings/people_page/fingerprint_list.js

Issue 2814423002: MD Settings: Users: Focus dialog buttons on close (Closed)
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 this.browserProxy_.changeEnrollmentLabel(e.model.index, e.model.item); 108 this.browserProxy_.changeEnrollmentLabel(e.model.index, e.model.item);
109 }, 109 },
110 110
111 /** 111 /**
112 * Opens the setup fingerprint dialog. 112 * Opens the setup fingerprint dialog.
113 * @private 113 * @private
114 */ 114 */
115 openAddFingerprintDialog_: function() { 115 openAddFingerprintDialog_: function() {
116 this.$.setupFingerprint.open(); 116 this.$.setupFingerprint.open();
117 }, 117 },
118
119 /** @private */
120 onAddFingerprintDialogClose_: function() {
121 this.$$('#addFingerprint').focus();
122 },
118 }); 123 });
119 })(); 124 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698