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

Unified Diff: chrome/browser/resources/settings/search_page/search_page.html

Issue 2805363002: MD Settings: Add mechanism to restore focus after subpage exiting. (Closed)
Patch Set: Address @dbeam comments. 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/search_page/search_page.html
diff --git a/chrome/browser/resources/settings/search_page/search_page.html b/chrome/browser/resources/settings/search_page/search_page.html
index 13707860cce9f24bf0031dec1c4eafaf74d4e287..a23abd4da78cdbe9e7930a1eaa961654646ae01c 100644
--- a/chrome/browser/resources/settings/search_page/search_page.html
+++ b/chrome/browser/resources/settings/search_page/search_page.html
@@ -33,7 +33,8 @@
-webkit-margin-start: var(--settings-indent-width);
}
</style>
- <settings-animated-pages id="pages" section="search">
+ <settings-animated-pages id="pages" section="search"
+ focus-config="[[focusConfig_]]">
<neon-animatable route-path="default">
<!-- Omnibox search engine -->
<div class="settings-box first block">

Powered by Google App Engine
This is Rietveld 408576698