gecko-dev/dom/xul
Neil Deakin 8d3992adb0 Bug 1558520, rework remote controller to use JSWindowActor instead of having the browser have a controller, r=smaug
When searching for the controller for a command in nsWindowRoot::GetControllerForCommand, look for a focused browsing context instead and get the controller through the Controllers actor associated with that browsing context. When a command update occurs in a window in the child process, send the list of commands to the parent process along with the browsing context for that window. The parent will pass this information to the controllers actor. As long as we can get the right currently focused browsing context descendant, we can get the correct command state and invoke commands through the right actor.

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

--HG--
rename : toolkit/modules/RemoteController.jsm => toolkit/actors/ControllersParent.jsm
extra : moz-landing-system : lando
2020-03-12 16:47:57 +00:00
..
crashtests Bug 1595908, replace .xul test files in dom/ to .xhtml r=smaug 2019-11-27 15:39:16 +00:00
test Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop 2020-03-07 10:09:44 +00:00
ChromeObserver.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00
ChromeObserver.h Bug 1596709 - Move special chrome root element handling to an observer. r=smaug 2019-11-28 21:46:33 +00:00
moz.build Bug 1558520, rework remote controller to use JSWindowActor instead of having the browser have a controller, r=smaug 2020-03-12 16:47:57 +00:00
nsIBrowserController.idl Bug 1558520, rework remote controller to use JSWindowActor instead of having the browser have a controller, r=smaug 2020-03-12 16:47:57 +00:00
nsIController.idl
nsIControllers.idl
nsXULCommandDispatcher.cpp Bug 1535617: Part 2 - Clear weak references for most cycle collected objects on unlink. r=mccr8 2020-02-25 19:44:39 +00:00
nsXULCommandDispatcher.h
nsXULContentSink.cpp Bug 1602483 part 2. Add a window id argument to CheckLoadURIWithPrincipal. r=ckerschb 2019-12-12 16:41:19 +00:00
nsXULContentSink.h
nsXULContentUtils.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsXULContentUtils.h
nsXULControllers.cpp
nsXULControllers.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00
nsXULElement.cpp Bug 1616964 - Remove support for "loadAsInteractiveData" in XMLDocument r=smaug 2020-02-24 17:46:04 +00:00
nsXULElement.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00
nsXULPopupListener.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsXULPopupListener.h
nsXULPrototypeCache.cpp Bug 1617628 - Hide nsBaseHashtable Put overloads in nsRefPtrHashtable subclass. r=froydnj 2020-02-25 17:03:36 +00:00
nsXULPrototypeCache.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsXULPrototypeDocument.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsXULPrototypeDocument.h
nsXULSortService.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
nsXULSortService.h
XULBroadcastManager.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00
XULBroadcastManager.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00
XULFrameElement.cpp Bug 1571066: Return WindowProxyHolder from nsDocShell::GetWindowProxy. r=peterv 2019-11-12 08:32:09 +00:00
XULFrameElement.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00
XULMenuElement.cpp
XULMenuElement.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00
XULPersist.cpp Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00
XULPersist.h
XULPopupElement.cpp
XULPopupElement.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00
XULTextElement.cpp
XULTextElement.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00
XULTooltipElement.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
XULTooltipElement.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00
XULTreeElement.cpp
XULTreeElement.h Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/xul. r=smaug 2020-02-20 15:54:52 +00:00