2 <html i18n-values=
"dir:textdirection;
3 bookmarkbarattached:bookmarkbarattached;
7 <title i18n-content=
"title"></title>
8 <link rel=
"stylesheet" href=
"chrome://resources/css/text_defaults.css">
9 <link rel=
"stylesheet" href=
"incognito_and_guest_tab.css">
10 <link rel=
"stylesheet" href=
"incognito_tab.css">
12 // Until themes can clear the cache, force-reload the theme stylesheet.
13 document
.write('<link id="incognitothemecss" rel="stylesheet" ' +
14 'href="chrome://theme/css/incognito_new_tab_theme.css?' +
20 <div class=
"icon"></div>
22 <h1 i18n-content=
"incognitoTabHeading"></h1>
24 <span i18n-values=
".innerHTML:incognitoTabDescription"></span>
25 <a i18n-content=
"learnMore" i18n-values=
".href:learnMoreLink"></a>
28 <strong i18n-content=
"incognitoTabWarning"></strong>
33 <script src=
"chrome://resources/js/cr.js"></script>
35 cr
.define('ntp', function() {
38 * Set whether the bookmarks bar is attached or not.
39 * @param {boolean} attached Whether the bar is attached or not.
41 function setBookmarkBarAttached(attached
) {
42 document
.documentElement
.setAttribute('bookmarkbarattached', !!attached
);
45 function themeChanged() {
46 document
.getElementById('incognitothemecss').href
=
47 'chrome://theme/css/incognito_new_tab_theme.css?' + Date
.now();
51 setBookmarkBarAttached
: setBookmarkBarAttached
,
52 themeChanged
: themeChanged
,