From 367ffae6cc52e00e7ce00952e3c81484a651c8f4 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Sat, 31 Oct 2015 10:44:13 +0100 Subject: Add a _FINISHED event action callback We can then use this for JS to hook cleanups into place. --- include/dom/events/document_event.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/dom/events') diff --git a/include/dom/events/document_event.h b/include/dom/events/document_event.h index 060ad00..3842fd5 100644 --- a/include/dom/events/document_event.h +++ b/include/dom/events/document_event.h @@ -67,7 +67,8 @@ typedef void (*dom_default_action_callback)(struct dom_event *evt, void *pw); typedef enum { DOM_DEFAULT_ACTION_STARTED = 0, DOM_DEFAULT_ACTION_PREVENTED, - DOM_DEFAULT_ACTION_END + DOM_DEFAULT_ACTION_END, + DOM_DEFAULT_ACTION_FINISHED } dom_default_action_phase; /** -- cgit v1.2.3