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

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

Issue 2823843006: Convert Guest New Tab page from i18n-* (JS) to use $i18n{} (C++) (Closed)
Patch Set: Created 3 years, 8 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
« no previous file with comments | « no previous file | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!doctype html> 1 <!doctype html>
2 <html i18n-values="dir:textdirection;lang:language"> 2 <html dir="$i18n{textdirection}" lang="$i18n{language}">
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <title i18n-content="title"></title> 5 <title>$i18n{title}</title>
6 <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css"> 6 <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
7 <link rel="stylesheet" href="incognito_and_guest_tab.css"> 7 <link rel="stylesheet" href="incognito_and_guest_tab.css">
8 </head> 8 </head>
9 <body> 9 <body>
10 <div class="content"> 10 <div class="content">
11 <h1 i18n-content="guestTabHeading"></h1> 11 <h1>$i18n{guestTabHeading}</h1>
12 <p> 12 <p>$i18n{guestTabDescription}</p>
13 <span i18n-content="guestTabDescription"></span> 13 <a class="learn-more-button" href="$i18n{learnMoreLink}">$i18n{learnMore}</a>
dschuyler 2017/04/18 18:28:58 Just a reminder, (I know ya know, but) if this hre
Dan Beam 2017/04/18 18:59:23 yep, dodged that bullet this time
14 </p>
15 <a class="learn-more-button" i18n-content="learnMore" i18n-values=".href:learn MoreLink"></a>
16 </div> 14 </div>
17 </body> 15 </body>
18 <script src="chrome://resources/js/cr.js"></script>
19 </html> 16 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/ui/webui/ntp/ntp_resource_cache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698