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

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

Issue 2636383002: MD Settings: hide rows (rather than row contents) for some custom toggles in privacy (Closed)
Patch Set: 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 | no next file » | 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 f9fe8ce7fef48cbd22cc3b590dc5f7c2c6b1146d..c9a703197dbd79277149e406de82fc4bc63161eb 100644
--- a/chrome/browser/resources/settings/privacy_page/privacy_page.html
+++ b/chrome/browser/resources/settings/privacy_page/privacy_page.html
@@ -67,18 +67,17 @@
label="$i18n{linkDoctorPref}">
</settings-toggle-button>
</div>
- <div class="settings-box">
+ <div class="settings-box" hidden="[[!pageVisibility.searchPrediction]]">
<settings-toggle-button class="start"
pref="{{prefs.search.suggest_enabled}}"
- label="$i18n{searchSuggestPref}"
- hidden="[[!pageVisibility.searchPrediction]]">
+ label="$i18n{searchSuggestPref}">
</settings-toggle-button>
</div>
- <div class="settings-box">
+ <div class="settings-box"
+ hidden="[[!pageVisibility.networkPrediction]]">
<settings-toggle-button class="start"
pref="{{prefs.net.network_prediction_options}}"
- label="$i18n{networkPredictionEnabled}"
- hidden="[[!pageVisibility.networkPrediction]]">
+ label="$i18n{networkPredictionEnabled}">
</settings-toggle-button>
</div>
<div class="settings-box">
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698