Pepper_47_C_interfaces
Public Attributes | List of all members
PPB_Instance_Private_0_1 Struct Reference

#include <ppb_instance_private.h>

Collaboration diagram for PPB_Instance_Private_0_1:
Collaboration graph

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)
 

Detailed Description

The PPB_Instance_Private interface contains functions available only to trusted plugin instances.

Definition at line 60 of file ppb_instance_private.h.

Member Data Documentation

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.

Parameters
[in]scriptA 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.
Returns
The result of the script execution, or a "void" var if execution failed.

Definition at line 95 of file ppb_instance_private.h.

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.

Parameters
[in]instanceA PP_Instance whose WindowObject should be retrieved.
Returns
A PP_Var containing DOM element on success.

Definition at line 76 of file ppb_instance_private.h.

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.

Parameters
[in]instanceA PP_Instance whose WindowObject should be retrieved.
Returns
A PP_Var containing window object on success.

Definition at line 68 of file ppb_instance_private.h.


The documentation for this struct was generated from the following file: