-
commit-queue@webkit.org authored
[Chromium] Add method to WebViewImpl to extract zoom/scroll params for gesture events on touch devices https://bugs.webkit.org/show_bug.cgi?id=72909 Patch by Varun Jain <varunjain@google.com> on 2012-02-16 Reviewed by James Robinson. * src/WebViewImpl.cpp: (std): (WebKit): (WebKit::WebViewImpl::computeBlockBounds): (WebKit::WebViewImpl::widenRectWithinPageBounds): (WebKit::WebViewImpl::computeScaleAndScrollForHitRect): * src/WebViewImpl.h: (WebViewImpl): * tests/WebFrameTest.cpp: (WebKit): (WebKit::TEST_F): * tests/data/get_scale_for_auto_zoom_into_div_test.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108027 268f45cc-cd09-0410-ab3c-d52691b4dbfc
20508da7