diff options
| author | Stephen Blott | 2016-03-05 08:41:43 +0000 | 
|---|---|---|
| committer | Stephen Blott | 2016-03-05 08:41:45 +0000 | 
| commit | b883af74450faf3683b8077d6ba09864f5632b26 (patch) | |
| tree | a0148f4aa71bbea69dd7c0db7f138a695cc20c07 /background_scripts/commands.coffee | |
| parent | fbf7791894cb2708774e8870f623a8211e3a0790 (diff) | |
| download | vimium-b883af74450faf3683b8077d6ba09864f5632b26.tar.bz2 | |
Generalise topFrame commands.
This generalises the mechanism by which commands are always run in the
tab's main/top frame.  Currently, that's just the Vomnibar.
This is a precursor to moving other UI components to the main/top frame.
It should be fairly trivial to move the help page to the main frame.
The HUD might be trickier.
Mention: @mrmr1993.
Diffstat (limited to 'background_scripts/commands.coffee')
| -rw-r--r-- | background_scripts/commands.coffee | 14 | 
1 files changed, 7 insertions, 7 deletions
| diff --git a/background_scripts/commands.coffee b/background_scripts/commands.coffee index c13a09ba..55cb60d2 100644 --- a/background_scripts/commands.coffee +++ b/background_scripts/commands.coffee @@ -376,13 +376,13 @@ commandDescriptions =    moveTabLeft: ["Move tab to the left", { background: true, passCountToFunction: true }]    moveTabRight: ["Move tab to the right", { background: true, passCountToFunction: true  }] -  "Vomnibar.activate": ["Open URL, bookmark, or history entry", { noRepeat: true }] -  "Vomnibar.activateInNewTab": ["Open URL, bookmark, history entry, in a new tab", { noRepeat: true }] -  "Vomnibar.activateTabSelection": ["Search through your open tabs", { noRepeat: true }] -  "Vomnibar.activateBookmarks": ["Open a bookmark", { noRepeat: true }] -  "Vomnibar.activateBookmarksInNewTab": ["Open a bookmark in a new tab", { noRepeat: true }] -  "Vomnibar.activateEditUrl": ["Edit the current URL", { noRepeat: true }] -  "Vomnibar.activateEditUrlInNewTab": ["Edit the current URL and open in a new tab", { noRepeat: true }] +  "Vomnibar.activate": ["Open URL, bookmark, or history entry", { topFrame: true }] +  "Vomnibar.activateInNewTab": ["Open URL, bookmark, history entry, in a new tab", { topFrame: true }] +  "Vomnibar.activateTabSelection": ["Search through your open tabs", { topFrame: true }] +  "Vomnibar.activateBookmarks": ["Open a bookmark", { topFrame: true }] +  "Vomnibar.activateBookmarksInNewTab": ["Open a bookmark in a new tab", { topFrame: true }] +  "Vomnibar.activateEditUrl": ["Edit the current URL", { topFrame: true }] +  "Vomnibar.activateEditUrlInNewTab": ["Edit the current URL and open in a new tab", { topFrame: true }]    nextFrame: ["Cycle forward to the next frame on the page", { background: true, passCountToFunction: true }]    mainFrame: ["Select the tab's main/top frame", { background: true, noRepeat: true }] | 
