Change-Id: Ib41c2429a74db99758a68cc2ca26fcd1bd935fb9
Signed-off-by: Seongjun Yim <se201.yim@samsung.com>
+ r = HidePopup();
+ SysTryReturnVoidResult(NID_WEB_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
+
switch (actionId)
{
case ID_BUTTON_AUTH_PROCESS:
switch (actionId)
{
case ID_BUTTON_AUTH_PROCESS:
-
- r = HidePopup();
- SysTryReturnVoidResult(NID_WEB_CTRL, r == E_SUCCESS, r, "[%s] Propagating.", GetErrorMessage(r));
r = pAuthPopup->Construct(host, realm, pAuthChallenge);
SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
r = pAuthPopup->Construct(host, realm, pAuthChallenge);
SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
__pAuthPopup = std::move(pAuthPopup);
__pAuthPopup = std::move(pAuthPopup);
- int modalResult = 0;
-
- r = __pAuthPopup->ShowAndWait(modalResult);
- SysTryCatch(NID_WEB_CTRL, r == E_SUCCESS, , r, "[%s] Propagating.", GetErrorMessage(r));
-
-CATCH:
- if (__pAuthPopup)
- {
- __pAuthPopup.reset();
- }
+ r = __pAuthPopup->ShowPopup();
+ SysTryReturn(NID_WEB_CTRL, r == E_SUCCESS, r, r, "[%s] Propagating.", GetErrorMessage(r));
if (IsVisible() == true)
{
pWebManager->SetActiveWeb(this);
if (IsVisible() == true)
{
pWebManager->SetActiveWeb(this);
- ewk_view_page_visibility_state_set(pWebview, EWK_PAGE_VISIBILITY_STATE_VISIBLE, false);
+ if (IsLoading())
+ {
+// ewk_view_page_visibility_state_set(pWebview, EWK_PAGE_VISIBILITY_STATE_VISIBLE, true);
+ }
+ else
+ {
+// ewk_view_page_visibility_state_set(pWebview, EWK_PAGE_VISIBILITY_STATE_VISIBLE, false);
+ }
}
else
{
pWebManager->RemoveActiveWeb(this);
}
else
{
pWebManager->RemoveActiveWeb(this);
- ewk_view_page_visibility_state_set(pWebview, EWK_PAGE_VISIBILITY_STATE_HIDDEN, false);
+ if (IsLoading())
+ {
+// ewk_view_page_visibility_state_set(pWebview, EWK_PAGE_VISIBILITY_STATE_HIDDEN, true);
+ }
+ else
+ {
+// ewk_view_page_visibility_state_set(pWebview, EWK_PAGE_VISIBILITY_STATE_HIDDEN, false);
+ }