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