gecko-dev/editor/libeditor
Masayuki Nakano 183c471149 Bug 1574852 - part 77: Move HTMLEditRules::WillIndent(), HTMLEditRules::WillHTMLIndent() and HTMLEditRules::WillCSSIndent() to HTMLEditor r=m_kato
The caller of `HTMLEditRules::WillDoAction()` is shared with "outdent".
Therefore, this patch is a preparation of makes `HTMLEditor` stop calling it.

Be aware, `HTMLEditRules::WillIndent()` won't cancel the action, and also
always handles the action unless editor has already been destroyed.  Therefore,
we can remove the dead code in `HTMLEditor::IndentOrOutdentAsSubAction()`
right now.

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

--HG--
extra : moz-landing-system : lando
2019-09-08 04:35:52 +00:00
..
crashtests Bug 1574544 - Remove now-unnecessary condition that makes the frame constructor get confused with editor anonymous nodes. r=mats 2019-08-19 12:16:28 +00:00
tests Bug 1579272 - Cleanup obviously fennec-centric test annotations; r=bc 2019-09-06 16:51:10 +00:00
ChangeAttributeTransaction.cpp
ChangeAttributeTransaction.h
ChangeStyleTransaction.cpp
ChangeStyleTransaction.h
CompositionTransaction.cpp Bug 1548389 - part 0: Wrap modifying text node in editor with particular methods r=m_kato 2019-07-22 03:53:29 +00:00
CompositionTransaction.h
CreateElementTransaction.cpp
CreateElementTransaction.h
CSSEditUtils.cpp
CSSEditUtils.h
DeleteNodeTransaction.cpp Bug 1548389 - part 1: Implement API to get/set unmask-range of password editor r=m_kato 2019-07-22 03:53:36 +00:00
DeleteNodeTransaction.h
DeleteRangeTransaction.cpp Bug 1548389 - part 0: Wrap modifying text node in editor with particular methods r=m_kato 2019-07-22 03:53:29 +00:00
DeleteRangeTransaction.h
DeleteTextTransaction.cpp Bug 1548389 - part 0: Wrap modifying text node in editor with particular methods r=m_kato 2019-07-22 03:53:29 +00:00
DeleteTextTransaction.h Bug 1548389 - part 0: Wrap modifying text node in editor with particular methods r=m_kato 2019-07-22 03:53:29 +00:00
EditAction.h Bug 1574852 - part 56: Merge HTMLEditRules::WillMakeList() and HTMLEditRules::WillMakeDefinitionList() and make HTMLEditor call it directly r=m_kato 2019-09-03 09:32:17 +00:00
EditActionListener.h
EditAggregateTransaction.cpp
EditAggregateTransaction.h
EditorBase.cpp Bug 1574852 - part 65: Move TextEditRules::CheckBidiLevelForDeletion() to EditorBase r=m_kato 2019-09-05 02:21:26 +00:00
EditorBase.h Bug 1574852 - part 65: Move TextEditRules::CheckBidiLevelForDeletion() to EditorBase r=m_kato 2019-09-05 02:21:26 +00:00
EditorCommands.cpp Bug 1574852 - part 52: Make HTMLEditRules::WillInsertParagraph() merged with HTMLEditor::InsertParagraphSeparatorAsSubAction() r=m_kato 2019-09-03 03:59:11 +00:00
EditorCommands.h 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
EditorController.cpp
EditorController.h
EditorDOMPoint.h Bug 1574852 - part 62: Move HTMLEditRules::TryToJoinBlocksWithTransaction() to HTMLEditor r=m_kato 2019-09-04 08:43:12 +00:00
EditorEventListener.cpp Bug 1565584: move nsIContentUtils::ContentIsDescendantOf to nsINode::IsInclusiveDescendantOf. r=smaug 2019-07-15 10:02:21 +02:00
EditorEventListener.h
EditorUtils.cpp Bug 1574852 - part 60: Move HTMLEditRules::MoveNodeSmart() and HTMLEditRules::MoveContents() to HTMLEditor r=m_kato 2019-09-04 03:32:26 +00:00
EditorUtils.h Bug 1574852 - part 75: Move HTMLEditRules::OutdentPartOfBlock() to HTMLEditor r=m_kato 2019-09-08 03:23:16 +00:00
EditTransactionBase.cpp
EditTransactionBase.h
HTMLAbsPositionEditor.cpp Bug 1572685 - part 11: Move HTMLEditRules::JoinOffset to EditorBase::EditSubActionData r=m_kato 2019-08-20 01:52:50 +00:00
HTMLAnonymousNodeEditor.cpp Bug 1556799 - Remove manual NAC as soon as parent chain changes. r=masayuki 2019-06-06 01:48:10 +00:00
HTMLEditor.cpp Bug 1574852 - part 71: Move HTMLEditRules::WillRemoveList() to HTMLEditor r=m_kato 2019-09-06 06:01:57 +00:00
HTMLEditor.h Bug 1574852 - part 77: Move HTMLEditRules::WillIndent(), HTMLEditRules::WillHTMLIndent() and HTMLEditRules::WillCSSIndent() to HTMLEditor r=m_kato 2019-09-08 04:35:52 +00:00
HTMLEditorCommands.cpp Bug 1574852 - part 71: Move HTMLEditRules::WillRemoveList() to HTMLEditor r=m_kato 2019-09-06 06:01:57 +00:00
HTMLEditorController.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-05-25 17:46:15 +00:00
HTMLEditorController.h
HTMLEditorDataTransfer.cpp Bug 1572685 - part 11: Move HTMLEditRules::JoinOffset to EditorBase::EditSubActionData r=m_kato 2019-08-20 01:52:50 +00:00
HTMLEditorDocumentCommands.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
HTMLEditorEventListener.cpp
HTMLEditorEventListener.h
HTMLEditorObjectResizer.cpp
HTMLEditRules.cpp Bug 1574852 - part 77: Move HTMLEditRules::WillIndent(), HTMLEditRules::WillHTMLIndent() and HTMLEditRules::WillCSSIndent() to HTMLEditor r=m_kato 2019-09-08 04:35:52 +00:00
HTMLEditRules.h Bug 1574852 - part 77: Move HTMLEditRules::WillIndent(), HTMLEditRules::WillHTMLIndent() and HTMLEditRules::WillCSSIndent() to HTMLEditor r=m_kato 2019-09-08 04:35:52 +00:00
HTMLEditUtils.cpp Bug 1569902 - part 2: Stop using attribute to consider whether a <br> element is a special node for empty last line or not r=m_kato,smaug 2019-08-02 05:45:18 +00:00
HTMLEditUtils.h Bug 1574852 - part 68: Make HTMLEditRules::GetDefinitionListItemTypes() to a stack class r=m_kato 2019-09-06 04:32:36 +00:00
HTMLInlineTableEditor.cpp
HTMLStyleEditor.cpp Bug 1572685 - part 11: Move HTMLEditRules::JoinOffset to EditorBase::EditSubActionData r=m_kato 2019-08-20 01:52:50 +00:00
HTMLTableEditor.cpp Bug 1572685 - part 11: Move HTMLEditRules::JoinOffset to EditorBase::EditSubActionData r=m_kato 2019-08-20 01:52:50 +00:00
InsertNodeTransaction.cpp Bug 1548389 - part 1: Implement API to get/set unmask-range of password editor r=m_kato 2019-07-22 03:53:36 +00:00
InsertNodeTransaction.h
InsertTextTransaction.cpp Bug 1548389 - part 0: Wrap modifying text node in editor with particular methods r=m_kato 2019-07-22 03:53:29 +00:00
InsertTextTransaction.h
InternetCiter.cpp
InternetCiter.h
JoinNodeTransaction.cpp Bug 1548389 - part 0: Wrap modifying text node in editor with particular methods r=m_kato 2019-07-22 03:53:29 +00:00
JoinNodeTransaction.h
ManualNAC.h Bug 1556799 - Remove manual NAC as soon as parent chain changes. r=masayuki 2019-06-06 01:48:10 +00:00
moz.build Bug 1574852 - part 65: Move TextEditRules::CheckBidiLevelForDeletion() to EditorBase r=m_kato 2019-09-05 02:21:26 +00:00
nsIAbsorbingTransaction.h
PlaceholderTransaction.cpp
PlaceholderTransaction.h
SelectionState.cpp Bug 1562876: rename Selection::AddRange to Selection::AddRangeAndSelectFramesAndNotifyListeners. r=smaug 2019-07-03 13:26:13 +02:00
SelectionState.h Bug 1574852 - part 67-5: Rewrite HTMLEditRules::HandleDeleteNonCollapsedSelection() with EditorDOMPoint r=m_kato 2019-09-06 00:59:32 +00:00
SplitNodeTransaction.cpp Bug 1548389 - part 0: Wrap modifying text node in editor with particular methods r=m_kato 2019-07-22 03:53:29 +00:00
SplitNodeTransaction.h
TextEditor.cpp Bug 1575584: prevent reading uninitialized variable in TextEditor::ComputeValueInternal. r=masayuki 2019-08-23 09:25:00 +00:00
TextEditor.h Bug 1572685 - part 9: Move HTMLEditRules::mDocChangeRange to TopLevelEditSubActionData r=m_kato 2019-08-20 01:51:59 +00:00
TextEditorDataTransfer.cpp Bug 1569262 - Rename nsIDocShellTreeItem::GetRootTreeItem to GetInProcessRootTreeItem for Fission marking. r=nika 2019-08-07 19:24:00 +00:00
TextEditRules.cpp Bug 1574852 - part 65: Move TextEditRules::CheckBidiLevelForDeletion() to EditorBase r=m_kato 2019-09-05 02:21:26 +00:00
TextEditRules.h Bug 1574852 - part 65: Move TextEditRules::CheckBidiLevelForDeletion() to EditorBase r=m_kato 2019-09-05 02:21:26 +00:00
TextEditUtils.cpp Bug 1569902 - part 2: Stop using attribute to consider whether a <br> element is a special node for empty last line or not r=m_kato,smaug 2019-08-02 05:45:18 +00:00
TextEditUtils.h Bug 1569902 - part 2: Stop using attribute to consider whether a <br> element is a special node for empty last line or not r=m_kato,smaug 2019-08-02 05:45:18 +00:00
TypeInState.cpp Bug 1572685 - part 8: Move HTMLEditRules::mCachedStyles to TopLevelEditSubAction r=m_kato 2019-08-20 01:51:36 +00:00
TypeInState.h Bug 1572685 - part 8: Move HTMLEditRules::mCachedStyles to TopLevelEditSubAction r=m_kato 2019-08-20 01:51:36 +00:00
WSRunObject.cpp Bug 1574852 - part 62: Move HTMLEditRules::TryToJoinBlocksWithTransaction() to HTMLEditor r=m_kato 2019-09-04 08:43:12 +00:00
WSRunObject.h Bug 1574852 - part 62: Move HTMLEditRules::TryToJoinBlocksWithTransaction() to HTMLEditor r=m_kato 2019-09-04 08:43:12 +00:00