| Index: chrome/renderer/resources/neterror.html
|
| diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html
|
| index 41c80c8d92b0798cd22c06bdf86086209c0af2c5..0609422131e08bbd4b333102b9bb9761cd408a0c 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:isOffline ? 'icon-offline' : 'icon-generic'"></div>
|
| <span i18n-content="heading"></span>
|
| </h1>
|
|
|
|
|