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

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

Issue 2406043002: MD Settings: Prevent <settings-prefs> from being initialized in guest mode. (Closed)
Patch Set: Created 4 years, 2 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/settings_ui/settings_ui.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/settings_ui/settings_ui.html
diff --git a/chrome/browser/resources/settings/settings_ui/settings_ui.html b/chrome/browser/resources/settings/settings_ui/settings_ui.html
index 5cea906f0fe2705d9344bcf389f54f1146a7e98a..9bbbad51493ed8d697f1f2f9eb4fdd04af9e80f6 100644
--- a/chrome/browser/resources/settings/settings_ui/settings_ui.html
+++ b/chrome/browser/resources/settings/settings_ui/settings_ui.html
@@ -84,7 +84,9 @@
overflow: auto;
}
</style>
- <settings-prefs id="prefs" prefs="{{prefs}}"></settings-prefs>
+ <template is="dom-if" if="[[!isGuestMode_]]">
+ <settings-prefs id="prefs" prefs="{{prefs}}"></settings-prefs>
+ </template>
<cr-toolbar page-name="$i18n{settings}" clear-label="$i18n{clearSearch}"
search-prompt="$i18n{searchPrompt}" on-cr-menu-tap="onMenuButtonTap_"
spinner-active="[[toolbarSpinnerActive_]]" show-menu
« no previous file with comments | « no previous file | chrome/browser/resources/settings/settings_ui/settings_ui.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698