Bug 1468708 - Part 6. Move HTMLEditorCommands and HTMLEditorController to libeditor. r=masayuki

HTMLEditorController and HTMLEditorCommands is for execCommand, so we should
move from composer to libeditor since HTML editor code is in libeditor.

MozReview-Commit-ID: DEBoTqUsQnw

--HG--
rename : editor/composer/HTMLEditorCommands.cpp => editor/libeditor/HTMLEditorCommands.cpp
rename : editor/composer/HTMLEditorCommands.h => editor/libeditor/HTMLEditorCommands.h
rename : editor/composer/HTMLEditorController.cpp => editor/libeditor/HTMLEditorController.cpp
rename : editor/composer/HTMLEditorController.h => editor/libeditor/HTMLEditorController.h
rename : editor/composer/HTMLEditorDocumentCommands.cpp => editor/libeditor/HTMLEditorDocumentCommands.cpp
extra : rebase_source : 0b9627ac89803212da3377db3dfefedc3b57ce73
This commit is contained in:
Makoto Kato 2018-06-13 14:49:06 -07:00
parent 5c774c32b5
commit d7d2ea2a38
7 changed files with 5 additions and 5 deletions

View File

@ -16,17 +16,12 @@ XPIDL_MODULE = 'composer'
UNIFIED_SOURCES += [
'ComposerCommandsUpdater.cpp',
'HTMLEditorCommands.cpp',
'HTMLEditorController.cpp',
'HTMLEditorDocumentCommands.cpp',
'nsComposerRegistration.cpp',
'nsEditingSession.cpp',
]
EXPORTS.mozilla += [
'ComposerCommandsUpdater.h',
'HTMLEditorCommands.h',
'HTMLEditorController.h',
]
# Needed because we include HTMLEditor.h which indirectly includes nsDocument.h

View File

@ -23,6 +23,8 @@ EXPORTS.mozilla += [
'EditorUtils.h',
'EditTransactionBase.h',
'HTMLEditor.h',
'HTMLEditorCommands.h',
'HTMLEditorController.h',
'ManualNAC.h',
'SelectionState.h',
'TextEditor.h',
@ -48,7 +50,10 @@ UNIFIED_SOURCES += [
'HTMLAbsPositionEditor.cpp',
'HTMLAnonymousNodeEditor.cpp',
'HTMLEditor.cpp',
'HTMLEditorCommands.cpp',
'HTMLEditorController.cpp',
'HTMLEditorDataTransfer.cpp',
'HTMLEditorDocumentCommands.cpp',
'HTMLEditorEventListener.cpp',
'HTMLEditorObjectResizer.cpp',
'HTMLEditRules.cpp',