{
_WebImpl* pImpl = reinterpret_cast<_WebImpl*>(pUserData);
bool* pIsHandleNeeded = reinterpret_cast< bool* >(pEventInfo);
- SysAssertf(pImpl && pIsHandleNeeded, "Failed to request");
+ SysAssertf(pImpl, "Failed to request");
_Web* pWebCore = dynamic_cast< _Web* >(&(pImpl->GetCore()));
SysAssertf(pWebCore, "Failed to get Web core object");
- if (*pIsHandleNeeded)
+ if (pIsHandleNeeded && *pIsHandleNeeded)
{
pWebCore->SetFullScreenEntered(true);
}
if (pImpl->IsKeypadOpened() == true)
{
- pImpl->SetKeypadOpened(false);
+ pImpl->SetKeypadOpened(false);
}
}
__pSelectBox.reset();
+ Resume();
+
return E_SUCCESS;
}
std::unique_ptr<char[]> pText(_StringConverter::CopyToCharArrayN(text));
SysTryReturn(NID_WEB_CTRL, pText.get(), GetLastResult(), GetLastResult(), "[%s] Propagating.", GetErrorMessage(GetLastResult()));
+ Ewk_Settings* pSettings = ewk_view_settings_get(__pWebCore->GetWebNativeNode());
+ SysAssertf(pSettings, "Failed to get webkit instance.");
+ ewk_settings_clear_text_selection_automatically_set(pSettings, true);
+
switch (type)
{
case SEARCH_SYNC:
evas_object_smart_callback_del(pWebNativeNode, "geolocation,permission,request", OnGeolocationPermissionRequested);
- ewk_view_javascript_alert_callback_set(null, null, null);
- ewk_view_javascript_prompt_callback_set(null, null, null);
- ewk_view_javascript_confirm_callback_set(null, null, null);
+ ewk_view_javascript_alert_callback_set(pWebNativeNode, null, null);
+ ewk_view_javascript_prompt_callback_set(pWebNativeNode, null, null);
+ ewk_view_javascript_confirm_callback_set(pWebNativeNode, null, null);
evas_object_smart_callback_del(pWebNativeNode, "policy,response,decide", OnWebDataReceived);
{
Point absPoint( _CoordinateSystemUtils::ConvertToInteger(__pWebCore->GetAbsoluteCoordinate(startPoint)));
+ Ewk_Settings* pSettings = ewk_view_settings_get(__pWebCore->GetWebNativeNode());
+ SysAssertf(pSettings, "Failed to get webkit instance.");
+ ewk_settings_clear_text_selection_automatically_set(pSettings, true);
+
Eina_Bool ret = pSmartData->api->text_selection_down(pSmartData, absPoint.x, absPoint.y);
if (ret)
{
SysAssertf(pSettings, "Failed to get webkit instance.");
ewk_settings_clear_text_selection_automatically_set(pSettings, true);
- evas_object_focus_set(__pWebCore->GetWebNativeNode(), EINA_TRUE);
-
return false;
}
void
_WebImpl::OnUserEventReceivedN(RequestId requestId, Tizen::Base::Collection::IList* pArgs)
{
+ _ContainerImpl::OnUserEventReceivedN(requestId, pArgs);
+
switch (requestId)
{
case ID_CERTIFICATE_CONFIRM_POPUP_CLOSE:
default:
break;
}
+
+ Resume();
}
{
__pColorPicker.reset();
+ Resume();
+
return EINA_TRUE;
}
if (__pColorPicker)
{
__pColorPicker.reset();
+ Resume();
}
return r;
if (__pDatePicker)
{
__pDatePicker.reset();
+ Resume();
}
return r;