-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=90316 Patch by Yusuf Ozuysal <yusufo@google.com> on 2012-09-28 Reviewed by Adam Barth. Added doubleTapGesture implementation and hooked it to an already present function computeScaleAndScrollForHitRect. Added 2 new tests and changed one based on the new implementation. * src/WebViewImpl.cpp: (WebKit::WebViewImpl::WebViewImpl): (WebKit::WebViewImpl::handleGestureEvent): (WebKit::WebViewImpl::computeScaleAndScrollForHitRect): (WebKit::WebViewImpl::animateZoomAroundPoint): (WebKit::WebViewImpl::didCommitLoad): (WebKit::WebViewImpl::applyScrollAndScale): * src/WebViewImpl.h: (WebViewImpl): * tests/WebFrameTest.cpp: * tests/data/get_multiple_divs_for_auto_zoom_test.html: Added. * tests/data/get_scale_bounds_check_for_auto_zoom_test.html: Added. * tests/data/get_scale_for_auto_zoom_into_div_test.html: git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129928 268f45cc-cd09-0410-ab3c-d52691b4dbfc
f786cc57