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

Unified Diff: chrome/renderer/resources/neterror.html

Issue 10695052: HiDPI chromium logo for NTP, about:version, about:neterror (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 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/renderer/resources/neterror.html
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html
index ac3172c789fbec70e866f6c320fa1d3565a31147..b029150c689490508754d6bd9dfdb38427960c84 100644
--- a/chrome/renderer/resources/neterror.html
+++ b/chrome/renderer/resources/neterror.html
@@ -105,6 +105,16 @@ a:visited {
.failedUrl {
word-wrap: break-word;
}
+
+#logo-img {
+ /* TODO
+ "Not allowed to load local resource: chrome://theme/IDR_PRODUCT_LOGO"
+ "chrome://theme/IDR_PRODUCT_LOGO" */
+ content: -webkit-image-set(
+ url('../../app/theme/default_100_percent/%DISTRIBUTION%/product_logo.png') 1x,
+ url('../../app/theme/default_200_percent/%DISTRIBUTION%/product_logo.png') 2x);
+}
+
</style>
</head>
@@ -142,7 +152,8 @@ if (window.screen.colorDepth >= 24)
<div id="cell">
<div id="box">
<h1>
- <img src="../../app/theme/%DISTRIBUTION%/product_logo.png" />
+ <!-- Revert once XXX is done -->
flackr 2012/06/30 12:05:46 If we're not allowed to load chrome://theme/ resou
Nico 2012/06/30 16:55:25 I thought img src="relative path" would be made to
flackr 2012/06/30 17:02:46 Not outside of chrome/browser/resources, otherwise
Nico 2012/06/30 18:15:24 Ah, right. Will change.
+ <img id="logo-img">
<span i18n-content="heading"></span>
</h1>
« chrome/browser/resources/ntp4/new_tab.html ('K') | « chrome/browser/resources/ntp4/new_tab.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698