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

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: 135179 Created 8 years, 5 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
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/resources/neterror.html
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html
index ac3172c789fbec70e866f6c320fa1d3565a31147..670ee7d7265bb082f878a6858095fcbd4f7b1f67 100644
--- a/chrome/renderer/resources/neterror.html
+++ b/chrome/renderer/resources/neterror.html
@@ -105,6 +105,15 @@ a:visited {
.failedUrl {
word-wrap: break-word;
}
+
+#logo-img {
+ /* "Not allowed to load local resource: chrome://theme/IDR_PRODUCT_LOGO",
+ so embed the resource manually. */
+ 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 +151,7 @@ if (window.screen.colorDepth >= 24)
<div id="cell">
<div id="box">
<h1>
- <img src="../../app/theme/%DISTRIBUTION%/product_logo.png" />
+ <img id="logo-img">
<span i18n-content="heading"></span>
</h1>
« no previous file with comments | « 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