aboutsummaryrefslogtreecommitdiff
path: root/src/content/client/FindMasterClient.ts
diff options
context:
space:
mode:
authorShin'ya Ueoka <ueokande@i-beam.org>2021-05-15 18:03:43 +0900
committerShin'ya Ueoka <ueokande@i-beam.org>2021-07-05 21:32:43 +0900
commit21a0f2294b51f6ce78134384d34f302fb2cb8614 (patch)
treec9841c3bee7966e383221ff90ac04db009eab35e /src/content/client/FindMasterClient.ts
parent038de72896e748df4e63352b4bbbae24d8a851ce (diff)
Remove legacy find
Diffstat (limited to 'src/content/client/FindMasterClient.ts')
-rw-r--r--src/content/client/FindMasterClient.ts27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/content/client/FindMasterClient.ts b/src/content/client/FindMasterClient.ts
deleted file mode 100644
index 9c3f812..0000000
--- a/src/content/client/FindMasterClient.ts
+++ /dev/null
@@ -1,27 +0,0 @@
-import * as messages from "../../shared/messages";
-
-export default interface FindMasterClient {
- findNext(): void;
-
- findPrev(): void;
-}
-
-export class FindMasterClientImpl implements FindMasterClient {
- findNext(): void {
- window.top.postMessage(
- JSON.stringify({
- type: messages.FIND_NEXT,
- }),
- "*"
- );
- }
-
- findPrev(): void {
- window.top.postMessage(
- JSON.stringify({
- type: messages.FIND_PREV,
- }),
- "*"
- );
- }
-}