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

Unified Diff: chrome/browser/resources/settings/android_apps_page/android_apps_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/android_apps_page/android_apps_page.js
diff --git a/chrome/browser/resources/settings/android_apps_page/android_apps_page.js b/chrome/browser/resources/settings/android_apps_page/android_apps_page.js
index b7fd76aac87b29082b4052171ff9203c17e6be01..861731780652ab51607d5907c609012ddb6e61da 100644
--- a/chrome/browser/resources/settings/android_apps_page/android_apps_page.js
+++ b/chrome/browser/resources/settings/android_apps_page/android_apps_page.js
@@ -21,6 +21,18 @@ Polymer({
/** @private {!AndroidAppsInfo|undefined} */
androidAppsInfo_: Object,
+
+ /** @private {!Map<string, string>} */
+ focusConfig_: {
+ type: Object,
+ value: function() {
+ var map = new Map();
+ map.set(
+ settings.Route.ANDROID_APPS_DETAILS.path,
+ '#android-apps .subpage-arrow');
+ return map;
+ },
+ },
},
/** @private {?settings.AndroidAppsBrowserProxy} */

Powered by Google App Engine
This is Rietveld 408576698