From 320dfd5419b4a7e676f8690a87b275b305440dc3 Mon Sep 17 00:00:00 2001 From: Stephen Blott Date: Sat, 27 Feb 2016 15:45:26 +0000 Subject: Key bindings; more remove legacy code. --- background_scripts/main.coffee | 9 --------- 1 file changed, 9 deletions(-) (limited to 'background_scripts') diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 1cb00a82..60c161f9 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -377,15 +377,6 @@ runBackgroundCommand = ({frameId, registryEntry, count}) -> else repeatFunction BackgroundCommands[registryEntry.command], count, 0, frameId -# -# Message all tabs. Args should be the arguments hash used by the Chrome sendRequest API. -# -sendRequestToAllTabs = (args) -> - chrome.windows.getAll({ populate: true }, (windows) -> - for window in windows - for tab in window.tabs - chrome.tabs.sendMessage(tab.id, args, null)) - openOptionsPageInNewTab = -> chrome.tabs.getSelected(null, (tab) -> chrome.tabs.create({ url: chrome.runtime.getURL("pages/options.html"), index: tab.index + 1 })) -- cgit v1.2.3