Pepper_47_C_interfaces
Public Attributes | List of all members
PPB_ExtensionSystem_Samsung_0_1 Struct Reference

#include <ppb_extension_system_samsung.h>

Collaboration diagram for PPB_ExtensionSystem_Samsung_0_1:
Collaboration graph

Public Attributes

struct PP_Var(* GetEmbedderName )(PP_Instance instance)
 
struct PP_Var(* GetCurrentExtensionInfo )(PP_Instance instance)
 
int32_t(* GenericSyncCall )(PP_Instance instance, struct PP_Var operation_name, struct PP_Var operation_argument, struct PP_Var *result)
 

Detailed Description

The PPB_ExtensionSystem_Samsung interface contains pointers to functions related to the extension system. The extension system can be different for each browser.

Definition at line 39 of file ppb_extension_system_samsung.h.

Member Data Documentation

int32_t(* PPB_ExtensionSystem_Samsung_0_1::GenericSyncCall)(PP_Instance instance, struct PP_Var operation_name, struct PP_Var operation_argument, struct PP_Var *result)

GenericSyncCall() executes operation associated with the current extension. The operation is synchronous and blocks the caller until completes. See embedder documentation to know what operations are possible.

Parameters
[in]instanceA PP_Instance identifying one instance of a module.
[in]operation_nameA string with name of operation to execute.
[in]operation_argumentA variable to be passed to embedder
[out]resultA variable containing result of execution (embedder defined).
Returns
An int32_t containing an error code from pp_errors.h.

Definition at line 78 of file ppb_extension_system_samsung.h.

struct PP_Var(* PPB_ExtensionSystem_Samsung_0_1::GetCurrentExtensionInfo)(PP_Instance instance)

GetCurrentExtensionInfo() gets dictionary with information for current extension. Keys and values of the dictionary are dependant on the embedder, and they can differ between embedders. If current embedder does not support extension system undefined value is returned.

Parameters
[in]instanceA PP_Instance identifying one instance of a module.
Returns
A PP_Var with information of current extension.

Definition at line 62 of file ppb_extension_system_samsung.h.

struct PP_Var(* PPB_ExtensionSystem_Samsung_0_1::GetEmbedderName)(PP_Instance instance)

GetEmbedderName() provides string with embedder name (embedder of current extension). "Chrome", "TizenWRT", "ExtensionEngine" are one of possible values.

Parameters
[in]instanceA PP_Instance identifying one instance of a module.
Returns
A PP_Var with name of extension embedder.

Definition at line 50 of file ppb_extension_system_samsung.h.


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