blob: 27ef58ff35b65615ac0aeefc5dc78e49a1eaf422 [file] [log] [blame]
<!DOCTYPE html>
<html i18n-values="dir:textdirection;bookmarkbarattached:bookmarkbarattached">
<head>
<title i18n-content="title"></title>
<link rel="stylesheet" href="guest_tab.css">
<script>
// Until themes can clear the cache, force-reload the theme stylesheet.
document.write('<link id="guestthemecss" rel="stylesheet" ' +
'href="chrome://theme/css/guest_new_tab_theme.css?' +
Date.now() + '">');
</script>
</head>
<body>
<div class="content"
i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
<span i18n-values=".innerHTML:content"></span>
</div>
</body>
<script src="chrome://resources/js/cr.js"></script>
<script>
cr.define('ntp', function() {
'use strict';
function themeChanged() {
document.getElementById('guestthemecss').href =
'chrome://theme/css/guest_new_tab_theme.css?' + Date.now();
}
return {
themeChanged: themeChanged,
};
});
</script>
</html>