diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-16 20:26:02 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-16 20:26:02 +0900 |
commit | dc860d32f50e2fc21a4f38663bfb0b9099a77513 (patch) | |
tree | 407ac0092fcb20c94e407bf1cbc8e5c4844b3bd6 /src/shared | |
parent | 36680ed8fe1d2b3d703affe400eb7e42a00e0df3 (diff) |
implement d/u command
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/actions.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shared/actions.js b/src/shared/actions.js index e1bf1e8..be25d72 100644 --- a/src/shared/actions.js +++ b/src/shared/actions.js @@ -1,5 +1,7 @@ export const CMD_OPEN = 'cmd.open'; export const CMD_TABS_OPEN = 'cmd.tabs.open'; +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 SCROLL_UP = 'scroll.up'; @@ -8,6 +10,8 @@ export const SCROLL_TOP = 'scroll.top'; export const SCROLL_BOTTOM = 'scroll.bottom'; const BACKGROUND_ACTION_SET = new Set([ + TABS_CLOSE, + TABS_REOPEN, TABS_PREV, TABS_NEXT ]); |