| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 * @type {!GuestModePageVisibility} | 75 * @type {!GuestModePageVisibility} |
| 76 */ | 76 */ |
| 77 pageVisibility: { | 77 pageVisibility: { |
| 78 type: Object, | 78 type: Object, |
| 79 value: function() { | 79 value: function() { |
| 80 return {}; | 80 return {}; |
| 81 }, | 81 }, |
| 82 }, | 82 }, |
| 83 | 83 |
| 84 showAndroidApps: Boolean, | 84 showAndroidApps: Boolean, |
| 85 |
| 86 shouldHideContainer: { |
| 87 type: Boolean, |
| 88 notify: true, |
| 89 } |
| 85 }, | 90 }, |
| 86 | 91 |
| 87 /** @override */ | 92 /** @override */ |
| 88 attached: function() { | 93 attached: function() { |
| 89 this.listen(this, 'freeze-scroll', 'onFreezeScroll_'); | 94 this.listen(this, 'freeze-scroll', 'onFreezeScroll_'); |
| 90 this.listen(this, 'lazy-loaded', 'onLazyLoaded_'); | 95 this.listen(this, 'lazy-loaded', 'onLazyLoaded_'); |
| 91 }, | 96 }, |
| 92 | 97 |
| 93 /** @private */ | 98 /** @private */ |
| 94 onLazyLoaded_: function() { | 99 onLazyLoaded_: function() { |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 283 text: this.showNoResultsFound_ ? | 288 text: this.showNoResultsFound_ ? |
| 284 loadTimeData.getString('searchNoResults') : | 289 loadTimeData.getString('searchNoResults') : |
| 285 loadTimeData.getStringF('searchResults', query) | 290 loadTimeData.getStringF('searchResults', query) |
| 286 }); | 291 }); |
| 287 } | 292 } |
| 288 }.bind(this)); | 293 }.bind(this)); |
| 289 }.bind(this), 0); | 294 }.bind(this), 0); |
| 290 }.bind(this)); | 295 }.bind(this)); |
| 291 }, | 296 }, |
| 292 }); | 297 }); |
| OLD | NEW |