Pepper_47_C++_interfaces
|
#include <extension_system_samsung.h>
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... | |
Definition at line 18 of file extension_system_samsung.h.
|
explicitprotected |
A constructor for creating a ExtensionSystemSamsung
.
[in] | instance | The instance with which this resource will be associated. |
Definition at line 22 of file extension_system_samsung.cc.
|
protected |
Destructor.
Definition at line 25 of file extension_system_samsung.cc.
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.
[in] | operation_name | The name of operation to execute. |
[in] | operation_data | Additional 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().