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

Unified Diff: chrome/browser/resources/settings/about_page/about_page.js

Issue 2811573004: MD Settings: Restore focus when exiting various subpages, part 2. (Closed)
Patch Set: Device page 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/about_page/about_page.js
diff --git a/chrome/browser/resources/settings/about_page/about_page.js b/chrome/browser/resources/settings/about_page/about_page.js
index cb26f366b61db5654928c88eb6155d1350aa9c96..36f8b61d2081d3db66c908af6c3495637c691b40 100644
--- a/chrome/browser/resources/settings/about_page/about_page.js
+++ b/chrome/browser/resources/settings/about_page/about_page.js
@@ -73,6 +73,18 @@ Polymer({
type: Boolean,
computed: 'computeShowCheckUpdates_(currentUpdateStatusEvent_)',
},
+
+ /** @private {!Map<string, string>} */
+ focusConfig_: {
+ type: Object,
+ value: function() {
+ var map = new Map();
+ map.set(
+ settings.Route.DETAILED_BUILD_INFO.path,
+ '#detailed-build-info-trigger');
+ return map;
+ },
+ }
// </if>
},

Powered by Google App Engine
This is Rietveld 408576698