, __pPinchGestureHandler(null)
, __gestureType(WEB_GESTURE_TYPE_TAP)
, __edgeType(WEB_EDGE_NONE)
- , __focus(false)
, __pTextElement(null)
, __previousTouchedPosition(0.0f, 0.0f)
{
}
-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();
- Evas* pEvas = evas_object_evas_get(GetWebNativeNode());
-
- 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)
{