Index: chrome/renderer/resources/neterror.html |
diff --git a/chrome/renderer/resources/neterror.html b/chrome/renderer/resources/neterror.html |
index 8b81d1d1bac156ab3e1d857925826c0a78ff4fd1..6cdc095e0bb6b0efc665060f3c4a691d994ee761 100644 |
--- a/chrome/renderer/resources/neterror.html |
+++ b/chrome/renderer/resources/neterror.html |
@@ -37,7 +37,7 @@ html:not([subframe]) #sub-frame-error { |
border-bottom: 1px solid #888; |
border-radius: 3px; |
color: black; |
-<if expr="not is_android and not pp_ifdef('ios')"> |
+<if expr="not is_android and not is_ios"> |
/* Not done on mobile for performance reasons. */ |
box-shadow: 0px 2px 2px #AAA; |
</if> |
@@ -104,7 +104,7 @@ a { |
#sub-frame-error-details { |
color: #8F8F8F; |
-<if expr="not is_android and not pp_ifdef('ios')"> |
+<if expr="not is_android and not is_ios"> |
/* Not done on mobile for performance reasons. */ |
text-shadow: 0 1px 0 rgba(255,255,255,0.3); |
</if> |
@@ -133,7 +133,7 @@ button { |
background-color: #ededed; |
font-weight: bold; |
</if> |
-<if expr="not is_android and not pp_ifdef('ios')"> |
+<if expr="not is_android and not is_ios"> |
/* Not done on mobile for performance reasons. */ |
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), inset 0 1px 2px rgba(255, 255, 255, 0.75); |
</if> |
@@ -148,7 +148,7 @@ button:hover { |
<if expr="is_android"> |
background-color: #f0f0f0; |
</if> |
-<if expr="not is_android and not pp_ifdef('ios')"> |
+<if expr="not is_android and not is_ios"> |
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.12), inset 0 1px 2px rgba(255, 255, 255, 0.95); |
</if> |
} |
@@ -162,7 +162,7 @@ button:active { |
<if expr="is_android"> |
background-color: #e7e7e7; |
</if> |
-<if expr="not is_android and not pp_ifdef('ios')"> |
+<if expr="not is_android and not is_ios"> |
box-shadow: none; |
</if> |
} |
@@ -178,7 +178,7 @@ button:active { |
background-color: rgb(39, 180, 231); |
border: 1px solid rgb(0, 152, 206); |
</if> |
-<if expr="not is_android and not pp_ifdef('ios')"> |
+<if expr="not is_android and not is_ios"> |
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.15), inset 0 1px 2px rgba(255, 255, 255, 0.2); |
</if> |
} |
@@ -188,7 +188,7 @@ button:active { |
background-image: -webkit-linear-gradient(#659efd, #659efd 38%, #6097f1); |
border: 1px solid rgba(45, 102, 195, 1); |
</if> |
-<if expr="not is_android and not pp_ifdef('ios')"> |
+<if expr="not is_android and not is_ios"> |
box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25), inset 0 1px 2px rgba(255, 255, 255, 0.2); |
</if> |
} |
@@ -201,7 +201,7 @@ button:active { |
<if expr="is_android"> |
background-color: rgb(0, 152, 206); |
</if> |
-<if expr="not is_android and not pp_ifdef('ios')"> |
+<if expr="not is_android and not is_ios"> |
box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1); |
</if> |
} |
@@ -337,7 +337,7 @@ function updateForDnsProbe(strings) { |
jstProcess(context, document.getElementById('details')); |
} |
-<if expr="is_macosx or is_linux or is_android"> |
+<if expr="is_macosx or is_ios or is_linux or is_android"> |
//Re-orders buttons. Used on Mac, Linux, and Android, where reload should go on the right. |
function swapButtonOrder() { |
reloadButton = document.getElementById('reload-button'); |