-
commit-queue@webkit.org authored
https://bugs.webkit.org/show_bug.cgi?id=96657 Patch by Sami Kyostila <skyostil@chromium.org> on 2012-09-21 Reviewed by James Robinson. Add tests for ScrollingCoordinatorChromium. These tests mainly verify that fast (non-main thread) scrolling is enabled when necessary and that a proper compositing layer structure is created for fixed position and accelerated scrolling layers. Tests: ScrollingCoordinatorChromiumTest.fastScrollingByDefault ScrollingCoordinatorChromiumTest.fastScrollingForFixedPosition ScrollingCoordinatorChromiumTest.nonFastScrollableRegion ScrollingCoordinatorChromiumTest.wheelEventHandler ScrollingCoordinatorChromiumTest.touchOverflowScrolling * WebKit.gypi: * tests/ScrollingCoordinatorChromiumTest.cpp: Added. (WebKit): (MockWebViewClient): (ScrollingCoordinatorChromiumTest): (WebKit::ScrollingCoordinatorChromiumTest::ScrollingCoordinatorChromiumTest): (WebKit::ScrollingCoordinatorChromiumTest::createCompositedWebViewImpl): (WebKit::ScrollingCoordinatorChromiumTest::registerMockedHttpURLLoad): (WebKit::ScrollingCoordinatorChromiumTest::getRootScrollLayer): (WebKit::TEST_F): * tests/data/fixed_position.html: Added. * tests/data/non_fast_scrollable.html: Added. * tests/data/touch_overflow_scrolling.html: Added. * tests/data/wheel_event_handler.html: Added. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@129225 268f45cc-cd09-0410-ab3c-d52691b4dbfc
e4534296