1 <link rel=
"import" href=
"chrome://resources/polymer/v1_0/polymer/polymer.html">
2 <link rel=
"import" href=
"chrome://resources/cr_elements/v1_0/cr_expand_button/cr_expand_button.html">
3 <link rel=
"import" href=
"chrome://resources/cr_elements/v1_0/cr_toggle_button/cr_toggle_button.html">
4 <link rel=
"import" href=
"network_list.html">
5 <link rel=
"import" href=
"network_list_item.html">
7 <dom-module name=
"network-summary-item">
8 <link rel=
"import" type=
"css" href=
"network_summary_item.css">
10 <div class=
"layout vertical" hidden$=
"[[isHidden]]">
11 <div id=
"details" class=
"layout horizontal" on-click=
"onDetailsClicked_">
12 <network-list-item id=
"detailsItem" class=
"flex"
13 network-state=
"[[networkState]]">
15 <div id=
"buttons" class=
"layout horizontal">
16 <cr-expand-button id=
"expandListButton"
17 class$=
"[[getExpandButtonClass_(deviceState, networkStateList)]]"
18 expanded=
"{{expanded}}">
20 <cr-toggle-button id=
"deviceEnabledButton"
21 checked=
"[[deviceIsEnabled_(deviceState)]]"
22 class$=
"[[getDeviceEnabledButtonClass_(deviceState)]]"
23 on-click=
"onDeviceEnabledToggled_">
27 <network-list id=
"networkList" class=
"layout vertical"
28 max-height=
"[[maxHeight]]"
29 networks=
"[[networkStateList]]"
30 on-selected=
"onListItemSelected_"
31 opened=
"{{expanded}}">
35 <script src=
"network_summary_item.js"></script>