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> |