Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Side by Side Diff: chrome/browser/resources/ntp4/guest_tab.html

Issue 639823008: Include load_time_data.js automatically with GetI18nTemplateHtml (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comment Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html i18n-values="dir:textdirection"> 2 <html i18n-values="dir:textdirection">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title i18n-content="title"></title> 5 <title i18n-content="title"></title>
6 <link rel="stylesheet" href="incognito_and_guest_tab.css"> 6 <link rel="stylesheet" href="incognito_and_guest_tab.css">
7 <script> 7 <script>
8 // Until themes can clear the cache, force-reload the theme stylesheet. 8 // Until themes can clear the cache, force-reload the theme stylesheet.
9 document.write('<link id="guestthemecss" rel="stylesheet" ' + 9 document.write('<link id="guestthemecss" rel="stylesheet" ' +
10 'href="chrome://theme/css/guest_new_tab_theme.css?' + 10 'href="chrome://theme/css/guest_new_tab_theme.css?' +
11 Date.now() + '">'); 11 Date.now() + '">');
12 </script> 12 </script>
13 </head> 13 </head>
14 <body> 14 <body>
15 <div class="content" 15 <div class="content"
16 i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> 16 i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
17 <h1 i18n-content="guestTabHeading"></h1> 17 <h1 i18n-content="guestTabHeading"></h1>
18 <p> 18 <p>
19 <span i18n-content="guestTabDescription"></span> 19 <span i18n-content="guestTabDescription"></span>
20 <a i18n-content="learnMore" i18n-values=".href:learnMoreLink"></a> 20 <a i18n-content="learnMore" i18n-values=".href:learnMoreLink"></a>
21 </p> 21 </p>
22 </div> 22 </div>
23 </body> 23 </body>
24 <script src="chrome://resources/js/cr.js"></script> 24 <script src="chrome://resources/js/cr.js"></script>
25 <script src="chrome://resources/js/load_time_data.js"></script>
26 <script> 25 <script>
27 function themeChanged() { 26 function themeChanged() {
28 document.getElementById('guestthemecss').href = 27 document.getElementById('guestthemecss').href =
29 'chrome://theme/css/guest_new_tab_theme.css?' + Date.now(); 28 'chrome://theme/css/guest_new_tab_theme.css?' + Date.now();
30 } 29 }
31 </script> 30 </script>
32 </html> 31 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/chromeos/sim_unlock.html ('k') | chrome/browser/resources/ntp4/incognito_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698