author | Marius Gedminas <marius@gedmin.as> |
Sun, 06 Jan 2013 22:24:13 -0500 | |
changeset 117885 | 0d16a92e1a4166d7328e6b50837b3215c8d8f8db |
parent 117884 | ef5b1c8bfd0a36360099a650b6c892678d16a5b6 |
child 117886 | aef27223779a07170808b7d0c06b659ca541e391 |
push id | 24129 |
push user | emorley@mozilla.com |
push date | Mon, 07 Jan 2013 16:11:21 +0000 |
treeherder | mozilla-central@c4966e14e726 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | gavin |
bugs | 364845 |
milestone | 20.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
--- a/browser/base/content/tabbrowser.xml +++ b/browser/base/content/tabbrowser.xml @@ -2528,16 +2528,31 @@ if (!aEvent.isTrusted) { // Don't let untrusted events mess with tabs. return; } if (aEvent.altKey) return; + if (aEvent.ctrlKey && aEvent.shiftKey && !aEvent.metaKey) { + switch (aEvent.keyCode) { + case aEvent.DOM_VK_PAGE_UP: + this.moveTabBackward(); + aEvent.stopPropagation(); + aEvent.preventDefault(); + return; + case aEvent.DOM_VK_PAGE_DOWN: + this.moveTabForward(); + aEvent.stopPropagation(); + aEvent.preventDefault(); + return; + } + } + // We need to take care of FAYT-watching as long as the findbar // isn't initialized. The checks on aEvent are copied from // _shouldFastFind (see findbar.xml). if (!gFindBarInitialized && !(aEvent.ctrlKey || aEvent.metaKey) && !aEvent.defaultPrevented) { let charCode = aEvent.charCode; if (charCode) {