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

Unified Diff: chrome/browser/resources/settings/device_page/display.js

Issue 2817803002: MD Settings: CrOS: Focus elements on dialog close (Closed)
Patch Set: . 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 eb4e56053e5874be9e1338f0afccdaae3990c010..a8d2bb8e501e9e6e50709f007e2e13d1b60cfded 100644
--- a/chrome/browser/resources/settings/device_page/display.js
+++ b/chrome/browser/resources/settings/device_page/display.js
@@ -434,6 +434,11 @@ Polymer({
},
/** @private */
+ onCloseOverscanDialog_: function() {
+ this.$$('#overscan button').focus();
+ },
+
+ /** @private */
updateDisplayInfo_: function() {
var displayIds = '';
var primaryDisplay = undefined;

Powered by Google App Engine
This is Rietveld 408576698