blob: 7e395b1f6a4fb8c80a5895c6d7f1ff1407d304ed (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import LinkUseCase from '../usecases/LinkUseCase';
export default class LinkController {
constructor() {
this.linkUseCase = new LinkUseCase();
}
openToTab(url, tabId) {
this.linkUseCase.openToTab(url, tabId);
}
openNewTab(url, openerId, background) {
this.linkUseCase.openNewTab(url, openerId, background);
}
}
|