From 6c6dc23f97f485fede0b8d91c06c37490f890320 Mon Sep 17 00:00:00 2001 From: Shin'ya Ueoka Date: Sat, 13 Oct 2018 22:27:58 +0900 Subject: Remove adjacenttab --- src/background/presenters/tab.js | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/background/presenters') 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); } -- cgit v1.2.3