diff options
Diffstat (limited to 'src/shared')
| -rw-r--r-- | src/shared/actions.js | 16 | 
1 files changed, 14 insertions, 2 deletions
| diff --git a/src/shared/actions.js b/src/shared/actions.js index bb61dbc..f0a224c 100644 --- a/src/shared/actions.js +++ b/src/shared/actions.js @@ -4,17 +4,27 @@ export const TABS_CLOSE = 'tabs.close';  export const TABS_REOPEN = 'tabs.reopen';  export const TABS_PREV = 'tabs.prev';  export const TABS_NEXT = 'tabs.next'; +export const TABS_RELOAD = 'tabs.reload';  export const SCROLL_UP = 'scroll.up';  export const SCROLL_DOWN = 'scroll.down';  export const SCROLL_TOP = 'scroll.top';  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'; +export const ZOOM_NEUTRAL = 'zoom.neutral';  const BACKGROUND_ACTION_SET = new Set([    TABS_CLOSE,    TABS_REOPEN,    TABS_PREV, -  TABS_NEXT +  TABS_NEXT, +  TABS_RELOAD, +  ZOOM_IN, +  ZOOM_OUT, +  ZOOM_NEUTRAL  ]);  const CONTENT_ACTION_SET = new Set([ @@ -24,7 +34,9 @@ const CONTENT_ACTION_SET = new Set([    SCROLL_DOWN,    SCROLL_TOP,    SCROLL_BOTTOM, -  FOLLOW_START +  FOLLOW_START, +  HISTORY_PREV, +  HISTORY_NEXT  ]);  export const isBackgroundAction = (action) => { | 
