diff options
Diffstat (limited to 'ext/js/app/frontend.js')
| -rw-r--r-- | ext/js/app/frontend.js | 12 | 
1 files changed, 1 insertions, 11 deletions
| diff --git a/ext/js/app/frontend.js b/ext/js/app/frontend.js index 692bfa80..31e93a68 100644 --- a/ext/js/app/frontend.js +++ b/ext/js/app/frontend.js @@ -128,9 +128,7 @@ class Frontend {              ['copySelection',           {async: false, handler: this._onApiCopySelection.bind(this)}],              ['getSelectionText',        {async: false, handler: this._onApiGetSelectionText.bind(this)}],              ['getPopupInfo',            {async: false, handler: this._onApiGetPopupInfo.bind(this)}], -            ['getPageInfo',             {async: false, handler: this._onApiGetPageInfo.bind(this)}], -            ['getFrameSize',            {async: true,  handler: this._onApiGetFrameSize.bind(this)}], -            ['setFrameSize',            {async: true,  handler: this._onApiSetFrameSize.bind(this)}] +            ['getPageInfo',             {async: false, handler: this._onApiGetPageInfo.bind(this)}]          ]);          this._updateContentScale(); @@ -221,14 +219,6 @@ class Frontend {          return await this._popupFactory.clearAllVisibleOverride(token);      } -    async _onApiGetFrameSize() { -        return await this._popup.getFrameSize(); -    } - -    async _onApiSetFrameSize({width, height}) { -        return await this._popup.setFrameSize(width, height); -    } -      // Private      _onResize() { |