| Index: ppapi/cpp/instance.h
|
| ===================================================================
|
| --- ppapi/cpp/instance.h (revision 78988)
|
| +++ ppapi/cpp/instance.h (working copy)
|
| @@ -96,6 +96,16 @@
|
|
|
| /** See PPB_Instance.ExecuteScript. */
|
| Var ExecuteScript(const Var& script, Var* exception = NULL);
|
| +
|
| + // These functions use the PPP_Messaging and PPB_Messaging interfaces, so that
|
| + // messaging can be done conveniently for a pp::Instance without using a
|
| + // separate C++ class.
|
| +
|
| + /** See PPP_Messaging.HandleMessage. */
|
| + virtual void HandleMessage(const Var& message_data);
|
| + /** See PPB_Messaging.PostMessage. */
|
| + void PostMessage(const Var& message);
|
| +
|
| // @}
|
|
|
| /**
|
|
|