aboutsummaryrefslogtreecommitdiff
path: root/src/shared
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/shared
parent038de72896e748df4e63352b4bbbae24d8a851ce (diff)
Remove legacy find
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/messages.ts31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/shared/messages.ts b/src/shared/messages.ts
index 59329e7..2ad3b48 100644
--- a/src/shared/messages.ts
+++ b/src/shared/messages.ts
@@ -35,11 +35,6 @@ export const MARK_JUMP_GLOBAL = "mark.jump.global";
export const TAB_SCROLL_TO = "tab.scroll.to";
-export const FIND_NEXT = "find.next";
-export const FIND_PREV = "find.prev";
-export const FIND_GET_KEYWORD = "find.get.keyword";
-export const FIND_SET_KEYWORD = "find.set.keyword";
-
export const ADDON_ENABLED_QUERY = "addon.enabled.query";
export const ADDON_ENABLED_RESPONSE = "addon.enabled.response";
export const ADDON_TOGGLE_ENABLED = "addon.toggle.enabled";
@@ -227,24 +222,6 @@ export interface TabScrollToMessage {
y: number;
}
-export interface FindNextMessage {
- type: typeof FIND_NEXT;
-}
-
-export interface FindPrevMessage {
- type: typeof FIND_PREV;
-}
-
-export interface FindGetKeywordMessage {
- type: typeof FIND_GET_KEYWORD;
-}
-
-export interface FindSetKeywordMessage {
- type: typeof FIND_SET_KEYWORD;
- keyword: string;
- found: boolean;
-}
-
export interface AddonEnabledQueryMessage {
type: typeof ADDON_ENABLED_QUERY;
}
@@ -322,10 +299,6 @@ export type Message =
| MarkSetGlobalMessage
| MarkJumpGlobalMessage
| TabScrollToMessage
- | FindNextMessage
- | FindPrevMessage
- | FindGetKeywordMessage
- | FindSetKeywordMessage
| AddonEnabledQueryMessage
| AddonEnabledResponseMessage
| AddonToggleEnabledMessage
@@ -360,10 +333,6 @@ export const valueOf = (o: any): Message => {
case MARK_SET_GLOBAL:
case MARK_JUMP_GLOBAL:
case TAB_SCROLL_TO:
- case FIND_NEXT:
- case FIND_PREV:
- case FIND_GET_KEYWORD:
- case FIND_SET_KEYWORD:
case ADDON_ENABLED_QUERY:
case ADDON_ENABLED_RESPONSE:
case ADDON_TOGGLE_ENABLED: