Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(219)

Side by Side Diff: chrome/browser/resources/settings/internet_page/network_summary_item.html

Issue 2579433002: MD Settings: Internet: Hide subpage arrow when disabled (Closed)
Patch Set: Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/settings/internet_page/network_summary_item.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa nd_button.html"> 1 <link rel="import" href="chrome://resources/cr_elements/cr_expand_button/cr_expa nd_button.html">
2 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 2 <link rel="import" href="chrome://resources/cr_elements/icons.html">
3 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_list. html"> 3 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_list. html">
4 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_list_ item.html"> 4 <link rel="import" href="chrome://resources/cr_elements/network/cr_network_list_ item.html">
5 <link rel="import" href="chrome://resources/html/polymer.html"> 5 <link rel="import" href="chrome://resources/html/polymer.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior /iron-a11y-keys-behavior.html"> 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-keys-behavior /iron-a11y-keys-behavior.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll apse.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-collapse/iron-coll apse.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner.html"> 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-spinner/paper-spi nner.html">
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 </network-siminfo> 70 </network-siminfo>
71 </template> 71 </template>
72 72
73 <div id="buttons" class="layout horizontal"> 73 <div id="buttons" class="layout horizontal">
74 <template is="dom-if" 74 <template is="dom-if"
75 if="[[expandIsVisible_(deviceState, networkStateList)]]"> 75 if="[[expandIsVisible_(deviceState, networkStateList)]]">
76 <cr-expand-button id="expandListButton" expanded="{{expanded_}}"> 76 <cr-expand-button id="expandListButton" expanded="{{expanded_}}">
77 </cr-expand-button> 77 </cr-expand-button>
78 </template> 78 </template>
79 <template is="dom-if" 79 <template is="dom-if"
80 if="[[!expandIsVisible_(deviceState, networkStateList)]]"> 80 if="[[showDetailsIsVisible_(deviceState, networkStateList)]]">
81 <button class="subpage-arrow" is="paper-icon-button-light" 81 <button class="subpage-arrow" is="paper-icon-button-light"
82 on-tap="onShowDetailsTap_"> 82 on-tap="onShowDetailsTap_">
83 </button> 83 </button>
84 </template> 84 </template>
85 </div> 85 </div>
86 86
87 <template is="dom-if" if="[[enableIsVisible_(deviceState)]]"> 87 <template is="dom-if" if="[[enableIsVisible_(deviceState)]]">
88 <div class="secondary-action"> 88 <div class="secondary-action">
89 <paper-toggle-button id="deviceEnabledButton" 89 <paper-toggle-button id="deviceEnabledButton"
90 checked="[[deviceIsEnabled_(deviceState)]]" 90 checked="[[deviceIsEnabled_(deviceState)]]"
(...skipping 16 matching lines...) Expand all
107 <div class="button-row" actionable on-tap="onKnownNetworksTap_"> 107 <div class="button-row" actionable on-tap="onKnownNetworksTap_">
108 <a is="action-link">$i18n{knownNetworksButton}</a> 108 <a is="action-link">$i18n{knownNetworksButton}</a>
109 </div> 109 </div>
110 </template> 110 </template>
111 </div> 111 </div>
112 </iron-collapse> 112 </iron-collapse>
113 </template> 113 </template>
114 </template> 114 </template>
115 <script src="network_summary_item.js"></script> 115 <script src="network_summary_item.js"></script>
116 </dom-module> 116 </dom-module>
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/resources/settings/internet_page/network_summary_item.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698