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