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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js
diff --git a/chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js b/chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js
index 8f506fb62d1291b33bbc5742f45adf99a5c7da38..c11083464cf7e3e8b970cbdea98a823a0960f368 100644
--- a/chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js
+++ b/chrome/browser/resources/settings/android_apps_page/android_apps_subpage.js
@@ -90,4 +90,9 @@ Polymer({
onConfirmDisableDialogCancel_: function() {
this.$.confirmDisableDialog.close();
},
+
+ /** @private */
+ onConfirmDisableDialogClose_: function() {
+ this.$$('#remove button').focus();
+ },
});

Powered by Google App Engine
This is Rietveld 408576698