コード例 #1
0
void ScrollingCoordinator::updateSynchronousScrollingReasons(FrameView& frameView)
{
    // FIXME: Once we support async scrolling of iframes, we'll have to track the synchronous scrolling
    // reasons per frame (maybe on scrolling tree nodes).
    if (!frameView.frame().isMainFrame())
        return;

    setSynchronousScrollingReasons(synchronousScrollingReasons(frameView));
}
コード例 #2
0
void ScrollingCoordinator::updateSynchronousScrollingReasons()
{
    setSynchronousScrollingReasons(synchronousScrollingReasons());
}