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); |
+ }, |
}); |