Pepper_56_C++_interfaces
Pepper_56_C++_interfaces
 All Classes Namespaces Files Functions Typedefs Enumerations Macros Groups
instance_private.h
Go to the documentation of this file.
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #ifndef PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_
6 #define PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_
7 
16 #include "ppapi/c/ppb_console.h"
17 #include "ppapi/cpp/instance.h"
18 
20 namespace pp {
21 
22 class Var;
23 class VarPrivate;
24 
25 class InstancePrivate : public Instance {
26  public:
27  explicit InstancePrivate(PP_Instance instance);
28  virtual ~InstancePrivate();
29 
30  // @{
32 
34  virtual Var GetInstanceObject();
35 
36  // @}
37 
38  // @{
40 
43 
46 
48  VarPrivate ExecuteScript(const Var& script, Var* exception = NULL);
49 
50  // @}
51 };
52 
53 } // namespace pp
54 
59 #endif // PPAPI_CPP_PRIVATE_INSTANCE_PRIVATE_H_
VarPrivate GetWindowObject()
See PPB_Instance_Private.GetWindowObject.
virtual Var GetInstanceObject()
See PPP_Instance_Private.GetInstanceObject.
Definition: instance_private.h:25
VarPrivate ExecuteScript(const Var &script, Var *exception=NULL)
See PPB_Instance.ExecuteScript.
VarPrivate GetOwnerElementObject()
See PPB_Instance_Private.GetOwnerElementObject.
A generic type used for passing data types between the module and the page.
Definition: var.h:23
Definition: instance.h:42
Definition: var_private.h:23