Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(233)

Unified Diff: ppapi/cpp/instance.h

Issue 6716005: A proposal and implementation for an initial postMessage interface. These in... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/cpp/instance.h
===================================================================
--- ppapi/cpp/instance.h (revision 78988)
+++ ppapi/cpp/instance.h (working copy)
@@ -72,6 +72,9 @@
/** See PPP_Instance.GetInstanceObject. */
virtual Var GetInstanceObject();
+ /** See PPP_Messaging.HandleMessage. */
polina 2011/03/22 22:00:59 These deserve their own section if not a separate
dmichael(do not use this one) 2011/03/23 17:03:18 I moved them together with a sub-header comment.
+ virtual void HandleMessage(const Var& message_data);
+
/** See PPP_Instance.GetSelectedText. */
virtual Var GetSelectedText(bool html);
// @}
@@ -96,6 +99,9 @@
/** See PPB_Instance.ExecuteScript. */
Var ExecuteScript(const Var& script, Var* exception = NULL);
+
+ /** See PPB_Messaging.PostMessage. */
+ void PostMessage(const Var& message);
// @}
/**

Powered by Google App Engine
This is Rietveld 408576698