From 24b2583de5ab74d9f05df544118e1dedcc47347b Mon Sep 17 00:00:00 2001 From: Eunmi Lee Date: Mon, 9 Sep 2013 11:19:34 +0900 Subject: [PATCH] Check double tap when minimum scale is changed in the didChangeContentsSize(). [Title] Check double tap when minimum scale is changed in the didChangeContentsSize(). [Issue#] N_SE-49523 [Problem] The tap is not recognized in the WebApp when we do tap twice quickly. [Cause] The two taps should be recognized correctly, but they are recognized as double tap when Web App does not set the user-scalable to 0 and minimum scale is not defined in the viewport meta tag. It is because the minimumScale value is calculated wrong only in the WVGA in this case. [Solution] Check double tap when minimum scale is changed in the didChangeContentsSize(). Change-Id: If3a7891b2dc5b48aea982d0de837bdc8fb9254f0 --- Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp index 666b7a2..51dc2f1 100755 --- a/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp +++ b/Source/WebKit2/UIProcess/API/efl/PageClientImpl.cpp @@ -709,6 +709,9 @@ void PageClientImpl::didChangeContentsSize(const WebCore::IntSize size) && fabs(m_viewportConstraints.initialScale - m_viewportConstraints.minimumScale) < numeric_limits::epsilon()) m_viewportConstraints.initialScale = minimumScale; m_viewportConstraints.minimumScale = minimumScale; +#if ENABLE(TIZEN_GESTURE) + m_viewImpl->setDoubleTapEnabled(userScalable()); +#endif } #else m_viewImpl->informContentsSizeChange(size); -- 2.7.4