aboutsummaryrefslogtreecommitdiff
path: root/src/background/controllers/link.js
blob: 7ebbb349cca860f5f54d17bfa038355b1e6f3971 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import LinkInteractor from '../usecases/link';

export default class LinkController {
  constructor() {
    this.linkInteractor = new LinkInteractor();
  }

  openToTab(url, tabId) {
    this.linkInteractor.openToTab(url, tabId);
  }

  openNewTab(url, openerId, background) {
    this.linkInteractor.openNewTab(url, openerId, background);
  }
}