Stop exposing `EditorUtils.h` and `HTMLEditUtils.h`
Categories
(Core :: DOM: Editor, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox107 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
References
(Blocks 1 open bug)
Details
Attachments
(7 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
They are designed for internal use in the editor module, but EditorBase.h
and HTMLEditor.h
depends on them, they are exposed for all. Now we can fix the dependence with some small fixes.
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Updated•2 years ago
|
Assignee | ||
Comment 1•2 years ago
|
||
Depends on D158483
Assignee | ||
Comment 2•2 years ago
|
||
Depends on D158631
Assignee | ||
Comment 3•2 years ago
|
||
They are used in public inline methods of HTMLEditor
. Therefore, they should
be defined in an exposed header file without other internal use things for the
editor module. Then, we can stop exposing HTMLEditHelpers.h
.
Depends on D158632
Assignee | ||
Comment 4•2 years ago
|
||
It's currently referred from outside only by TextServicesDocument.cpp
.
It's not under libeditor
but in the editor module. Therefore, let's allow
it to refer the header files under libeditor
directly. Then, we can stop
exposing HTMLEditUtils.h
.
Depends on D158633
Assignee | ||
Comment 5•2 years ago
|
||
It's the only method which is used outside of the editor module. Therefore,
we can stop exposing EditorUtils.h
later.
Depends on D158634
Assignee | ||
Comment 6•2 years ago
|
||
Depends on D158635
Assignee | ||
Comment 7•2 years ago
|
||
Depends on D158636
Pushed by masayuki@d-toybox.com: https://hg.mozilla.org/integration/autoland/rev/14ad86b372a2 part 1: Move some static inline methods of `HTMLEditor` to `HTMLEditUtils` r=m_kato https://hg.mozilla.org/integration/autoland/rev/402a1ce83820 part 2: Move some protected inline method definitions of `HTMLEditor` to non-exposed header r=m_kato https://hg.mozilla.org/integration/autoland/rev/4840feba9c48 part 3: Move definitions of `JoinNodesDirection` and `SplitNodeDirection` into a new exposed header file r=m_kato https://hg.mozilla.org/integration/autoland/rev/71af69b71841 part 4: Stop exposing `HTMLEditUtils.h` r=m_kato https://hg.mozilla.org/integration/autoland/rev/534a55ac55a7 part 5: Move `EditorUtils::MaskString` to `TextEditor` r=m_kato https://hg.mozilla.org/integration/autoland/rev/a5c78fe9d7a3 part 6: Stop exposting `EditorUtils.h` r=m_kato https://hg.mozilla.org/integration/autoland/rev/f29238d734d4 part 7: Stop exposting `CSSEditUtils.h` and `ChangeStyleTransaction.h` r=m_kato
Comment 9•2 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/14ad86b372a2
https://hg.mozilla.org/mozilla-central/rev/402a1ce83820
https://hg.mozilla.org/mozilla-central/rev/4840feba9c48
https://hg.mozilla.org/mozilla-central/rev/71af69b71841
https://hg.mozilla.org/mozilla-central/rev/534a55ac55a7
https://hg.mozilla.org/mozilla-central/rev/a5c78fe9d7a3
https://hg.mozilla.org/mozilla-central/rev/f29238d734d4
Description
•