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

Unified Diff: chrome/browser/resources/ntp4/guest_tab.html

Issue 208683007: Update incognito and guest browsing new tab page: (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Shorten illustration filename to fix presubmit Created 6 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 side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « chrome/browser/resources/chromeos/guest_session_tab.html ('k') | chrome/browser/resources/ntp4/incognito_and_guest_tab.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698