Closed Bug 1485929 Opened 6 years ago Closed 6 years ago

Split HTMLEditor::RefreshInlineTableEditingUI() for internal use

Categories

(Core :: DOM: Editor, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla64
Tracking Status
firefox63 --- wontfix
firefox64 --- fixed

People

(Reporter: masayuki, Assigned: masayuki)

References

Details

Attachments

(1 file)

      No description provided.
Priority: -- → P3
HTMLEditor::RefreshInlineTableEditingUI() is an XPCOM method.  Therefore,
we should create a non-virtual method for internal use.

Additionally, this patch makes related methods safer for nested calls of
ShowInlineTableEditingUI() and HideInlineTableEditingUI().  If
ShowInlineTableEditingUI() and RefreshInlineTableEditingUIInternal() detects
hiding or replacing current UI, they return error to make the callers stop
handling anything for new UI.
Comment on attachment 9007769 [details]
Bug 1485929 - Create HTMLEditor::RefreshInlineTableEditingUIInternal() for internal use

Makoto Kato [:m_kato] has approved the revision.
Attachment #9007769 - Flags: review+
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/acbe78a8fb89
Create HTMLEditor::RefreshInlineTableEditingUIInternal() for internal use r=m_kato
https://hg.mozilla.org/mozilla-central/rev/acbe78a8fb89
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: