diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-13 21:23:55 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2017-09-13 21:23:55 +0900 |
commit | b6e5153c1f67a68434ad3db7d3726f129cc14aa4 (patch) | |
tree | 0e71eac44262414d9760e1a584360536fe19564a /src/reducers | |
parent | 0ae39f1b67e269216ce3d45b870e448f6dbf21d7 (diff) |
move background actions to operations
Diffstat (limited to 'src/reducers')
-rw-r--r-- | src/reducers/background.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/reducers/background.js b/src/reducers/background.js index d7d7860..1bba13b 100644 --- a/src/reducers/background.js +++ b/src/reducers/background.js @@ -31,22 +31,6 @@ export default function reducer(state, action = {}, sender) { switch (action.type) { case actions.BACKGROUND_REQUEST_COMPLETIONS: return doCompletion(action.command, action.keywords, sender.tab.id); - case actions.TABS_CLOSE: - return tabs.closeTab(sender.tab.id); - case actions.TABS_REOPEN: - return tabs.reopenTab(); - case actions.TABS_PREV: - return tabs.selectPrevTab(sender.tab.index, action.count); - case actions.TABS_NEXT: - return tabs.selectNextTab(sender.tab.index, action.count); - case actions.TABS_RELOAD: - return tabs.reload(sender.tab, action.cache); - case actions.ZOOM_IN: - return zooms.zoomIn(); - case actions.ZOOM_OUT: - return zooms.zoomOut(); - case actions.ZOOM_NEUTRAL: - return zooms.neutral(); default: return Promise.resolve(); } |