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

Unified Diff: chrome/browser/resources/settings/settings_main/settings_main.js

Issue 2541923002: MD Settings: Add Google Play Store (Arc++) section (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
Index: chrome/browser/resources/settings/settings_main/settings_main.js
diff --git a/chrome/browser/resources/settings/settings_main/settings_main.js b/chrome/browser/resources/settings/settings_main/settings_main.js
index 5d9dd81c119ed6873abf7b03e5335da9e74d14f7..6fcdf96c907d468cb6821216648d669499b29868 100644
--- a/chrome/browser/resources/settings/settings_main/settings_main.js
+++ b/chrome/browser/resources/settings/settings_main/settings_main.js
@@ -93,6 +93,8 @@ Polymer({
this.listen(this, 'freeze-scroll', 'onFreezeScroll_');
var currentRoute = settings.getCurrentRoute();
this.hasExpandedSection_ = currentRoute && currentRoute.isSubpage();
+ if (!loadTimeData.getBoolean('androidAppsAllowed'))
+ this.pageVisibility.androidApps = false;
michaelpg 2016/12/01 20:15:34 does this work? i'm worried about a couple things:
stevenjb 2016/12/02 00:39:19 Ugh. The way we handle pageVisibility is confusing
michaelpg 2016/12/02 03:47:43 Yeah... I don't know if there's a non-sucky way of
},
/** @override */

Powered by Google App Engine
This is Rietveld 408576698