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

Unified Diff: chrome/browser/resources/settings/appearance_page/appearance_fonts_page.html

Issue 2676743003: MD Settings: Hide sections in guest mode (Closed)
Patch Set: Fix closure Created 3 years, 10 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
Index: chrome/browser/resources/settings/appearance_page/appearance_fonts_page.html
diff --git a/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.html b/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.html
index d1d23459f5c7d3198f863718ebb19b191813b40f..8ee3bd836a76d79e87a854b3b546e9a30bb53e04 100644
--- a/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.html
+++ b/chrome/browser/resources/settings/appearance_page/appearance_fonts_page.html
@@ -110,16 +110,18 @@
</div>
</div>
</div>
- <div class="settings-box two-line" id="advancedButton"
- on-tap="openAdvancedExtension_" actionable>
- <div class="start">
- <div>$i18n{advancedFontSettings}</div>
- <div class="secondary" id="advancedButtonSublabel">
- [[advancedExtensionSublabel_]]
+ <template is="dom-if" if="[[!isGuest_]]">
+ <div class="settings-box two-line" id="advancedButton"
+ on-tap="openAdvancedExtension_" actionable>
+ <div class="start">
+ <div>$i18n{advancedFontSettings}</div>
+ <div class="secondary" id="advancedButtonSublabel">
+ [[advancedExtensionSublabel_]]
+ </div>
</div>
+ <button class="icon-external" is="paper-icon-button-light"></button>
</div>
- <button class="icon-external" is="paper-icon-button-light"></button>
- </div>
+ </template>
</template>
<script src="appearance_fonts_page.js"></script>
</dom-module>

Powered by Google App Engine
This is Rietveld 408576698