aboutsummaryrefslogtreecommitdiff
path: root/src/shared/actions.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/actions.js')
-rw-r--r--src/shared/actions.js8
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,