Capitalize background scripts
This commit is contained in:
parent
21788740c1
commit
a26d8a8a1b
50 changed files with 247 additions and 245 deletions
15
src/background/controllers/LinkController.js
Normal file
15
src/background/controllers/LinkController.js
Normal file
|
@ -0,0 +1,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);
|
||||
}
|
||||
}
|
Reference in a new issue