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

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

Issue 2544453003: MD Settings: simplify spelling service toggle and make it respect policy (Closed)
Patch Set: stray </div> Created 4 years 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/privacy_page/privacy_page.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/privacy_page/privacy_page.html
diff --git a/chrome/browser/resources/settings/privacy_page/privacy_page.html b/chrome/browser/resources/settings/privacy_page/privacy_page.html
index 28792dc7750dccc8b92ba760d9377349e19c5f6a..1b6c2bea3b7843f46881de4c95525f65fd563d18 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -147,14 +147,12 @@
</if>
</div>
<if expr="_google_chrome">
- <div class="settings-box two-line" actionable
- on-tap="onUseSpellingServiceTap_">
- <div class="start">
- $i18n{spellingPref}
- <div class="secondary">$i18n{spellingDescription}</div>
- </div>
- <paper-toggle-button id="spellingServiceToggleButton">
- </paper-toggle-button>
+ <div class="settings-box two-line">
+ <settings-toggle-button class="start"
+ pref="{{prefs.spellcheck.use_spelling_service}}"
+ label="$i18n{spellingPref}"
+ sub-label="$i18n{spellingDescription}">
+ </settings-toggle-button>
dschuyler 2016/12/02 02:38:53 Is there a way to preserve the on-tap for the enti
Dan Beam 2016/12/02 04:07:35 yeah, do this: https://codereview.chromium.org/253
</div>
</if>
<if expr="use_nss_certs or is_win or is_macosx">
« no previous file with comments | « no previous file | chrome/browser/resources/settings/privacy_page/privacy_page.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698