aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/ConsoleController.ts
blob: 2a0d75f3a39391a016e50d9e5035618dcad9183b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import { injectable } from "tsyringe";
import ConsoleUseCase from "../usecases/ConsoleUseCase";

@injectable()
export default class ConsoleController {
  constructor(private readonly consoleUseCase: ConsoleUseCase) {}

  resize(senderTabId: number, width: number, height: number) {
    return this.consoleUseCase.resize(senderTabId, width, height);
  }
}