remove SetOwner() for popup
[framework/osp/web.git] / src / controls / FWebCtrl_Web.cpp
index 44a5586..74782d2 100755 (executable)
@@ -340,7 +340,6 @@ _Web::_Web(void)
        , __pPinchGestureHandler(null)
        , __gestureType(WEB_GESTURE_TYPE_TAP)
        , __edgeType(WEB_EDGE_NONE)
-       , __focus(false)
        , __pTextElement(null)
        , __previousTouchedPosition(0.0f, 0.0f)
 {
@@ -692,62 +691,6 @@ _Web::SetEdgeReachedEvent(_WebEdgeType type)
 }
 
 
-void
-_Web::SetFocusEnd(bool focus)
-{
-       __focus = focus;
-}
-
-
-bool
-_Web::IsFocusEnd(void)
-{
-       return __focus;
-}
-
-
-bool
-_Web::OnKeyPressed(const _Control& source, const _KeyInfo& keyInfo)
-{
-       _KeyCode keyCode = keyInfo.GetKeyCode();
-
-       if (IsFocusEnd() == true)
-       {
-               SetFocusEnd(false);
-               evas_object_focus_set(GetWebNativeNode(), EINA_FALSE);
-               return false;
-       }
-
-       switch(keyCode)
-       {
-       case _KEY_UP:
-       case _KEY_DOWN:
-               evas_object_focus_set(GetWebNativeNode(), EINA_FALSE);
-               return false;
-               break;
-       default:
-               break;
-       }
-
-       evas_object_focus_set(GetWebNativeNode(), EINA_TRUE);
-
-       return true;
-}
-
-
-bool
-_Web::OnKeyReleased(const _Control& source, const _KeyInfo& keyInfo)
-{
-       return false;
-}
-
-
-void
-_Web::OnDrawFocus(void)
-{
-}
-
-
 bool
 _Web::OnTouchPressed(const _Control& source, const _TouchInfo& touchInfo)
 {