NPAPI:Pepper: Difference between revisions

403 bytes removed ,  29 October 2009
Line 181: Line 181:


Background
Background
All events to an untrusted Pepper module will arrive via NPHandleEvent?(). For the most part, think of this as NPHandleEvent?() as it appears in traditional NPAPI, but instead of recieving a void* package of blind data that must be type cast to an operating system specific event structure, Pepper's version of NPHandleEvent?() will recieve pointers to Pepper's platform independent NPEvent structure.


int16_t NPP_HandleEvent(NPP_Instance instance, const NPEvent *event)
int16_t NPP_HandleEvent(NPP_Instance instance, const NPEvent *event)
89

edits