summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/ntp4/incognito_tab.html
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/chrome/browser/resources/ntp4/incognito_tab.html')
-rw-r--r--chromium/chrome/browser/resources/ntp4/incognito_tab.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/chromium/chrome/browser/resources/ntp4/incognito_tab.html b/chromium/chrome/browser/resources/ntp4/incognito_tab.html
index 888489f7ccb..48631cb04f8 100644
--- a/chromium/chrome/browser/resources/ntp4/incognito_tab.html
+++ b/chromium/chrome/browser/resources/ntp4/incognito_tab.html
@@ -30,10 +30,21 @@ document.write('<link id="incognitothemecss" rel="stylesheet" ' +
<div class="bulletpoints first">$i18nRaw{incognitoTabFeatures}</div>
<div class="bulletpoints">$i18nRaw{incognitoTabWarning}</div>
</div>
+ <div id="cookie-controls" $i18n{hideCookieControls}>
+ <div id="cookie-controls-description">
+ <em>$i18n{cookieControlsTitle}</em>
+ $i18n{cookieControlsDescription}
+ </div>
+ <cr-toggle id="cookie-controls-toggle"
+ aria-label="$i18n{cookieControlsTitle}"
+ $i18n{cookieControlsToggleChecked} dark></cr-toggle>
+ </div>
<a class="learn-more-button" href="$i18n{learnMoreLink}">$i18n{learnMore}</a>
</div>
<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/util.js"></script>
<script src="incognito_tab.js"></script>
+<!-- Lazy-load cr_toggle to avoid performance penalty introduced by loading Polymer -->
+<script type="module" src="chrome://resources/cr_elements/cr_toggle/cr_toggle.m.js" async></script>
</body>
</html>