Chromium Code Reviews| 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..4d206290d8b058b0750caf7a6007ce3da43ea605 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} */ ( |
|
michaelpg
2016/12/02 03:47:44
nit: space after @type?
stevenjb
2016/12/02 17:43:56
Done.
|
| + this.get('pageVisibility.androidApps')); |
| + return this.showAndroidApps && this.showPage(visibility); |
| + }, |
| }); |