* @return {!Promise}
()
| 650 | * @return {!Promise} |
| 651 | */ |
| 652 | leaveFullOverlayMode() { |
| 653 | return this.measureMutate_({ |
| 654 | mutate: () => { |
| 655 | resetStyles(this.iframe, [ |
| 656 | 'position', |
| 657 | 'left', |
| 658 | 'right', |
| 659 | 'top', |
| 660 | 'bottom', |
| 661 | 'width', |
| 662 | 'height', |
| 663 | ]); |
| 664 | |
| 665 | // we're not resetting background here as we need to set it to |
| 666 | // transparent permanently. |
| 667 | resetStyles(this.getBodyElement(), [ |
| 668 | 'position', |
| 669 | 'top', |
| 670 | 'left', |
| 671 | 'width', |
| 672 | 'height', |
| 673 | 'bottom', |
| 674 | 'right', |
| 675 | ]); |
| 676 | }, |
| 677 | }); |
| 678 | } |
| 679 | } |
| 680 | |
| 681 | /** |
no test coverage detected