diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-16 20:33:53 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-08-16 20:33:53 +0900 |
commit | 13fb726332e9638cb3fafc477cf9fe641cb906ce (patch) | |
tree | 407ac0092fcb20c94e407bf1cbc8e5c4844b3bd6 /src/shared | |
parent | 85e22063fe522518e70928255349fb1c16b7cb42 (diff) | |
parent | dc860d32f50e2fc21a4f38663bfb0b9099a77513 (diff) |
Merge branch 'command-line'
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/actions.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/shared/actions.js b/src/shared/actions.js index 3e3cbd0..be25d72 100644 --- a/src/shared/actions.js +++ b/src/shared/actions.js @@ -1,3 +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'; @@ -6,11 +10,15 @@ 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 ]); const CONTENT_ACTION_SET = new Set([ + CMD_OPEN, + CMD_TABS_OPEN, SCROLL_UP, SCROLL_DOWN, SCROLL_TOP, |