diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-03-28 11:02:05 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2021-03-28 11:02:05 +0900 |
commit | 94483920f2a32071505b913881eb7b342c910535 (patch) | |
tree | 80fa6b52c84c957c21360f84e160bfeb789ad046 /src/background/controllers/ConsoleFrameClient.ts | |
parent | 9d77f734fc5556217ddff14af6b067dfbea92854 (diff) |
Move classes to a correct directory
Diffstat (limited to 'src/background/controllers/ConsoleFrameClient.ts')
-rw-r--r-- | src/background/controllers/ConsoleFrameClient.ts | 15 |
1 files changed, 0 insertions, 15 deletions
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<void>; -} - -export class ConsoleFrameClientImpl implements ConsoleFrameClient { - async resize(tabId: number, width: number, height: number): Promise<void> { - await browser.tabs.sendMessage(tabId, { - type: messages.CONSOLE_RESIZE, - width, - height, - }); - } -} |