gecko-dev/editor/composer
Masayuki Nakano 52cffc3290 Bug 1447924 - part 7: Implement AddTransactionListener() and RemoveTransactionListener() in EditorBase and TransactionManager r=m_kato
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
2018-03-23 18:55:56 +09:00
..
crashtests Bug 1345253 - Use element.firstChild.remove() instead of element.removeChild(element.firstChild), r=jaws. 2017-03-08 10:17:52 +01:00
res Bug 1355734 - Remove text-decoration-line: -moz-anchor-decoration. r=heycam,masayuki 2017-04-13 16:17:03 +08:00
test Bug 1442500 - Part 3. Move spellchecker tests to editor/spellchecker. r=masayuki 2018-03-02 12:57:54 +09:00
ComposerCommandsUpdater.cpp Bug 1447924 - part 4: Optimize NumbeOfUndoItems(), NumbeOfRedoItems(), CanUndo() and CanRedo() of EditorBase r=m_kato 2018-03-23 00:08:38 +09:00
ComposerCommandsUpdater.h Bug 1433345 - part 4: Make EditorBase derived from nsISelectionListener and notify its owning classes of selection change r=m_kato 2018-01-26 17:25:45 +09:00
moz.build Bug 1442500 - Part 2. Move some spellchecker source files in /editor/composer to /editor/spellchecker. r=masayuki 2018-03-02 12:56:44 +09:00
nsComposerCommands.cpp Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8 2018-02-12 15:44:40 -05:00
nsComposerCommands.h Bug 1436263 - Part 3: Remove virtual from final virtual function declarations. r=froydnj 2018-02-08 21:22:43 -08:00
nsComposerController.cpp Bug 1297414 - Support execCommand("defaultParagraphSeparator"); r=masayuki 2017-04-04 13:47:28 +03:00
nsComposerController.h
nsComposerDocumentCommands.cpp Bug 1390428 (part 1) - Remove many nsXPIDLCString local variables. r=erahm. 2017-08-16 13:58:35 +10:00
nsComposerRegistration.cpp Bug 1430982 - part 6: Rename nsEditorSpellCheck to mozilla::EditorSpellCheck and expose its header r=m_kato 2018-01-18 21:01:13 +09:00
nsEditingSession.cpp Bug 1447924 - part 7: Implement AddTransactionListener() and RemoveTransactionListener() in EditorBase and TransactionManager r=m_kato 2018-03-23 18:55:56 +09:00
nsEditingSession.h Bug 1433345 - part 2: Make HTMLEditor store ComposerCommandsUpdater directly r=m_kato 2018-01-26 14:38:05 +09:00
nsIEditingSession.idl Bug 1388001 - part1: Create nsIEditingSession::GetHTMLEditorForWindow() r=smaug 2017-08-12 11:44:16 +09:00