Closed
Bug 1504131
Opened 6 years ago
Closed 6 years ago
Remove DocumentResizeEventListener and ResizerMouseMotionListener
Categories
(Core :: DOM: Editor, enhancement)
Core
DOM: Editor
Tracking
()
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: masayuki, Assigned: masayuki)
Details
Attachments
(3 files)
DocumentResizeEventListener listens to resize events of window and ResizerMouseMotionListener listens to mousemove events for handling resizers.
Fortunately, they are enough simple and neither HTMLEditorEventListener nor EditorEventListener does not listen to the events. Therefore, we can move them into HTMLEditorEventListener.
Assignee | ||
Comment 1•6 years ago
|
||
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
DocumentResizeEventListener listens to only "resize" events of the window
and when it fired, it just calls HTMLEditor::RefreshResizers(). Fortunately,
neither EditorEventListener nor HTMLEditorEventListener listens to "resize"
events. Therefore, we can move this implementation into
HTMLEditorEventListener.
Assignee | ||
Comment 4•6 years ago
|
||
ResizerMouseMotionListener listens to "mousemove" events for resizers
or grabber to move absolutely position element and it calls only
HTMLEditor::MouseMove(). Fortunately, neither EditorEventListener not
HTMLEditorEventListener listens to "mousemove" events. Therefore, we
can use HTMLEditorEventListener instead.
Assignee | ||
Comment 5•6 years ago
|
||
Now, the header file is not necessary.
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/7160ca524bf0
part 1: Remove DocumentResizeEventListener r=m_kato
https://hg.mozilla.org/integration/autoland/rev/d0a8f3df072a
part 2: Remove ResizerMouseMotionListener r=m_kato
https://hg.mozilla.org/integration/autoland/rev/7be8263d44fd
part 3: Remove editor/libeditor/HTMLEditorObjectResizerUtils.h r=m_kato
Comment 7•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7160ca524bf0
https://hg.mozilla.org/mozilla-central/rev/d0a8f3df072a
https://hg.mozilla.org/mozilla-central/rev/7be8263d44fd
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in
before you can comment on or make changes to this bug.
Description
•