2 <html i18n-values=
"dir:textdirection;bookmarkbarattached:bookmarkbarattached">
5 <title i18n-content=
"title"></title>
6 <link rel=
"stylesheet" href=
"incognito_tab.css">
8 // Until themes can clear the cache, force-reload the theme stylesheet.
9 document
.write('<link id="incognitothemecss" rel="stylesheet" ' +
10 'href="chrome://theme/css/incognito_new_tab_theme.css?' +
16 i18n-values=
".style.fontFamily:fontfamily;.style.fontSize:fontsize">
17 <img src=
"../../../../ui/webui/resources/images/otr_icon_standalone.png" class=
"icon">
18 <span i18n-values=
".innerHTML:content"></span>
19 <div class=
"extensions-message">
20 <div class=
"extension-icon"></div>
21 <span i18n-values=
".innerHTML:extensionsmessage"></span>
25 <script src=
"chrome://resources/js/cr.js"></script>
27 cr
.define('ntp', function() {
30 * Set whether the bookmarks bar is attached or not.
31 * @param {boolean} attached Whether the bar is attached or not.
33 function setBookmarkBarAttached(attached
) {
34 document
.documentElement
.setAttribute('bookmarkbarattached', !!attached
);
37 function themeChanged() {
38 document
.getElementById('incognitothemecss').href
=
39 'chrome://theme/css/incognito_new_tab_theme.css?' + Date
.now();
43 setBookmarkBarAttached
: setBookmarkBarAttached
,
44 themeChanged
: themeChanged
,