void ScrollingCoordinator::frameViewScrollableAreasDidChange(FrameView*) { ASSERT(isMainThread()); ASSERT(m_page); Region nonFastScrollableRegion = computeNonFastScrollableRegion(m_page->mainFrame()->view()); setNonFastScrollableRegion(nonFastScrollableRegion); }
void ScrollingCoordinatorChromium::frameViewLayoutUpdated(FrameView*) { ASSERT(m_page); // Compute the region of the page that we can't do fast scrolling for. This currently includes // all scrollable areas, such as subframes, overflow divs and list boxes. We need to do this even if the // frame view whose layout was updated is not the main frame. Region nonFastScrollableRegion = computeNonFastScrollableRegion(m_page->mainFrame(), IntPoint()); setNonFastScrollableRegion(nonFastScrollableRegion); }
void ScrollingCoordinatorChromium::frameViewLayoutUpdated(FrameView*) { ASSERT(m_page); // Compute the region of the page that we can't do fast scrolling for. This currently includes // all scrollable areas, such as subframes, overflow divs and list boxes, whose composited // scrolling are not enabled. We need to do this even if the frame view whose layout was updated // is not the main frame. Region nonFastScrollableRegion = computeNonFastScrollableRegion(m_page->mainFrame(), IntPoint()); setNonFastScrollableRegion(nonFastScrollableRegion); #if ENABLE(TOUCH_EVENT_TRACKING) Vector<IntRect> touchEventTargetRects; computeAbsoluteTouchEventTargetRects(m_page->mainFrame()->document(), touchEventTargetRects); setTouchEventTargetRects(touchEventTargetRects); #endif }
void ScrollingCoordinator::frameViewLayoutUpdated(FrameView* frameView) { ASSERT(isMainThread()); ASSERT(m_page); // Compute the region of the page that we can't do fast scrolling for. This currently includes // all scrollable areas, such as subframes, overflow divs and list boxes. We need to do this even if the // frame view whose layout was updated is not the main frame. Region nonFastScrollableRegion = computeNonFastScrollableRegion(m_page->mainFrame()->view()); setNonFastScrollableRegion(nonFastScrollableRegion); if (!coordinatesScrollingForFrameView(frameView)) return; setScrollParameters(frameView->horizontalScrollElasticity(), frameView->verticalScrollElasticity(), frameView->horizontalScrollbar() && frameView->horizontalScrollbar()->enabled(), frameView->verticalScrollbar() && frameView->verticalScrollbar()->enabled(), IntRect(IntPoint(), frameView->visibleContentRect().size()), frameView->contentsSize()); }