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

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

Issue 2842303004: MD Settings: update dialogs to focus without ink when using mouse (Closed)
Patch Set: you wanted this... Created 3 years, 7 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 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698