mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-11 08:13:35 +00:00
98518a7159
`nsPICommandUpdater` is a scriptable interface, but nobody refers it from JS, and it's implemented only by `nsCommandManager`. Therefore, we can get rid of this interface. Additionally, `nsCommandManager::Init()` is called only by `nsDocShell`, which is the only instantiater of the class, and returns error only when given window is nullptr. Therefore, we can make the constructor take the window instead. Differential Revision: https://phabricator.services.mozilla.com/D25729 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
moz.build | ||
nsBaseCommandController.cpp | ||
nsBaseCommandController.h | ||
nsCommandManager.cpp | ||
nsCommandManager.h | ||
nsCommandParams.cpp | ||
nsCommandParams.h | ||
nsControllerCommandTable.cpp | ||
nsControllerCommandTable.h | ||
nsICommandManager.idl | ||
nsICommandParams.idl | ||
nsIControllerCommand.idl | ||
nsIControllerCommandTable.idl | ||
nsIControllerContext.idl |