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

Side by Side Diff: chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js

Issue 2817803002: MD Settings: CrOS: Focus elements on dialog close (Closed)
Patch Set: rebase 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 /** 5 /**
6 * @fileoverview 6 * @fileoverview
7 * 'android-apps-subpage' is the settings subpage for managing android apps. 7 * 'android-apps-subpage' is the settings subpage for managing android apps.
8 */ 8 */
9 9
10 Polymer({ 10 Polymer({
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 }, 83 },
84 84
85 /** 85 /**
86 * Handles the shared proxy confirmation dialog 'Cancel' button or a cancel 86 * Handles the shared proxy confirmation dialog 'Cancel' button or a cancel
87 * event. 87 * event.
88 * @private 88 * @private
89 */ 89 */
90 onConfirmDisableDialogCancel_: function() { 90 onConfirmDisableDialogCancel_: function() {
91 this.$.confirmDisableDialog.close(); 91 this.$.confirmDisableDialog.close();
92 }, 92 },
93
94 /** @private */
95 onConfirmDisableDialogClose_: function() {
96 this.$$('#remove button').focus();
97 },
93 }); 98 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698