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

Unified Diff: chrome/browser/resources/settings/controls/settings_toggle_button.html

Issue 2668803003: MD Settings: Fix Learn More link on Google Hotword in ChromeOS (Closed)
Patch Set: merge Created 3 years, 11 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/search_page/search_page.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/controls/settings_toggle_button.html
diff --git a/chrome/browser/resources/settings/controls/settings_toggle_button.html b/chrome/browser/resources/settings/controls/settings_toggle_button.html
index add7e52112f991a3e92d1f5697c05dd498a709df..155e0c023ecbbce43bdb86999aa9e14295525fe0 100644
--- a/chrome/browser/resources/settings/controls/settings_toggle_button.html
+++ b/chrome/browser/resources/settings/controls/settings_toggle_button.html
@@ -39,10 +39,13 @@
<div id="outerRow" noSubLabel$="[[!subLabel]]">
<div class="flex" on-tap="onLabelWrapperTap_"
actionable$="[[!controlDisabled_(disabled, pref)]]">
- <div class="label">[[label]]</div>
+ <div class="label">
+ [[label]]
+ <content select=".label-controls"></content>
+ </div>
<div class="secondary label">[[subLabel]]</div>
</div>
- <content selector=".more-actions"></content>
Dan Beam 2017/02/01 00:59:50 so did this just not work before?
tommycli 2017/02/01 01:01:19 There was only one slot before, so I guess it just
+ <content select=".more-actions"></content>
<template is="dom-if" if="[[pref.controlledBy]]">
<cr-policy-pref-indicator pref="[[pref]]"></cr-policy-pref-indicator>
</template>
« no previous file with comments | « no previous file | chrome/browser/resources/settings/search_page/search_page.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698