diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-26 20:08:17 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-26 20:08:17 +0900 |
commit | 6213f55e22f79eb8b7572a619e0fc68047c0631e (patch) | |
tree | ca4db6739528100a6dd965700fc7ffc707f22a74 /src/shared/actions.js | |
parent | eec79730606ab3b49529d8063c6646d6309d8084 (diff) | |
parent | cb36fc666cb2615f911bc855bc91249d167f0dba (diff) |
Merge branch 'some-features'
Diffstat (limited to 'src/shared/actions.js')
-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) => { |