diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/index.js | 9 | ||||
-rw-r--r-- | src/actions/operation.js | 5 |
2 files changed, 4 insertions, 10 deletions
diff --git a/src/actions/index.js b/src/actions/index.js index ae29238..754b7f0 100644 --- a/src/actions/index.js +++ b/src/actions/index.js @@ -12,15 +12,6 @@ export default { CMD_OPEN: 'cmd.open', CMD_TABS_OPEN: 'cmd.tabs.open', CMD_BUFFER: 'cmd.buffer', - SCROLL_LINES: 'scroll.lines', - SCROLL_PAGES: 'scroll.pages', - SCROLL_TOP: 'scroll.top', - SCROLL_BOTTOM: 'scroll.bottom', - SCROLL_LEFT: 'scroll.left', - SCROLL_RIGHT: 'scroll.right', - FOLLOW_START: 'follow.start', - HISTORY_PREV: 'history.prev', - HISTORY_NEXT: 'history.next', // User input INPUT_KEY_PRESS: 'input.key,press', diff --git a/src/actions/operation.js b/src/actions/operation.js index 4106076..352bfac 100644 --- a/src/actions/operation.js +++ b/src/actions/operation.js @@ -21,7 +21,10 @@ export function exec(operation, sender) { case operations.ZOOM_NEUTRAL: return zooms.neutral(); default: - return Promise.resolve(); + return browser.tabs.sendMessage(sender.tab.id, { + type: 'require.content.operation', + operation + }); } } |