Index: chrome/renderer/resources/neterror.html |
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html |
index 41c80c8d92b0798cd22c06bdf86086209c0af2c5..31221ee75af050ee8befc4440b43953656526c97 100644 |
--- a/chrome/renderer/resources/neterror.html |
+++ b/chrome/renderer/resources/neterror.html |
@@ -55,7 +55,11 @@ a { |
text-decoration: none; |
} |
-.error-img { |
+.icon { |
+ -webkit-user-select: none; |
+} |
+ |
+.icon-generic { |
/** |
* Can't access chrome://theme/IDR_ERROR_NETWORK_GENERIC from an untrusted |
* renderer process, so embed the resource manually. |
@@ -63,7 +67,12 @@ a { |
content: -webkit-image-set( |
url('../../app/theme/default_100_percent/common/error_network_generic.png') 1x, |
url('../../app/theme/default_200_percent/common/error_network_generic.png') 2x); |
- -webkit-user-select: none; |
+} |
+ |
+.icon-offline { |
+ content: -webkit-image-set( |
+ url('../../app/theme/default_100_percent/common/error_network_offline.png') 1x, |
+ url('../../app/theme/default_200_percent/common/error_network_offline.png') 2x); |
} |
#content-top { |
@@ -320,7 +329,7 @@ function updateForDnsProbe(strings) { |
<div id="box"> |
<div id="content-top"> |
<h1> |
- <div><img class="error-img"></div> |
+ <div><img class="icon" jsvalues=".className:iconClass"></div> |
mmenke
2013/07/24 18:45:42
Doesn't setting classname overwrite the current cl
newt (away)
2013/07/24 21:02:35
Good catch. Fixed. (it's "this" btw)
|
<span i18n-content="heading"></span> |
</h1> |