• tonikitoo@webkit.org's avatar
    [BlackBerry] Implement a top-down in-region boundary detection in InRegionScrollableArea · bf095e15
    tonikitoo@webkit.org authored
    PR #125237
    Reviewed by Rob Buis.
    Patch by Antonio Gomes <agomes@rim.com>
    Patch implements a top-down visibleWindowRect calculation for all scrollable
    elements hit-tested by a given point.
    The reason on why this approach is better is that it calculates the visible
    window rect from the outtermost scrollable element towards the inner ones, and
    that allows it to use the visible window rect of the previous scrollable element
    as the clipping rect for the current one.
    Patch also changes the return vector to store ScrollViewBase pointers, so
    we can make use of static_cast properly.
    Internally reviewed by Jakob Petsovits.
    * Api/WebPage.cpp:
    * Api/WebPageClient.h:
    * Api/WebPage_p.h:
    * WebKitSupport/InRegionScrollableArea.cpp:
    * WebKitSupport/InRegionScrollableArea.h:
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@119679 268f45cc-cd09-0410-ab3c-d52691b4dbfc
ChangeLog 213 KB