2 <html i18n-values=
"dir:textdirection;bookmarkbarattached:bookmarkbarattached">
5 <title i18n-content=
"title"></title>
6 <link rel=
"stylesheet" href=
"incognito_and_guest_tab.css">
7 <link rel=
"stylesheet" href=
"incognito_tab.css">
9 // Until themes can clear the cache, force-reload the theme stylesheet.
10 document
.write('<link id="incognitothemecss" rel="stylesheet" ' +
11 'href="chrome://theme/css/incognito_new_tab_theme.css?' +
17 i18n-values=
".style.fontFamily:fontfamily;.style.fontSize:fontsize">
18 <div class=
"icon"></div>
20 <h1 i18n-content=
"incognitoTabHeading"></h1>
22 <span i18n-values=
".innerHTML:incognitoTabDescription"></span>
23 <a i18n-content=
"learnMore" i18n-values=
".href:learnMoreLink"></a>
26 <strong i18n-content=
"incognitoTabWarning"></strong>
31 <script src=
"chrome://resources/js/cr.js"></script>
33 cr
.define('ntp', function() {
36 * Set whether the bookmarks bar is attached or not.
37 * @param {boolean} attached Whether the bar is attached or not.
39 function setBookmarkBarAttached(attached
) {
40 document
.documentElement
.setAttribute('bookmarkbarattached', !!attached
);
43 function themeChanged() {
44 document
.getElementById('incognitothemecss').href
=
45 'chrome://theme/css/incognito_new_tab_theme.css?' + Date
.now();
49 setBookmarkBarAttached
: setBookmarkBarAttached
,
50 themeChanged
: themeChanged
,