diff options
| author | Stephen Blott | 2016-02-27 15:45:26 +0000 |
|---|---|---|
| committer | Stephen Blott | 2016-03-05 05:37:40 +0000 |
| commit | 320dfd5419b4a7e676f8690a87b275b305440dc3 (patch) | |
| tree | ec969f400e7cbec6062ac04a3c0fba8c1461ef69 /background_scripts | |
| parent | d388eddd192d925cda43700d7090ce8d52499df0 (diff) | |
| download | vimium-320dfd5419b4a7e676f8690a87b275b305440dc3.tar.bz2 | |
Key bindings; more remove legacy code.
Diffstat (limited to 'background_scripts')
| -rw-r--r-- | background_scripts/main.coffee | 9 |
1 files changed, 0 insertions, 9 deletions
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 })) |
