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 fe8cc8629fefeca5e288ccda49a0e075c5abfaa2..5a95b746a0482a654350d9e18ddea43b3e3f7382 100644 |
--- a/chrome/browser/resources/settings/basic_page/basic_page.js |
+++ b/chrome/browser/resources/settings/basic_page/basic_page.js |
@@ -18,9 +18,13 @@ Polymer({ |
notify: true, |
}, |
+ // <if expr="chromeos"> |
showAndroidApps: Boolean, |
+ showMultidevice: Boolean, |
+ |
havePlayStoreApp: Boolean, |
+ // </if> |
/** @type {!AndroidAppsInfo|undefined} */ |
androidAppsInfo: Object, |
@@ -219,6 +223,16 @@ Polymer({ |
return true; |
}, |
+ /** |
+ * @return {boolean} Whether to show the multidevice settings page. |
+ * @private |
+ */ |
+ shouldShowMultidevice_: function() { |
+ var visibility = /** @type {boolean|undefined} */ ( |
+ this.get('pageVisibility.multidevice')); |
+ return this.showMultidevice && this.showPage_(visibility); |
+ }, |
+ |
/** |
* Hides everything but the newly expanded subpage. |
* @private |