зеркало из https://github.com/mozilla/gecko-dev.git
82358b9f2e
nsIEditActionListener::WillCreateElement() and nsIEditActionListener::DidCreateElement() are implemented only by m-c. So, we can remove a set of container node and offset in it from their argument. Instead, WillCreateElement() should take a node which will be next sibling of the new node. Note that only implementation of them is, HTMLEditRules::DidCreateElement(). So, we can get rid of them and can call HTMLEditRules::DidCreateElement() directly from EditorBase::CreateNode(). However, such change should be done in another bug which checks all nsIEditActionListener method implementations. MozReview-Commit-ID: 4LQEs2WwrVC --HG-- extra : rebase_source : ee1bee1413c578b2873a291c712b8ef46221db0f |
||
---|---|---|
.. | ||
moz.build | ||
nsFilteredContentIterator.cpp | ||
nsFilteredContentIterator.h | ||
nsIInlineSpellChecker.idl | ||
nsISpellChecker.h | ||
nsITextService.h | ||
nsITextServicesDocument.h | ||
nsITextServicesFilter.idl | ||
nsTextServicesCID.h | ||
nsTextServicesDocument.cpp | ||
nsTextServicesDocument.h | ||
nsTextServicesFactory.cpp |