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

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

Issue 1440113002: [MD] Change appearance of incognito NTP to MD spec. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 5 years, 1 month 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 9c1150a09e6ae20ec728b595e93f38f1c027b6ea..704140ab1ef50394d827a33bda97ecf0410ca6ca 100644
--- a/chrome/browser/resources/ntp4/guest_tab.html
+++ b/chrome/browser/resources/ntp4/guest_tab.html
@@ -4,28 +4,17 @@
<meta charset="utf-8">
<title i18n-content="title"></title>
<link rel="stylesheet" href="chrome://resources/css/text_defaults.css">
+<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" ' +
- 'href="chrome://theme/css/incognito_new_tab_theme.css?' +
- Date.now() + '">');
-</script>
</head>
<body>
<div class="content">
<h1 i18n-content="guestTabHeading"></h1>
<p>
<span i18n-content="guestTabDescription"></span>
- <a i18n-content="learnMore" i18n-values=".href:learnMoreLink"></a>
</p>
+ <a i18n-content="learnMore" i18n-values=".href:learnMoreLink"></a>
</div>
</body>
<script src="chrome://resources/js/cr.js"></script>
-<script>
-function themeChanged() {
- document.getElementById('guestthemecss').href =
- 'chrome://theme/css/incognito_new_tab_theme.css?' + Date.now();
-}
-</script>
</html>
« no previous file with comments | « chrome/browser/resources/ntp4/guest_tab.css ('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