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

Unified Diff: chrome/browser/resources/settings/device_page/storage.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/device_page/storage.js
diff --git a/chrome/browser/resources/settings/device_page/storage.js b/chrome/browser/resources/settings/device_page/storage.js
index 4517f980cf045748b72848655802582f9e6703b7..f064d17a4b46cda5f7841e54f915f240b5cdf75e 100644
--- a/chrome/browser/resources/settings/device_page/storage.js
+++ b/chrome/browser/resources/settings/device_page/storage.js
@@ -302,4 +302,9 @@ Polymer({
return '';
}
},
+
+ /** @private */
+ onCloseDriveCacheDialog_: function() {
+ this.$$('#deleteButton').focus();
+ },
});

Powered by Google App Engine
This is Rietveld 408576698