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 <!-- By default space will trigger on-tap but enter will not, so | |
92 handle space and enter here explicitly. --> | |
93 <iron-a11y-keys keys="space enter" on-keys-pressed="fireShowDetails_"> | |
dpapad
2017/04/25 21:25:19
I don't fully understand the need for this. Where
stevenjb
2017/04/25 23:32:53
OK, after way too much time investigating, I disco
dpapad
2017/04/26 00:22:38
I filed https://bugs.chromium.org/p/chromium/issue
stevenjb
2017/04/26 17:53:36
I don't think there is anything actually different
dpapad
2017/04/26 18:14:49
Compare for example the search engines iron-list (
stevenjb
2017/04/26 18:33:49
Yes, that is what I am seeing.
It sounds like you
| |
94 </iron-a11y-keys> | |
90 <button class="subpage-arrow" is="paper-icon-button-light" | 95 <button class="subpage-arrow" is="paper-icon-button-light" |
91 on-tap="fireShowDetails_" tabindex$="[[tabindex]]" | 96 on-tap="fireShowDetails_" tabindex$="[[tabindex]]" |
92 aria-label$="[[ariaLabel]]"> | 97 aria-label$="[[ariaLabel]]"> |
93 </button> | 98 </button> |
94 </div> | 99 </div> |
95 </template> | 100 </template> |
96 </div> | 101 </div> |
97 </template> | 102 </template> |
98 <script src="cr_network_list_item.js"></script> | 103 <script src="cr_network_list_item.js"></script> |
99 </dom-module> | 104 </dom-module> |
OLD | NEW |