aboutsummaryrefslogtreecommitdiff
path: root/src/content/controllers/ConsoleFrameController.ts
blob: fafadf423371905fc5f8de3e04e5eeed4f51e480 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import ConsoleFrameUseCase from '../usecases/ConsoleFrameUseCase';
import * as messages from '../../shared/messages';

export default class ConsoleFrameController {
  private consoleFrameUseCase: ConsoleFrameUseCase;

  constructor({
    consoleFrameUseCase = new ConsoleFrameUseCase(),
  } = {}) {
    this.consoleFrameUseCase = consoleFrameUseCase;
  }

  unfocus(_message: messages.Message) {
    this.consoleFrameUseCase.unfocus();
  }
}