Index: ui/webui/resources/cr_elements/cr_network_icon/cr_network_icon.html |
diff --git a/ui/webui/resources/cr_elements/cr_network_icon/cr_network_icon.html b/ui/webui/resources/cr_elements/cr_network_icon/cr_network_icon.html |
index a8a53fb2ffa2440bd47394afbfb943335fcae32c..4762f6cde1664dcbe2d8c8bb884db6ba60870e5c 100644 |
--- a/ui/webui/resources/cr_elements/cr_network_icon/cr_network_icon.html |
+++ b/ui/webui/resources/cr_elements/cr_network_icon/cr_network_icon.html |
@@ -3,9 +3,15 @@ |
<polymer-element name="cr-network-icon"> |
<template> |
<link rel="stylesheet" href="cr_network_icon.css"> |
- <img id="icon"> |
+ <img id="icon" src="{{iconType | toImageSrc}}"> |
+ <img id="technology" src="{{technology | toBadgeImageSrc}}" |
+ hidden?="{{!technology}}"> |
+ <img id="roaming" |
+ src="chrome://resources/cr_elements/cr_network_icon/badge_roaming.png" |
+ hidden?="{{!roaming}}"> |
<img id="secure" |
- src="chrome://resources/cr_elements/cr_network_icon/secure.png"> |
+ src="chrome://resources/cr_elements/cr_network_icon/badge_secure.png" |
+ hidden?="{{!secure}}"> |
</template> |
<script src="cr_network_icon.js"></script> |
</polymer-element> |