Index: ppapi/cpp/instance.h |
=================================================================== |
--- ppapi/cpp/instance.h (revision 77426) |
+++ ppapi/cpp/instance.h (working copy) |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
@@ -72,6 +72,9 @@ |
/** See PPP_Instance.GetInstanceObject. */ |
virtual Var GetInstanceObject(); |
+ /** See PPP_Instance.HandleMessage. */ |
+ virtual void HandleMessage(const Var& message_data); |
polina
2011/03/17 02:59:28
This is called |message| in the C header. Would be
|
+ |
/** 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_Instance.PostMessage. */ |
+ void PostMessage(const Var& message); |
// @} |
/** |