Pepper_47_C++_interfaces
|
#include <extension_system_samsung_tizen.h>
Public Member Functions | |
ExtensionSystemSamsungTizen (const InstanceHandle &instance) | |
~ExtensionSystemSamsungTizen () | |
Destructor. More... | |
bool | CheckPrivilege (const Var &privilege) |
bool | SetIMERecommendedWords (const Var &words) |
bool | SetIMERecommendedWordsType (bool should_enable) |
int32_t | GetWindowId () |
GetWindowId() returns the X window Id for the current window. More... | |
![]() | |
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) |
Additional Inherited Members | |
![]() | |
ExtensionSystemSamsung (const InstanceHandle &instance) | |
~ExtensionSystemSamsung () | |
Destructor. More... | |
Definition at line 18 of file extension_system_samsung_tizen.h.
|
explicit |
A constructor for creating a ExtensionSystemSamsung
.
[in] | instance | The instance with which this resource will be associated. |
Definition at line 15 of file extension_system_samsung_tizen.cc.
pp::ExtensionSystemSamsungTizen::~ExtensionSystemSamsungTizen | ( | ) |
Destructor.
Definition at line 19 of file extension_system_samsung_tizen.cc.
CheckPrivilege() returns true if the current extension has given privilege, false otherwise.
Definition at line 21 of file extension_system_samsung_tizen.cc.
References pp::Var::AsString(), pp::ExtensionSystemSamsung::GenericSyncCall(), and pp::Var::is_string().
int32_t pp::ExtensionSystemSamsungTizen::GetWindowId | ( | ) |
GetWindowId() returns the X window Id for the current window.
Definition at line 54 of file extension_system_samsung_tizen.cc.
References pp::Var::AsInt(), pp::ExtensionSystemSamsung::GenericSyncCall(), and pp::Var::is_number().
SetIMERecommendedWords() returns true if setting recommended words was successful, false otherwise.
[in] | words | Var containing std::string with words to set. |
Definition at line 37 of file extension_system_samsung_tizen.cc.
References pp::Var::AsBool(), pp::ExtensionSystemSamsung::GenericSyncCall(), and pp::Var::is_bool().
SetIMERecommendedWordsType() returns true if setting specified IME Recommended Words type was successful, false otherwise.
[in] | should_enable | bool indicating if IMERecommendedWordsType should be enabled or disabled. |
Definition at line 44 of file extension_system_samsung_tizen.cc.
References pp::Var::AsBool(), pp::ExtensionSystemSamsung::GenericSyncCall(), and pp::Var::is_bool().