Pepper_56_C_interfaces
Pepper_56_C_interfaces
|
#include <ppb_instance_private.h>
Public Attributes | |
struct PP_Var(* | GetWindowObject )(PP_Instance instance) |
struct PP_Var(* | GetOwnerElementObject )(PP_Instance instance) |
struct PP_Var(* | ExecuteScript )(PP_Instance instance, struct PP_Var script, struct PP_Var *exception) |
The PPB_Instance_Private interface contains functions available only to trusted plugin instances.
struct PP_Var(* PPB_Instance_Private_0_1::ExecuteScript)(PP_Instance instance, struct PP_Var script, struct PP_Var *exception) |
ExecuteScript is a pointer to a function that executes the given script in the context of the frame containing the module.
The exception, if any, will be returned in *exception. As with the PPB_Var interface, the exception parameter, if non-NULL, must be initialized to a "void" var or the function will immediately return. On success, the exception parameter will be set to a "void" var. On failure, the return value will be a "void" var.
[in] | script | A string containing the JavaScript to execute. |
in/out] | exception PP_Var containing the exception. Initialize this to NULL if you don't want exception info; initialize this to a void exception if want exception info. |
struct PP_Var(* PPB_Instance_Private_0_1::GetOwnerElementObject)(PP_Instance instance) |
GetOwnerElementObject is a pointer to a function that determines the DOM element containing this module instance.
[in] | instance | A PP_Instance whose WindowObject should be retrieved. |
struct PP_Var(* PPB_Instance_Private_0_1::GetWindowObject)(PP_Instance instance) |
GetWindowObject is a pointer to a function that determines the DOM window containing this module instance.
[in] | instance | A PP_Instance whose WindowObject should be retrieved. |