mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
52cffc3290
nsITransactionListener::AddListener() and nsITransactionListener::RemoveListener() are of course virtual methods. Additionally, they are safe to call without grabbing the TransactionManager's instance with local variable. Therefore, if EditorBase has methods to add/remove transaction listener to/from its transaction manager, we don't need EditorBase::GetTransactionManager() anymore. So, this patch adds AddTransactionListener() and RemoveTransactionListener() to EditorBase and TransactionManager, and remove EditorBase::GetTransactionManager() (not nsIEditor's one). MozReview-Commit-ID: FkPa1YgfagD --HG-- extra : rebase_source : 8ef7796136804e3d7604c5ca5417fb3379606b93 |
||
---|---|---|
.. | ||
crashtests | ||
res | ||
test | ||
ComposerCommandsUpdater.cpp | ||
ComposerCommandsUpdater.h | ||
moz.build | ||
nsComposerCommands.cpp | ||
nsComposerCommands.h | ||
nsComposerController.cpp | ||
nsComposerController.h | ||
nsComposerDocumentCommands.cpp | ||
nsComposerRegistration.cpp | ||
nsEditingSession.cpp | ||
nsEditingSession.h | ||
nsIEditingSession.idl |