[Title] Fix keypad of previous tap issue
[Issue#] P130508-5405
[Problem] Keypad was opened when new tap was created.
[Cause] Web page of previous tap focus to edit field.
[Solution] Do not focus if ewkview has not visibility.
Change-Id: I47515a7a9c884e58f8e323bcaaa841a537caf086
impl->gestureClient->setTapEnabled(!wasHandled);
}
#if ENABLE(TIZEN_ISF_PORT)
- else {
+ else if (impl->pageProxy->isViewVisible()) {
IntPoint pointForHitTest = impl->transformFromScene().mapPoint(IntPoint(impl->touchDownPoint.x, impl->touchDownPoint.y));
WebHitTestResult::Data hitTestResultData = impl->pageProxy->hitTestResultAtPoint(pointForHitTest);
if (hitTestResultData.isContentEditable && impl->inputMethodContext()) {
m_pageClient->doneWithGestureEvent(event, handled);
#endif
#if ENABLE(TIZEN_ISF_PORT)
- if (type == WebEvent::GestureSingleTap)
+ if (m_isVisible && type == WebEvent::GestureSingleTap)
evas_object_focus_set(viewWidget(), true);
#endif
break;