summaryrefslogtreecommitdiff
path: root/widget
diff options
context:
space:
mode:
authorGaming4JC <g4jc@hyperbola.info>2020-01-07 08:27:34 -0500
committerGaming4JC <g4jc@hyperbola.info>2020-01-07 18:33:23 -0500
commitef2cd8749ff41c3d87a19b598d8d3be1430b75bf (patch)
tree3fda50cfd9bebaa0d02d8257a2eee18c8b636e2b /widget
parent2e3b937f4ee13e70584c881e0c65200e439ff7fa (diff)
downloaduxp-ef2cd8749ff41c3d87a19b598d8d3be1430b75bf.tar.gz
Bug 1322938 - Emit close event when HTMLDialogElement.prototype.close() is called.
Tag #1343
Diffstat (limited to 'widget')
-rw-r--r--widget/EventMessageList.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/widget/EventMessageList.h b/widget/EventMessageList.h
index 372ca90fbc..890a26dcdf 100644
--- a/widget/EventMessageList.h
+++ b/widget/EventMessageList.h
@@ -457,6 +457,9 @@ NS_EVENT_MESSAGE(eVisibilityChange)
// Details element events.
NS_EVENT_MESSAGE(eToggle)
+// Dialog element events.
+NS_EVENT_MESSAGE(eClose)
+
#ifdef UNDEF_NS_EVENT_MESSAGE_FIRST_LAST
#undef UNDEF_NS_EVENT_MESSAGE_FIRST_LAST
#undef NS_EVENT_MESSAGE_FIRST_LAST