Pepper_47_C++_interfaces
Public Member Functions | Protected Member Functions | List of all members
pp::ExtensionSystemSamsung Class Reference

#include <extension_system_samsung.h>

Inheritance diagram for pp::ExtensionSystemSamsung:
Inheritance graph
Collaboration diagram for pp::ExtensionSystemSamsung:
Collaboration graph

Public Member Functions

std::string GetEmbedderName () const
 GetEmbedderName() returns name of the extension system provider. More...
 
Var GetCurrentExtensionInfo ()
 
Var GenericSyncCall (const Var &operation_name, const Var &operation_data)
 

Protected Member Functions

 ExtensionSystemSamsung (const InstanceHandle &instance)
 
 ~ExtensionSystemSamsung ()
 Destructor. More...
 

Detailed Description

Definition at line 18 of file extension_system_samsung.h.

Constructor & Destructor Documentation

pp::ExtensionSystemSamsung::ExtensionSystemSamsung ( const InstanceHandle instance)
explicitprotected

A constructor for creating a ExtensionSystemSamsung.

Parameters
[in]instanceThe instance with which this resource will be associated.

Definition at line 22 of file extension_system_samsung.cc.

pp::ExtensionSystemSamsung::~ExtensionSystemSamsung ( )
protected

Destructor.

Definition at line 25 of file extension_system_samsung.cc.

Member Function Documentation

Var pp::ExtensionSystemSamsung::GenericSyncCall ( const Var operation_name,
const Var operation_data 
)

GenericSyncCall() communicates synchronously with extension system. The extension system will execute operation |operation_name| with provided arguments |operation_data|. See embedder documentation to know what operations are possible.

Parameters
[in]operation_nameThe name of operation to execute.
[in]operation_dataAdditional arguments for operation execution.

Definition at line 45 of file extension_system_samsung.cc.

References pp::PASS_REF, pp::InstanceHandle::pp_instance(), and pp::Var::pp_var().

Referenced by pp::ExtensionSystemSamsungTizen::CheckPrivilege(), pp::ExtensionSystemSamsungTizen::GetWindowId(), pp::ExtensionSystemSamsungTizen::SetIMERecommendedWords(), and pp::ExtensionSystemSamsungTizen::SetIMERecommendedWordsType().

Var pp::ExtensionSystemSamsung::GetCurrentExtensionInfo ( )

GetCurrentExtensionInfo() returns information about current extension. If browser does not support extension system, it will return undefined value.

Definition at line 36 of file extension_system_samsung.cc.

References pp::PASS_REF, and pp::InstanceHandle::pp_instance().

std::string pp::ExtensionSystemSamsung::GetEmbedderName ( ) const

GetEmbedderName() returns name of the extension system provider.

Definition at line 27 of file extension_system_samsung.cc.

References pp::Var::AsString(), pp::Var::is_string(), pp::PASS_REF, and pp::InstanceHandle::pp_instance().

Referenced by pp::ExtensionSystemSamsungWRT::IsValid().


The documentation for this class was generated from the following files: