Do not process smart zoom if page is not scalable.
authorEunmi Lee <eunmi15.lee@samsung.com>
Tue, 9 Jul 2013 04:33:03 +0000 (13:33 +0900)
committerEunmi Lee <eunmi15.lee@samsung.com>
Tue, 9 Jul 2013 04:33:24 +0000 (13:33 +0900)
[Title] Do not process smart zoom if page is not scalable.
[Issue#] N_SE-44944
[Problem] Page is scrolled by double-tap in the mobile news page.
[Cause] Smart zoom is performed even though page is not scalable.
[Solution] Do not process smart zoom if page is not scalable.

Change-Id: I133a0628c2b1cddd8f025d9f22148c08280eda8c

Source/WebKit2/UIProcess/API/efl/tizen/GestureClient.cpp

index 9386fdc..729bc25 100755 (executable)
@@ -316,7 +316,8 @@ void GestureClient::endDoubleTap(const IntPoint& position)
         return;
     }
 
-    m_smartZoom->start(position.x(), position.y());
+    if (pageClientImpl->userScalable())
+        m_smartZoom->start(position.x(), position.y());
 }
 
 void GestureClient::setZoomableArea(const IntPoint& target, const IntRect& area)