From 1f15d2264305a5492f3f95d9fbdaf1e31fbb33fd Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Wed, 23 Aug 2017 21:58:58 +0900 Subject: support zi/zo commands --- src/shared/actions.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/shared') diff --git a/src/shared/actions.js b/src/shared/actions.js index e01813b..768f06e 100644 --- a/src/shared/actions.js +++ b/src/shared/actions.js @@ -11,12 +11,16 @@ export const SCROLL_BOTTOM = 'scroll.bottom'; export const FOLLOW_START = 'follow.start'; export const HISTORY_PREV = 'history.prev'; export const HISTORY_NEXT = 'history.next'; +export const ZOOM_IN = 'zoom.in'; +export const ZOOM_OUT = 'zoom.out'; const BACKGROUND_ACTION_SET = new Set([ TABS_CLOSE, TABS_REOPEN, TABS_PREV, - TABS_NEXT + TABS_NEXT, + ZOOM_IN, + ZOOM_OUT ]); const CONTENT_ACTION_SET = new Set([ -- cgit v1.2.3