blob: da293b485b3d5b394f87aa9a6481a95ff38d6370 [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">
<img src="../../../../ui/webui/resources/images/guest_icon_standalone.png"
class="icon">
<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>