| OLD | NEW |
| 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> | 1 <link rel="import" href="chrome://resources/cr_elements/icons.html"> |
| 2 <link rel="import" href="chrome://resources/html/polymer.html"> | 2 <link rel="import" href="chrome://resources/html/polymer.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys/iron-a11
y-keys.html"> |
| 3 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> | 4 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/classe
s/iron-flex-layout.html"> |
| 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> | 5 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper
-icon-button-light.html"> |
| 5 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.
html"> | 6 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_icon.
html"> |
| 6 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> | 7 <link rel="import" href="chrome://resources/cr_elements/network/cr_onc_types.htm
l"> |
| 7 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_indicat
or.html"> | 8 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_indicat
or.html"> |
| 8 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_behavior.html"> | 9 <link rel="import" href="chrome://resources/cr_elements/policy/cr_policy_network
_behavior.html"> |
| 9 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> | 10 <link rel="import" href="chrome://resources/cr_elements/shared_style_css.html"> |
| 10 | 11 |
| 11 <dom-module id="cr-network-list-item"> | 12 <dom-module id="cr-network-list-item"> |
| 12 <template> | 13 <template> |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 </div> | 81 </div> |
| 81 </div> | 82 </div> |
| 82 <template is="dom-if" if="[[isPolicySource(networkState.Source)]]"> | 83 <template is="dom-if" if="[[isPolicySource(networkState.Source)]]"> |
| 83 <cr-policy-indicator | 84 <cr-policy-indicator |
| 84 indicator-type="[[getIndicatorTypeForSource(networkState.Source)]]"> | 85 indicator-type="[[getIndicatorTypeForSource(networkState.Source)]]"> |
| 85 </cr-policy-indicator> | 86 </cr-policy-indicator> |
| 86 </template> | 87 </template> |
| 87 <template is="dom-if" | 88 <template is="dom-if" |
| 88 if="[[isSubpageButtonVisible_(networkState, showButtons)]]"> | 89 if="[[isSubpageButtonVisible_(networkState, showButtons)]]"> |
| 89 <div id="subpageDiv" class="layout horizontal"> | 90 <div id="subpageDiv" class="layout horizontal"> |
| 91 <!-- iron-list captures 'enter' so handle it here explicitly. --> |
| 92 <iron-a11y-keys keys="enter" on-keys-pressed="fireShowDetails_"> |
| 93 </iron-a11y-keys> |
| 90 <button class="subpage-arrow" is="paper-icon-button-light" | 94 <button class="subpage-arrow" is="paper-icon-button-light" |
| 91 on-tap="fireShowDetails_" tabindex$="[[tabindex]]" | 95 on-tap="fireShowDetails_" tabindex$="[[tabindex]]" |
| 92 aria-label$="[[ariaLabel]]"> | 96 aria-label$="[[ariaLabel]]"> |
| 93 </button> | 97 </button> |
| 94 </div> | 98 </div> |
| 95 </template> | 99 </template> |
| 96 </div> | 100 </div> |
| 97 </template> | 101 </template> |
| 98 <script src="cr_network_list_item.js"></script> | 102 <script src="cr_network_list_item.js"></script> |
| 99 </dom-module> | 103 </dom-module> |
| OLD | NEW |