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

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

Issue 786023002: Remove hard-coded font families in WebUI. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the presubmit warnings. Created 6 years 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;bookmarkbarattached:bookmarkbarattached"> 2 <html i18n-values="dir:textdirection;bookmarkbarattached:bookmarkbarattached">
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="incognito_and_guest_tab.css"> 7 <link rel="stylesheet" href="incognito_and_guest_tab.css">
7 <link rel="stylesheet" href="incognito_tab.css"> 8 <link rel="stylesheet" href="incognito_tab.css">
8 <script> 9 <script>
9 // Until themes can clear the cache, force-reload the theme stylesheet. 10 // Until themes can clear the cache, force-reload the theme stylesheet.
10 document.write('<link id="incognitothemecss" rel="stylesheet" ' + 11 document.write('<link id="incognitothemecss" rel="stylesheet" ' +
11 'href="chrome://theme/css/incognito_new_tab_theme.css?' + 12 'href="chrome://theme/css/incognito_new_tab_theme.css?' +
12 Date.now() + '">'); 13 Date.now() + '">');
13 </script> 14 </script>
14 </head> 15 </head>
15 <body> 16 <body>
16 <div class="content" 17 <div class="content">
17 i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
18 <div class="icon"></div> 18 <div class="icon"></div>
19 <span> 19 <span>
20 <h1 i18n-content="incognitoTabHeading"></h1> 20 <h1 i18n-content="incognitoTabHeading"></h1>
21 <p> 21 <p>
22 <span i18n-values=".innerHTML:incognitoTabDescription"></span> 22 <span i18n-values=".innerHTML:incognitoTabDescription"></span>
23 <a i18n-content="learnMore" i18n-values=".href:learnMoreLink"></a> 23 <a i18n-content="learnMore" i18n-values=".href:learnMoreLink"></a>
24 </p> 24 </p>
25 <p> 25 <p>
26 <strong i18n-content="incognitoTabWarning"></strong> 26 <strong i18n-content="incognitoTabWarning"></strong>
27 </p> 27 </p>
(...skipping 17 matching lines...) Expand all
45 'chrome://theme/css/incognito_new_tab_theme.css?' + Date.now(); 45 'chrome://theme/css/incognito_new_tab_theme.css?' + Date.now();
46 } 46 }
47 47
48 return { 48 return {
49 setBookmarkBarAttached: setBookmarkBarAttached, 49 setBookmarkBarAttached: setBookmarkBarAttached,
50 themeChanged: themeChanged, 50 themeChanged: themeChanged,
51 }; 51 };
52 }); 52 });
53 </script> 53 </script>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698