ppp_message_handler.h File Reference

Include dependency graph for ppp_message_handler.h:

Data Structures

struct  PPP_MessageHandler
 The PPP_MessageHandler interface is implemented by the plugin if the plugin wants to receive messages from a thread other than the main Pepper thread, or if the plugin wants to handle blocking messages which JavaScript may send via postMessageAndAwaitResponse(). More...

Typedefs

typedef struct
PPP_MessageHandler 
PPP_MessageHandler

Detailed Description

This file defines the PPP_MessageHandler interface that plugins can implement and register using PPB_Messaging::RegisterMessageHandler in order to handle messages sent from JavaScript via postMessage() or postMessageAndAwaitResponse().