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

Unified Diff: chrome/browser/resources/settings/device_page/display.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/display.js
diff --git a/chrome/browser/resources/settings/device_page/display.js b/chrome/browser/resources/settings/device_page/display.js
index b8bf2e975d6e50413b3d698cfd0ba145b541e1f9..70102f17e750fc9171adca722cb396bb49a6f1ec 100644
--- a/chrome/browser/resources/settings/device_page/display.js
+++ b/chrome/browser/resources/settings/device_page/display.js
@@ -485,6 +485,11 @@ Polymer({
},
/** @private */
+ onCloseOverscanDialog_: function() {
+ this.$$('#overscan button').focus();
+ },
+
+ /** @private */
updateDisplayInfo_: function() {
var displayIds = '';
var primaryDisplay = undefined;
« no previous file with comments | « chrome/browser/resources/settings/device_page/display.html ('k') | chrome/browser/resources/settings/device_page/storage.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698