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

Unified Diff: chrome/browser/resources/settings/internet_page/network_summary_item.js

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/settings/internet_page/network_summary_item.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/settings/internet_page/network_summary_item.js
diff --git a/chrome/browser/resources/settings/internet_page/network_summary_item.js b/chrome/browser/resources/settings/internet_page/network_summary_item.js
index cb02ede61297696e009c9671619c19fa763b9f7d..f32e01518270ded3587d2ca681edcdc71c58411b 100644
--- a/chrome/browser/resources/settings/internet_page/network_summary_item.js
+++ b/chrome/browser/resources/settings/internet_page/network_summary_item.js
@@ -203,6 +203,16 @@ Polymer({
},
/**
+ * @return {boolean} Whether or not to show the UI to show details.
+ * @private
+ */
+ showDetailsIsVisible_: function() {
+ if (this.expandIsVisible_())
+ return false;
+ return this.deviceIsEnabled_();
+ },
+
+ /**
* @return {boolean} True if the known networks button should be shown.
* @private
*/
« no previous file with comments | « chrome/browser/resources/settings/internet_page/network_summary_item.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698