support zz command

This commit is contained in:
Shin'ya Ueoka 2017-08-23 22:01:29 +09:00
parent 1f15d22643
commit a5f1e06efc
4 changed files with 14 additions and 4 deletions

View file

@ -13,6 +13,7 @@ export const HISTORY_PREV = 'history.prev';
export const HISTORY_NEXT = 'history.next';
export const ZOOM_IN = 'zoom.in';
export const ZOOM_OUT = 'zoom.out';
export const ZOOM_NEUTRAL = 'zoom.neutral';
const BACKGROUND_ACTION_SET = new Set([
TABS_CLOSE,
@ -20,7 +21,8 @@ const BACKGROUND_ACTION_SET = new Set([
TABS_PREV,
TABS_NEXT,
ZOOM_IN,
ZOOM_OUT
ZOOM_OUT,
ZOOM_NEUTRAL
]);
const CONTENT_ACTION_SET = new Set([