* @param {!Window} win
(win)
| 11 | * @param {!Window} win |
| 12 | */ |
| 13 | constructor(win) { |
| 14 | /** @private @const {!Window} */ |
| 15 | this.win_ = win; |
| 16 | |
| 17 | /** @private {boolean} */ |
| 18 | this.isExpanded_ = false; |
| 19 | |
| 20 | /** @private {boolean} */ |
| 21 | this.viewportChangedSinceExpand_ = false; |
| 22 | |
| 23 | // TODO(alanorozco): type |
| 24 | /** @private {?} */ |
| 25 | this.collapsedRect_ = null; |
| 26 | |
| 27 | this.listenToViewportChanges_(); |
| 28 | } |
| 29 | |
| 30 | /** @private */ |
| 31 | listenToViewportChanges_() { |
nothing calls this directly
no test coverage detected