OLD | NEW |
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 Loading... |
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> |
OLD | NEW |