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

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

Issue 880313002: webui: add [lang] attribute to <html> element on all webui pages so (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cros Created 5 years, 10 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;lang:language">
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="chrome://resources/css/text_defaults.css"> 6 <link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
7 <link rel="stylesheet" href="incognito_and_guest_tab.css"> 7 <link rel="stylesheet" href="incognito_and_guest_tab.css">
8 <script> 8 <script>
9 // Until themes can clear the cache, force-reload the theme stylesheet. 9 // Until themes can clear the cache, force-reload the theme stylesheet.
10 document.write('<link id="guestthemecss" rel="stylesheet" ' + 10 document.write('<link id="guestthemecss" rel="stylesheet" ' +
11 'href="chrome://theme/css/incognito_new_tab_theme.css?' + 11 'href="chrome://theme/css/incognito_new_tab_theme.css?' +
12 Date.now() + '">'); 12 Date.now() + '">');
13 </script> 13 </script>
14 </head> 14 </head>
15 <body> 15 <body>
16 <div class="content"> 16 <div class="content">
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> 25 <script>
26 function themeChanged() { 26 function themeChanged() {
27 document.getElementById('guestthemecss').href = 27 document.getElementById('guestthemecss').href =
28 'chrome://theme/css/incognito_new_tab_theme.css?' + Date.now(); 28 'chrome://theme/css/incognito_new_tab_theme.css?' + Date.now();
29 } 29 }
30 </script> 30 </script>
31 </html> 31 </html>
OLDNEW
« no previous file with comments | « chrome/browser/resources/media/webrtc_logs.html ('k') | chrome/browser/resources/ntp4/incognito_tab.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698