gecko-dev/editor/spellchecker
Masayuki Nakano 84cbc7e792 Bug 1529884 - part 6: Through subject principal at Document::ExecCommand() to constructor of EditorBase::AutoEditActionDataSetter r=smaug
`Document::ExecCommand()` knows subject principal.  This patch makes it tell
`EditorCommand::DoCommand()` and `EditorCommand::DoCommandParam()`.  Then,
makes they tell each editor public methods which may cause dispatching
`beforeinput` event once we implement it.  Finally, each editor public
method sets it to the constructor of `EditorBase::AutoEditActionDataSetter`.
This means that when editor tries to dispatch `beforeinput` event, editor
can check whether it's called by JS or not from everywhere.

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

--HG--
extra : moz-landing-system : lando
2019-06-10 10:27:07 +00:00
..
tests Bug 1556922. Stop using [array] in nsIEditorSpellCheck. r=masayuki 2019-06-05 04:07:28 +00:00
EditorSpellCheck.cpp Bug 1556922. Stop using [array] in nsIEditorSpellCheck. r=masayuki 2019-06-05 04:07:28 +00:00
EditorSpellCheck.h Bug 1502661 - Part 2. Add async method to check word by spellchecker. r=masayuki 2018-12-18 20:23:44 +09:00
FilteredContentIterator.cpp Bug 181137 - part 8: Make ContentIteratorBase and its subclasses non-refcountable r=smaug 2019-01-11 01:52:26 +00:00
FilteredContentIterator.h Bug 181137 - part 8: Make ContentIteratorBase and its subclasses non-refcountable r=smaug 2019-01-11 01:52:26 +00:00
TextServicesDocument.cpp Bug 1529884 - part 6: Through subject principal at Document::ExecCommand() to constructor of EditorBase::AutoEditActionDataSetter r=smaug 2019-06-10 10:27:07 +00:00
TextServicesDocument.h Bug 1543585 - Clean up finding words for spellchecker. r=masayuki 2019-04-12 03:54:18 +00:00
moz.build Bug 181137 - part 6: Make nsFilteredContentIterator not derived from nsIContentIterator r=smaug 2019-01-11 01:51:35 +00:00
nsComposeTxtSrvFilter.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsComposeTxtSrvFilter.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsIInlineSpellChecker.idl Bug 1557231. Stop using [array] in nsIInlineSpellChecker. r=masayuki 2019-06-06 06:59:37 +00:00