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

Side by Side Diff: chrome/browser/resources/settings/about_page/detailed_build_info.js

Issue 2842303004: MD Settings: update dialogs to focus without ink when using mouse (Closed)
Patch Set: merge 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 /** 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
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 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698