Index: chrome/browser/resources/ntp4/guest_tab.html |
diff --git a/chrome/browser/resources/ntp4/guest_tab.html b/chrome/browser/resources/ntp4/guest_tab.html |
index 9c54732723753c604e77f647e2b33eb514b9b01b..1530af1cb6bcb9411c2dab224b54f9d0877394b9 100644 |
--- a/chrome/browser/resources/ntp4/guest_tab.html |
+++ b/chrome/browser/resources/ntp4/guest_tab.html |
@@ -1,9 +1,9 @@ |
<!DOCTYPE html> |
-<html i18n-values="dir:textdirection;bookmarkbarattached:bookmarkbarattached"> |
+<html i18n-values="dir:textdirection"> |
<head> |
<meta charset="utf-8"> |
<title i18n-content="title"></title> |
-<link rel="stylesheet" href="guest_tab.css"> |
+<link rel="stylesheet" href="incognito_and_guest_tab.css"> |
<script> |
// Until themes can clear the cache, force-reload the theme stylesheet. |
document.write('<link id="guestthemecss" rel="stylesheet" ' + |
@@ -14,22 +14,18 @@ document.write('<link id="guestthemecss" rel="stylesheet" ' + |
<body> |
<div class="content" |
i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize"> |
- <span i18n-values=".innerHTML:content"></span> |
+ <h1 i18n-content="guestTabHeading"></h1> |
+ <p> |
+ <span i18n-content="guestTabDescription"></span> |
+ <a i18n-content="learnMore" i18n-values=".href:learnMoreLink"></a> |
+ </p> |
</div> |
</body> |
<script src="chrome://resources/js/cr.js"></script> |
<script> |
-cr.define('ntp', function() { |
- 'use strict'; |
- |
- function themeChanged() { |
- document.getElementById('guestthemecss').href = |
- 'chrome://theme/css/guest_new_tab_theme.css?' + Date.now(); |
- } |
- |
- return { |
- themeChanged: themeChanged, |
- }; |
-}); |
+function themeChanged() { |
+ document.getElementById('guestthemecss').href = |
+ 'chrome://theme/css/guest_new_tab_theme.css?' + Date.now(); |
+} |
</script> |
</html> |