From 94483920f2a32071505b913881eb7b342c910535 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sun, 28 Mar 2021 11:02:05 +0900 Subject: Move classes to a correct directory --- src/background/controllers/ConsoleFrameClient.ts | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 src/background/controllers/ConsoleFrameClient.ts (limited to 'src/background/controllers/ConsoleFrameClient.ts') diff --git a/src/background/controllers/ConsoleFrameClient.ts b/src/background/controllers/ConsoleFrameClient.ts deleted file mode 100644 index 170566d..0000000 --- a/src/background/controllers/ConsoleFrameClient.ts +++ /dev/null @@ -1,15 +0,0 @@ -import * as messages from "../../shared/messages"; - -export default interface ConsoleFrameClient { - resize(tabId: number, width: number, height: number): Promise; -} - -export class ConsoleFrameClientImpl implements ConsoleFrameClient { - async resize(tabId: number, width: number, height: number): Promise { - await browser.tabs.sendMessage(tabId, { - type: messages.CONSOLE_RESIZE, - width, - height, - }); - } -} -- cgit v1.2.3