OLD | NEW |
1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> | 1 <link rel="import" href="chrome://resources/polymer/polymer/polymer.html"> |
2 | 2 |
3 <polymer-element name="cr-network-icon"> | 3 <polymer-element name="cr-network-icon"> |
4 <template> | 4 <template> |
5 <link rel="stylesheet" href="cr_network_icon.css"> | 5 <link rel="stylesheet" href="cr_network_icon.css"> |
6 <img id="icon"> | 6 <img id="icon" src="{{iconType | toImageSrc}}"> |
| 7 <img id="technology" src="{{technology | toBadgeImageSrc}}" |
| 8 hidden?="{{!technology}}"> |
| 9 <img id="roaming" |
| 10 src="chrome://resources/cr_elements/cr_network_icon/badge_roaming.png" |
| 11 hidden?="{{!roaming}}"> |
7 <img id="secure" | 12 <img id="secure" |
8 src="chrome://resources/cr_elements/cr_network_icon/secure.png"> | 13 src="chrome://resources/cr_elements/cr_network_icon/badge_secure.png" |
| 14 hidden?="{{!secure}}"> |
9 </template> | 15 </template> |
10 <script src="cr_network_icon.js"></script> | 16 <script src="cr_network_icon.js"></script> |
11 </polymer-element> | 17 </polymer-element> |
OLD | NEW |