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

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

Issue 2229443003: MD Settings: Ensure that "advanced sync page" is force rendered, only if applicable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nit. 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/people_page/people_page.html
diff --git a/chrome/browser/resources/settings/people_page/people_page.html b/chrome/browser/resources/settings/people_page/people_page.html
index ac843ffc93607bf7c56cbbb4ffbebd8c7ad9bfe4..0e41e7b1ecb04235b8b25ba30498d88365fe9e2c 100644
--- a/chrome/browser/resources/settings/people_page/people_page.html
+++ b/chrome/browser/resources/settings/people_page/people_page.html
@@ -234,12 +234,14 @@
</div>
</template>
</neon-animatable>
- <template is="dom-if" name="sync">
- <settings-subpage
- associated-control="[[$$('#customize-sync')]]"
- page-title="$i18n{syncPageTitle}">
- <settings-sync-page></settings-sync-page>
- </settings-subpage>
+ <template is="dom-if" if="[[isAdvancedSyncSettingsVisible_(syncStatus)]]">
dpapad 2016/08/09 00:09:53 See lines 129-132, where the element that triggers
+ <template is="dom-if" name="sync">
+ <settings-subpage
+ associated-control="[[$$('#customize-sync')]]"
+ page-title="$i18n{syncPageTitle}">
+ <settings-sync-page></settings-sync-page>
+ </settings-subpage>
+ </template>
</template>
<if expr="chromeos">
<template is="dom-if" name="quick-unlock-authenticate" no-search>
« 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