- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / browser / resources / ntp4 / guest_tab.html
1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection;bookmarkbarattached:bookmarkbarattached">
3 <head>
4 <title i18n-content="title"></title>
5 <link rel="stylesheet" href="guest_tab.css">
6 <script>
7 // Until themes can clear the cache, force-reload the theme stylesheet.
8 document.write('<link id="guestthemecss" rel="stylesheet" ' +
9                'href="chrome://theme/css/guest_new_tab_theme.css?' +
10                Date.now() + '">');
11 </script>
12 </head>
13 <body>
14 <div class="content"
15     i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
16   <span i18n-values=".innerHTML:content"></span>
17 </div>
18 </body>
19 <script src="chrome://resources/js/cr.js"></script>
20 <script>
21 cr.define('ntp', function() {
22   'use strict';
23
24   function themeChanged() {
25     document.getElementById('guestthemecss').href =
26         'chrome://theme/css/guest_new_tab_theme.css?' + Date.now();
27   }
28
29   return {
30     themeChanged: themeChanged,
31   };
32 });
33 </script>
34 </html>