From 65cf6f0842d8d5933dc13b3767b1baf398d68cd5 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Mon, 14 Jun 2021 23:14:51 +0900 Subject: Implement FindNextOperator --- src/background/controllers/FindController.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/background/controllers/FindController.ts (limited to 'src/background/controllers') diff --git a/src/background/controllers/FindController.ts b/src/background/controllers/FindController.ts new file mode 100644 index 0000000..0772866 --- /dev/null +++ b/src/background/controllers/FindController.ts @@ -0,0 +1,11 @@ +import { injectable } from "tsyringe"; +import StartFindUseCase from "../usecases/StartFindUseCase"; + +@injectable() +export default class FindController { + constructor(private startFindUseCase: StartFindUseCase) {} + + startFind(tabId: number, keyword?: string): Promise { + return this.startFindUseCase.startFind(tabId, keyword); + } +} -- cgit v1.2.3