зеркало из https://github.com/mozilla/gecko-dev.git
1abcb1c46b
Headers in editor module has a lot of forward declarations for avoiding the include hell and has a lot of helper template classes. Forward declarations of template classes is really messy and I'd want to avoid the duplication because it blocks changing template class. Therefore, centralizing forward declarations makes the headers cleaner and maintaining template classes easier. Therefore, this patch adds a new header file which has only forward declarations and some aliases. It'd be better to define `enum class`es in it like `EventForwards.h` for reducing the dependencies between headers, but currently this does not do it for making the new file simpler as far as possible. Removing `EditActionListener.h` is because it's unused. Removing `AutoTopLevelEditSubActionNotifier` is because it's renamed to `AutoEditSubActionNotifier`. https://hg.mozilla.org/mozilla-central/rev/6de55c5b5f8d5f92389d0d244d2bced1f979ade9 Differential Revision: https://phabricator.services.mozilla.com/D143817 |
||
---|---|---|
.. | ||
composer | ||
docs | ||
libeditor | ||
reftests | ||
spellchecker | ||
txmgr | ||
AsyncSpellCheckTestHelper.jsm | ||
moz.build | ||
nsIDocumentStateListener.idl | ||
nsIEditActionListener.idl | ||
nsIEditor.idl | ||
nsIEditorMailSupport.idl | ||
nsIEditorSpellCheck.idl | ||
nsIHTMLAbsPosEditor.idl | ||
nsIHTMLEditor.idl | ||
nsIHTMLInlineTableEditor.idl | ||
nsIHTMLObjectResizer.idl | ||
nsITableEditor.idl |