| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * @typedef {{about: boolean, settings: boolean}} | 6 * @typedef {{about: boolean, settings: boolean}} |
| 7 */ | 7 */ |
| 8 var MainPageVisibility; | 8 var MainPageVisibility; |
| 9 | 9 |
| 10 /** | 10 /** |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 }, | 71 }, |
| 72 | 72 |
| 73 /** | 73 /** |
| 74 * Dictionary defining page visibility. | 74 * Dictionary defining page visibility. |
| 75 * @type {!GuestModePageVisibility} | 75 * @type {!GuestModePageVisibility} |
| 76 */ | 76 */ |
| 77 pageVisibility: Object, | 77 pageVisibility: Object, |
| 78 | 78 |
| 79 showAndroidApps: Boolean, | 79 showAndroidApps: Boolean, |
| 80 | 80 |
| 81 showMultidevice: Boolean, |
| 82 |
| 81 havePlayStoreApp: Boolean, | 83 havePlayStoreApp: Boolean, |
| 82 }, | 84 }, |
| 83 | 85 |
| 84 /** @override */ | 86 /** @override */ |
| 85 attached: function() { | 87 attached: function() { |
| 86 this.listen(this, 'freeze-scroll', 'onFreezeScroll_'); | 88 this.listen(this, 'freeze-scroll', 'onFreezeScroll_'); |
| 87 this.listen(this, 'lazy-loaded', 'onLazyLoaded_'); | 89 this.listen(this, 'lazy-loaded', 'onLazyLoaded_'); |
| 88 }, | 90 }, |
| 89 | 91 |
| 90 /** @private */ | 92 /** @private */ |
| (...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 280 text: this.showNoResultsFound_ ? | 282 text: this.showNoResultsFound_ ? |
| 281 loadTimeData.getString('searchNoResults') : | 283 loadTimeData.getString('searchNoResults') : |
| 282 loadTimeData.getStringF('searchResults', query) | 284 loadTimeData.getStringF('searchResults', query) |
| 283 }); | 285 }); |
| 284 } | 286 } |
| 285 }.bind(this)); | 287 }.bind(this)); |
| 286 }.bind(this), 0); | 288 }.bind(this), 0); |
| 287 }.bind(this)); | 289 }.bind(this)); |
| 288 }, | 290 }, |
| 289 }); | 291 }); |
| OLD | NEW |