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

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

Issue 2541923002: MD Settings: Add Google Play Store (Arc++) section (Closed)
Patch Set: Fix tests 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/basic_page/basic_page.js
diff --git a/chrome/browser/resources/settings/basic_page/basic_page.js b/chrome/browser/resources/settings/basic_page/basic_page.js
index 7facd9f8179c0bdc2b8bf05ebfbc7087b71c5889..873aa2d34f2746f21f9913593f549485d67acb05 100644
--- a/chrome/browser/resources/settings/basic_page/basic_page.js
+++ b/chrome/browser/resources/settings/basic_page/basic_page.js
@@ -18,6 +18,8 @@ Polymer({
notify: true,
},
+ showAndroidApps: Boolean,
+
/**
* True if the basic page should currently display the reset profile banner.
* @private {boolean}
@@ -30,7 +32,18 @@ Polymer({
},
},
+ /** @private */
onResetDone_: function() {
this.showResetProfileBanner_ = false;
},
+
+ /**
+ * @return {boolean}
+ * @private
+ */
+ shouldShowAndroidApps_: function() {
+ var visibility = /** @type {boolean|undefined} */ (
+ this.get('pageVisibility.androidApps'));
+ return this.showAndroidApps && this.showPage(visibility);
+ },
});

Powered by Google App Engine
This is Rietveld 408576698