fix bug for selectbox, fullscreen issues
authorSeongjun Yim <se201.yim@samsung.com>
Tue, 22 Oct 2013 11:43:33 +0000 (20:43 +0900)
committerSeongjun Yim <se201.yim@samsung.com>
Tue, 22 Oct 2013 11:43:33 +0000 (20:43 +0900)
Change-Id: Ia9c50039c10ebecb594b958c5fea5838c5554370
Signed-off-by: Seongjun Yim <se201.yim@samsung.com>
src/controls/FWebCtrl_SelectBox.cpp
src/controls/FWebCtrl_WebImpl.cpp

index a129b40..ac80e60 100755 (executable)
@@ -487,6 +487,7 @@ _SelectBox::OnActionPerformed(const Control& source, int actionId)
                        SysAssertf(false, "Invalid Action ID");
                }
        }
+
        __pImpl->SendUserEvent(ID_USER_SCRIPT_SELECTBOX_CLOSE, null);
 }
 
@@ -517,7 +518,9 @@ _SelectBox::OnKeyReleased(Control& source, const KeyEventInfo& keyEventInfo)
                        {
                                ewk_view_popup_menu_select(__pWebView, __prevIndex);
                        }
-               }               
+               }
+
+               __pImpl->SendUserEvent(ID_USER_SCRIPT_SELECTBOX_CLOSE, null);
        }
 
        return false;
index b45a2e7..9150b0f 100755 (executable)
@@ -844,16 +844,12 @@ void
 OnFullScreenEntered(void* pUserData, Evas_Object* pView, void* pEventInfo)
 {
        _WebImpl* pImpl = reinterpret_cast<_WebImpl*>(pUserData);
-       bool* pIsHandleNeeded = reinterpret_cast< bool* >(pEventInfo);
        SysAssertf(pImpl, "Failed to request");
 
        _Web* pWebCore = dynamic_cast< _Web* >(&(pImpl->GetCore()));
        SysAssertf(pWebCore, "Failed to get Web core object");
 
-       if (pIsHandleNeeded && *pIsHandleNeeded)
-       {
-               pWebCore->SetFullScreenEntered(true);
-       }
+       pWebCore->SetFullScreenEntered(true);
 }