gecko-dev/dom/xbl
Dave Townsend df895249c6 Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki
Most of our keyboard shortcut handling is handled by nsXBLWindowKeyHandler along
with nsXBLPrototypeHandler. With the impending removal of XBL this needs to
change.

This patch moves nsXBLWindowKeyHandler to dom/events/GlobalKeyListener and copies
nsXBLPrototypeHandler to dom/events/KeyEventHandler. Windows, text elements and
XUL <keyset> are changed to use the new copies and anything unnecessary for
those is stripped out.

XBL handler elements still remain using the existing nsXBLPrototypeHandler path.
Some of the code is ripped out there to make it compile. There is probably a
lot more that can be removed but since the whole of XBL is likely gone soon I'm
not sure it is worth cleaning that up much.

Differential Revision: https://phabricator.services.mozilla.com/D42336

--HG--
rename : dom/xbl/nsXBLWindowKeyHandler.cpp => dom/events/GlobalKeyListener.cpp
rename : dom/xbl/nsXBLWindowKeyHandler.h => dom/events/GlobalKeyListener.h
rename : dom/xbl/nsXBLPrototypeHandler.cpp => dom/events/KeyEventHandler.cpp
rename : dom/xbl/nsXBLPrototypeHandler.h => dom/events/KeyEventHandler.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForBrowserCommon.h => dom/events/ShortcutKeyDefinitionsForBrowserCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForEditorCommon.h => dom/events/ShortcutKeyDefinitionsForEditorCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForInputCommon.h
rename : dom/xbl/builtin/ShortcutKeyDefinitionsForInputCommon.h => dom/events/ShortcutKeyDefinitionsForTextAreaCommon.h
rename : dom/xbl/builtin/ShortcutKeys.cpp => dom/events/ShortcutKeys.cpp
rename : dom/xbl/builtin/ShortcutKeys.h => dom/events/ShortcutKeys.h
rename : dom/xbl/builtin/android/ShortcutKeyDefinitions.cpp => dom/events/android/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/android/moz.build
rename : dom/xbl/builtin/emacs/ShortcutKeyDefinitions.cpp => dom/events/emacs/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/emacs/moz.build
rename : dom/xbl/builtin/mac/ShortcutKeyDefinitions.cpp => dom/events/mac/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/mac/moz.build
rename : dom/xbl/builtin/unix/ShortcutKeyDefinitions.cpp => dom/events/unix/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/unix/moz.build
rename : dom/xbl/builtin/win/ShortcutKeyDefinitions.cpp => dom/events/win/ShortcutKeyDefinitions.cpp
rename : dom/xbl/builtin/android/moz.build => dom/events/win/moz.build
extra : moz-landing-system : lando
2019-09-06 17:10:40 +00:00
..
crashtests Bug 1557371 - Part 2 - Load all XUL crashtests with chrome privilege. r=dbaron 2019-07-09 19:40:42 +00:00
test Bug 1551320 - Replace all CreateElement calls in XUL documents with CreateXULElement. r=mossop 2019-05-20 16:50:28 +00:00
moz.build Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki 2019-09-06 17:10:40 +00:00
nsBindingManager.cpp Bug 1547621 - Move all inline methods of nsIPresShell into mozilla::PresShell r=smaug 2019-04-30 01:52:53 +00:00
nsBindingManager.h Bug 1546329 - Remove dead skins code. r=bzbarsky 2019-04-25 14:00:06 +02:00
nsXBLBinding.cpp Bug 1573938 - Never collect wrapper JSObjects when recording/replaying, r=mccr8. 2019-08-16 20:51:12 +00:00
nsXBLBinding.h Bug 1546046 - Remove support for XBL resources. r=TYLin 2019-04-23 16:43:15 +00:00
nsXBLContentSink.cpp Backed out 2 changesets (bug 1558915) for causing bustages. CLOSED TREE 2019-08-02 12:17:42 +03:00
nsXBLContentSink.h Bug 1546046 - Remove support for XBL resources. r=TYLin 2019-04-23 16:43:15 +00:00
nsXBLDocumentInfo.cpp Bug 1546046 - Remove support for XBL resources. r=TYLin 2019-04-23 16:43:15 +00:00
nsXBLDocumentInfo.h Bug 1546046 - Remove support for XBL resources. r=TYLin 2019-04-23 16:43:15 +00:00
nsXBLEventHandler.cpp
nsXBLEventHandler.h
nsXBLMaybeCompiled.h Bug 1547782 - Implement GCPolicy<T>::isValid for Gecko specializations r=jonco 2019-04-30 21:48:32 +00:00
nsXBLProtoImpl.cpp
nsXBLProtoImpl.h
nsXBLProtoImplField.cpp
nsXBLProtoImplField.h
nsXBLProtoImplMember.h
nsXBLProtoImplMethod.cpp
nsXBLProtoImplMethod.h
nsXBLProtoImplProperty.cpp
nsXBLProtoImplProperty.h
nsXBLPrototypeBinding.cpp Bug 1517880 - Clean up the XUL Prototype a bit. r=smaug 2019-07-26 20:16:22 +00:00
nsXBLPrototypeBinding.h Bug 1546046 - Remove support for XBL resources. r=TYLin 2019-04-23 16:43:15 +00:00
nsXBLPrototypeHandler.cpp Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki 2019-09-06 17:10:40 +00:00
nsXBLPrototypeHandler.h Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki 2019-09-06 17:10:40 +00:00
nsXBLSerialize.cpp
nsXBLSerialize.h Bug 1546046 - Remove support for XBL resources. r=TYLin 2019-04-23 16:43:15 +00:00
nsXBLService.cpp Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki 2019-09-06 17:10:40 +00:00
nsXBLService.h Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki 2019-09-06 17:10:40 +00:00
XBLChildrenElement.cpp
XBLChildrenElement.h