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

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

Issue 2210583002: MD Settings: Associate suppages with the controls that trigger them. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Resolve conflicts with ToT Created 4 years, 4 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 cc4f0495dea4bdf8f3cbb6fc6113bb5d9df0b901..98aa02e4085b1869b23c9c517c7570c75e10e2f1 100644
--- a/chrome/browser/resources/settings/search_page/search_page.html
+++ b/chrome/browser/resources/settings/search_page/search_page.html
@@ -31,7 +31,7 @@
</paper-listbox>
</paper-dropdown-menu>
</div>
- <div class="settings-box">
+ <div id="subpage-trigger" class="settings-box">
<paper-button on-tap="onManageSearchEnginesTap_"
class="primary-button">
$i18n{searchEnginesManage}
@@ -39,7 +39,9 @@
</div>
</neon-animatable>
<template is="dom-if" name="search-engines">
- <settings-subpage page-title="$i18n{searchEnginesManage}">
+ <settings-subpage
+ associated-control="[[$$('#subpage-trigger')]]"
+ page-title="$i18n{searchEnginesManage}">
<settings-search-engines-page></settings-search-engines-page>
</settings-subpage>
</template>

Powered by Google App Engine
This is Rietveld 408576698