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

Unified Diff: chrome/browser/resources/settings/appearance_page/appearance_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
« no previous file with comments | « no previous file | chrome/browser/resources/settings/device_page/device_page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/appearance_page/appearance_page.html
diff --git a/chrome/browser/resources/settings/appearance_page/appearance_page.html b/chrome/browser/resources/settings/appearance_page/appearance_page.html
index 0936c4186f18ecf2e81b57df134e0a464ceaeda2..7c06ebd08140a64c12b8a8b621d124bbd47db3bd 100644
--- a/chrome/browser/resources/settings/appearance_page/appearance_page.html
+++ b/chrome/browser/resources/settings/appearance_page/appearance_page.html
@@ -111,7 +111,8 @@
menu-options="[[fontSizeOptions_]]" no-label-float>
</settings-dropdown-menu>
</div>
- <div class="settings-box two-line single-column"
+ <div id="customize-fonts-subpage-trigger"
+ class="settings-box two-line single-column"
on-tap="onCustomizeFontsTap_" actionable>
<div>$i18n{customizeFonts}</div>
<div class="secondary">$i18n{chooseFontsAndEncoding}</div>
@@ -125,7 +126,9 @@
</div>
</neon-animatable>
<template is="dom-if" name="appearance-fonts">
- <settings-subpage page-title="$i18n{customizeFonts}">
+ <settings-subpage
+ associated-control="[[$$('#customize-fonts-subpage-trigger')]]"
+ page-title="$i18n{customizeFonts}">
<settings-appearance-fonts-page prefs="{{prefs}}">
</settings-appearance-fonts-page>
</settings-subpage>
« no previous file with comments | « no previous file | chrome/browser/resources/settings/device_page/device_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698