diff options
author | Moonchild <moonchild@palemoon.org> | 2020-01-09 13:07:56 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-09 13:07:56 +0000 |
commit | 29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2 (patch) | |
tree | 3542eb0e53d20ba44a96a0b6a801d8a77ea8fb8f /xpfe | |
parent | d79cc5fb49131cba4ed1aa86bb13de468a718565 (diff) | |
parent | 52bda2a828364a9a2b3847a005587fa0ea952b30 (diff) | |
download | UXP-29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2.tar UXP-29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2.tar.gz UXP-29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2.tar.lz UXP-29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2.tar.xz UXP-29bf28ca34cb3061d2a6c38f60b01f2d7ca1e1e2.zip |
Merge pull request #1347 from g4jc/html5_dialog
Implement HMTL5 <dialog>
Diffstat (limited to 'xpfe')
-rw-r--r-- | xpfe/appshell/nsWebShellWindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xpfe/appshell/nsWebShellWindow.cpp b/xpfe/appshell/nsWebShellWindow.cpp index 288d94759..f703be728 100644 --- a/xpfe/appshell/nsWebShellWindow.cpp +++ b/xpfe/appshell/nsWebShellWindow.cpp @@ -323,7 +323,7 @@ nsWebShellWindow::RequestWindowClose(nsIWidget* aWidget) RefPtr<nsPresContext> presContext = presShell->GetPresContext(); nsEventStatus status = nsEventStatus_eIgnore; - WidgetMouseEvent event(true, eWindowClose, nullptr, + WidgetMouseEvent event(true, eClose, nullptr, WidgetMouseEvent::eReal); if (NS_SUCCEEDED(eventTarget->DispatchDOMEvent(&event, nullptr, presContext, &status)) && status == nsEventStatus_eConsumeNoDefault) @@ -759,7 +759,7 @@ bool nsWebShellWindow::ExecuteCloseHandler() contentViewer->GetPresContext(getter_AddRefs(presContext)); nsEventStatus status = nsEventStatus_eIgnore; - WidgetMouseEvent event(true, eWindowClose, nullptr, + WidgetMouseEvent event(true, eClose, nullptr, WidgetMouseEvent::eReal); nsresult rv = |