diff options
| author | Stephen Blott | 2017-11-25 09:51:37 +0000 |
|---|---|---|
| committer | Stephen Blott | 2017-11-25 09:51:40 +0000 |
| commit | 32b13ea15381b288917811181ec9df1b45e4271a (patch) | |
| tree | f7e93a29a97030b29ddf7ed1b9b5be5bf4804dd1 /background_scripts/main.coffee | |
| parent | 16e147b976be187683ece3e28fbc8804c6b6d17c (diff) | |
| download | vimium-32b13ea15381b288917811181ec9df1b45e4271a.tar.bz2 | |
Remove background-page Clipboard operations.
These are no longer needed following #2601.
@mrmr1993... If these are ever needed again, then we can just revert
this commit (and make them background commands again).
Diffstat (limited to 'background_scripts/main.coffee')
| -rw-r--r-- | background_scripts/main.coffee | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 75b9dbd5..8220545d 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -221,8 +221,6 @@ BackgroundCommands = startTabIndex = Math.max 0, Math.min activeTabIndex, tabs.length - count chrome.tabs.remove (tab.id for tab in tabs[startTabIndex...startTabIndex + count]) restoreTab: mkRepeatCommand (request, callback) -> chrome.sessions.restore null, callback request - openCopiedUrlInCurrentTab: (request) -> TabOperations.openUrlInCurrentTab extend request, url: Clipboard.paste() - openCopiedUrlInNewTab: (request) -> @createTab extend request, url: Clipboard.paste() togglePinTab: ({tab}) -> chrome.tabs.update tab.id, {pinned: !tab.pinned} toggleMuteTab: toggleMuteTab moveTabLeft: moveTab @@ -438,8 +436,6 @@ sendRequestHandlers = chrome.tabs.create url: chrome.runtime.getURL("pages/options.html"), index: request.tab.index + 1 frameFocused: handleFrameFocused nextFrame: BackgroundCommands.nextFrame - copyToClipboard: Clipboard.copy.bind Clipboard - pasteFromClipboard: Clipboard.paste.bind Clipboard selectSpecificTab: selectSpecificTab createMark: Marks.create.bind(Marks) gotoMark: Marks.goto.bind(Marks) |
