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

Side by Side Diff: chrome/browser/resources/settings/internet_page/network_siminfo.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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 Polymer element for displaying and modifying cellular sim info. 6 * @fileoverview Polymer element for displaying and modifying cellular sim info.
7 */ 7 */
8 (function() { 8 (function() {
9 9
10 /** @enum {string} */ 10 /** @enum {string} */
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 }, 354 },
355 355
356 /** @private */ 356 /** @private */
357 onEnterPinDialogCancel_: function() { 357 onEnterPinDialogCancel_: function() {
358 this.lockEnabled_ = 358 this.lockEnabled_ =
359 this.networkProperties.Cellular.SIMLockStatus.LockEnabled; 359 this.networkProperties.Cellular.SIMLockStatus.LockEnabled;
360 }, 360 },
361 361
362 /** @private */ 362 /** @private */
363 onEnterPinDialogClose_: function() { 363 onEnterPinDialogClose_: function() {
364 this.$$('#simLockButton').focus(); 364 cr.ui.focusWithoutInk(assert(this.$$('#simLockButton')));
365 }, 365 },
366 366
367 /** @private */ 367 /** @private */
368 onChangePinDialogClose_: function() { 368 onChangePinDialogClose_: function() {
369 this.$$('#changePinButton').focus(); 369 cr.ui.focusWithoutInk(assert(this.$$('#changePinButton')));
370 }, 370 },
371 371
372 /** @private */ 372 /** @private */
373 onUnlockPinDialogClose_: function() { 373 onUnlockPinDialogClose_: function() {
374 this.$$('#unlockPinButton').focus(); 374 cr.ui.focusWithoutInk(assert(this.$$('#unlockPinButton')));
375 }, 375 },
376 }); 376 });
377 })(); 377 })();
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698