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

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

Issue 2804823002: Revamp the Incognito NTP on Desktop (Closed)
Patch Set: Addressed comments. 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/ntp4/md_incognito_tab.html
diff --git a/chrome/browser/resources/ntp4/md_incognito_tab.html b/chrome/browser/resources/ntp4/md_incognito_tab.html
new file mode 100644
index 0000000000000000000000000000000000000000..29861228fb899b97eace85d39bbae3669dd45658
--- /dev/null
+++ b/chrome/browser/resources/ntp4/md_incognito_tab.html
@@ -0,0 +1,40 @@
+<!doctype html>
+<html dir="$i18n{textdirection}"
+ hascustombackground="$i18n{hasCustomBackground}"
+ bookmarkbarattached="$i18n{bookmarkbarattached}"
+ lang="$i18n{language}"
+ class="md">
+<head>
+<meta charset="utf-8">
+<title>$i18n{title}</title>
+<meta name="viewport" content="width=device-width">
+<link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
+<link rel="stylesheet" href="md_incognito_tab.css">
+<script>
+// Until themes can clear the cache, force-reload the theme stylesheet.
+document.write('<link id="incognitothemecss" rel="stylesheet" ' +
+ 'href="chrome://theme/css/incognito_new_tab_theme.css?' +
+ Date.now() + '">');
+</script>
+</head>
+<body>
+<div class="content">
+ <div class="icon"></div>
+ <h1>$i18n{incognitoTabHeading}</h1>
+ <p id="subtitle">
+ <span>$i18n{incognitoTabDescription}</span>
+ <a class="learn-more-button"
+ href="$i18n{learnMoreLink}">$i18n{learnMore}</a>
+ </p>
+ <div>
+ <div class="bulletpoints">$i18nRaw{incognitoTabFeatures}</div>
+ <div class="bulletpoints">$i18nRaw{incognitoTabWarning}</div>
+ <div class="clearer"></div>
+ </div>
+ <a class="learn-more-button" href="$i18n{learnMoreLink}">$i18n{learnMore}</a>
+</div>
+<script src="chrome://resources/js/cr.js"></script>
+<script src="chrome://resources/js/util.js"></script>
+<script src="md_incognito_tab.js"></script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698