diff options
author | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-10-13 22:27:58 +0900 |
---|---|---|
committer | Shin'ya Ueoka <ueokande@i-beam.org> | 2018-10-13 22:40:08 +0900 |
commit | 6c6dc23f97f485fede0b8d91c06c37490f890320 (patch) | |
tree | f1747c946de605744489c7bfb53c16829c41eda3 /src/background/presenters | |
parent | 8b72aac09af476e19da7e482e43769d47d1969b2 (diff) |
Remove adjacenttab
Diffstat (limited to 'src/background/presenters')
-rw-r--r-- | src/background/presenters/tab.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/background/presenters/tab.js b/src/background/presenters/tab.js index bacb644..69cae1c 100644 --- a/src/background/presenters/tab.js +++ b/src/background/presenters/tab.js @@ -85,18 +85,6 @@ export default class TabPresenter { return browser.tabs.setZoom(tabId, factor); } - async createAdjacent(url, { openerTabId, active }) { - let tabs = await browser.tabs.query({ - active: true, currentWindow: true - }); - return browser.tabs.create({ - url, - openerTabId, - active, - index: tabs[0].index + 1 - }); - } - onSelected(listener) { browser.tabs.onActivated.addListener(listener); } |