gecko-dev/dom/xul
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 1573254: Part 2 - Update tests to await snapshotWindow when necessary. r=mccr8 2019-08-12 12:56:25 -07:00
XULBroadcastManager.cpp Bug 1540015 - part 1: Make Document.h stop including nsIPresShell.h r=smaug 2019-03-29 15:11:04 +00:00
XULBroadcastManager.h
XULFrameElement.cpp Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
XULFrameElement.h Bug 1555216 - Change the signature of BindToTree to be (BindContext&, nsINode& aParentNode). r=bzbarsky 2019-05-31 23:31:52 +02:00
XULMenuElement.cpp
XULMenuElement.h
XULPersist.cpp Bug 1573026 - Include missing header in XULPersist for old XUL store. r=smaug 2019-08-12 17:57:04 +00:00
XULPersist.h Bug 1547877 - enable configuration of new XULStore implementation r=mossop 2019-05-02 23:01:57 +00:00
XULPopupElement.cpp Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio 2019-04-04 00:19:48 +00:00
XULPopupElement.h
XULTextElement.cpp Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio 2019-04-04 00:19:48 +00:00
XULTextElement.h
XULTooltipElement.cpp
XULTooltipElement.h
XULTreeElement.cpp Bug 1555143 - Remove unused aDeep argument from UnbindFromTree. r=bzbarsky 2019-05-28 22:47:08 +00:00
XULTreeElement.h Bug 1555143 - Remove unused aDeep argument from UnbindFromTree. r=bzbarsky 2019-05-28 22:47:08 +00:00
moz.build Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie 2019-08-09 19:57:50 +00:00
nsIController.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsIControllers.idl Bug 1552795 - Remove all trailing whitespaces in idl files r=Ehsan 2019-05-22 22:37:14 +00:00
nsXULCommandDispatcher.cpp Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie 2019-08-09 19:57:50 +00:00
nsXULCommandDispatcher.h
nsXULContentSink.cpp Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie 2019-08-09 19:57:50 +00:00
nsXULContentSink.h Bug 1563405, part 2 - Use move refs for Push in nsXULContentSink. r=bzbarsky 2019-07-04 05:55:54 +00:00
nsXULContentUtils.cpp Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie 2019-08-09 19:57:50 +00:00
nsXULContentUtils.h
nsXULControllers.cpp
nsXULControllers.h
nsXULElement.cpp Bug 1550058: Move most keyboard shortcut handling out of XBL. r=masayuki 2019-09-06 17:10:40 +00:00
nsXULElement.h Bug 1577721 - Use AddListenerFor in nsXULElement::AfterSetAttr. r=bzbarsky 2019-09-02 10:43:43 +00:00
nsXULPopupListener.cpp Bug 1540990 - Get rid of unnecessary nsIPresShell.h inclusions r=emilio 2019-04-04 00:19:48 +00:00
nsXULPopupListener.h
nsXULPrototypeCache.cpp Bug 1517880 - Clean up the XUL Prototype a bit. r=smaug 2019-07-26 20:16:22 +00:00
nsXULPrototypeCache.h Bug 1546329 - Remove dead skins code. r=bzbarsky 2019-04-25 14:00:06 +02:00
nsXULPrototypeDocument.cpp Bug 1551344 - Part 1: Remove XULDocument code. r=smaug,Jamie 2019-08-09 19:57:50 +00:00
nsXULPrototypeDocument.h Bug 1551344 - Part 2: Update outdated comments referencing XULDocument. r=smaug 2019-08-09 17:47:41 +00:00
nsXULSortService.cpp
nsXULSortService.h