Example #1
0
void PageWidgetDelegate::animate(Page& page, double monotonicFrameBeginTime, LocalFrame& root)
{
    RefPtrWillBeRawPtr<FrameView> view = root.view();
    if (!view)
        return;
    page.autoscrollController().animate(monotonicFrameBeginTime);
    page.animator().serviceScriptedAnimations(monotonicFrameBeginTime);
}
Example #2
0
void PageWidgetDelegate::layout(Page& page, LocalFrame& root)
{
    page.animator().updateLayoutAndStyleForPainting(&root);
}