Lines Matching refs:event_obj

904 static HRESULT call_cp_func(IDispatch *disp, DISPID dispid, HTMLEventObj *event_obj, VARIANT *retv)  in call_cp_func()  argument
911 if(event_obj) { in call_cp_func()
913 V_DISPATCH(&event_arg) = (IDispatch*)&event_obj->IHTMLEventObj_iface; in call_cp_func()
952 void call_event_handlers(HTMLDocumentNode *doc, HTMLEventObj *event_obj, EventTarget *event_target, in call_event_handlers() argument
977 event_obj->prevent_default = TRUE; in call_event_handlers()
994 V_DISPATCH(&arg) = (IDispatch*)event_obj; in call_event_handlers()
1009 event_obj->prevent_default = TRUE; in call_event_handlers()
1046 cp->data->pass_event_arg ? event_obj : NULL, &v); in call_event_handlers()
1053 event_obj->prevent_default = TRUE; in call_event_handlers()
1070 static void fire_event_obj(HTMLDocumentNode *doc, eventid_t eid, HTMLEventObj *event_obj, in fire_event_obj() argument
1093 window->event = event_obj ? &event_obj->IHTMLEventObj_iface : NULL; in fire_event_obj()
1104 call_event_handlers(doc, event_obj, &node->event_target, node->cp_container, eid, in fire_event_obj()
1109 if(!(event_info[eid].flags & EVENT_BUBBLE) || (event_obj && event_obj->cancel_bubble)) in fire_event_obj()
1121 if(!(event_info[eid].flags & EVENT_BUBBLE) || (event_obj && event_obj->cancel_bubble)) in fire_event_obj()
1133 … call_event_handlers(doc, event_obj, &node->event_target, node->cp_container, eid, in fire_event_obj()
1143 … call_event_handlers(doc, event_obj, &doc->node.event_target, &doc->basedoc.cp_container, eid, in fire_event_obj()
1154 if(event_obj && event_obj->prevent_default) in fire_event_obj()
1169 …hres = node->vtbl->handle_event(node, eid, event_obj ? event_obj->nsevent : NULL, &prevent_default… in fire_event_obj()
1171 if(FAILED(hres) || prevent_default || (event_obj && event_obj->cancel_bubble)) in fire_event_obj()
1187 if(prevent_default && event_obj && event_obj->nsevent) { in fire_event_obj()
1189 nsIDOMEvent_PreventDefault(event_obj->nsevent); in fire_event_obj()
1198 HTMLEventObj *event_obj = NULL; in fire_event() local
1207 event_obj = create_event(); in fire_event()
1209 if(!event_obj) in fire_event()
1212 hres = set_event_info(event_obj, node, eid, nsevent); in fire_event()
1214 IHTMLEventObj_Release(&event_obj->IHTMLEventObj_iface); in fire_event()
1219 fire_event_obj(doc, eid, event_obj, target, script_this); in fire_event()
1221 if(event_obj) in fire_event()
1222 IHTMLEventObj_Release(&event_obj->IHTMLEventObj_iface); in fire_event()
1227 HTMLEventObj *event_obj = NULL; in dispatch_event() local
1252 event_obj = unsafe_impl_from_IHTMLEventObj(event_iface); in dispatch_event()
1253 if(!event_obj) { in dispatch_event()
1261 if(event_obj) { in dispatch_event()
1262 hres = set_event_info(event_obj, node, eid, NULL); in dispatch_event()
1264 fire_event_obj(node->doc, eid, event_obj, node->nsnode, NULL); in dispatch_event()
1266 IHTMLEventObj_Release(&event_obj->IHTMLEventObj_iface); in dispatch_event()