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

Unified Diff: chrome/browser/resources/settings/site_settings/site_data.js

Issue 2791053002: MD Settings: Restore focus after closing dialogs, for content settings. (Closed)
Patch Set: Nit. Created 3 years, 9 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/site_settings/site_data.js
diff --git a/chrome/browser/resources/settings/site_settings/site_data.js b/chrome/browser/resources/settings/site_settings/site_data.js
index cd140bf0ce6303be2930398c802e81d019e884ab..83e9ac09f3c00adb4337633db043bd023b1c6e83 100644
--- a/chrome/browser/resources/settings/site_settings/site_data.js
+++ b/chrome/browser/resources/settings/site_settings/site_data.js
@@ -83,6 +83,11 @@ Polymer({
this.$.confirmDeleteDialog.close();
},
+ /** @private */
+ onConfirmDeleteDialogClosed_: function() {
+ this.$.removeShowingSites.focus();
+ },
+
/**
* Shows a dialog to confirm the deletion of multiple sites.
* @param {!Event} e

Powered by Google App Engine
This is Rietveld 408576698