diff options
| author | Jez Ng | 2013-03-02 22:55:33 -0500 |
|---|---|---|
| committer | Jez Ng | 2013-03-02 22:56:26 -0500 |
| commit | dede759242850108d862ce09a1906ade1991870d (patch) | |
| tree | a740255a9fa58f80f86dee24822148d42c843ef4 /background_scripts/main.coffee | |
| parent | 061d1b02f79c46461fd848703311864ca9cabbe9 (diff) | |
| parent | 5f8d7647d63e22ed530ef818d312941b9b0b677c (diff) | |
| download | vimium-dede759242850108d862ce09a1906ade1991870d.tar.bz2 | |
Merge remote-tracking branch 'deiga/float-tab' into HEAD
Conflicts:
background_scripts/commands.coffee
background_scripts/main.coffee
Diffstat (limited to 'background_scripts/main.coffee')
| -rw-r--r-- | background_scripts/main.coffee | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/background_scripts/main.coffee b/background_scripts/main.coffee index 5980e844..431d84be 100644 --- a/background_scripts/main.coffee +++ b/background_scripts/main.coffee @@ -222,6 +222,9 @@ BackgroundCommands = chrome.tabs.getSelected(null, (tab) -> chrome.tabs.duplicate(tab.id) selectionChangedHandlers.push(callback)) + moveTabToNewWindow: (callback) -> + chrome.tabs.getSelected(null, (tab) -> + chrome.windows.create({tabId: tab.id})) nextTab: (callback) -> selectTab(callback, "next") previousTab: (callback) -> selectTab(callback, "previous") firstTab: (callback) -> selectTab(callback, "first") |
