Lines Matching defs:FrameView

28 #include "core/page/FrameView.h"
87 double FrameView::sCurrentPaintTimeStamp = 0.0;
94 double FrameView::s_normalDeferredRepaintDelay = 0.016;
96 double FrameView::s_initialDeferredRepaintDelayDuringLoading = 0;
98 double FrameView::s_maxDeferredRepaintDelayDuringLoading = 2.5;
100 double FrameView::s_deferredRepaintDelayIncrementDuringLoading = 0.5;
105 double FrameView::s_normalDeferredRepaintDelay = 0;
106 double FrameView::s_initialDeferredRepaintDelayDuringLoading = 0;
107 double FrameView::s_maxDeferredRepaintDelayDuringLoading = 0;
108 double FrameView::s_deferredRepaintDelayIncrementDuringLoading = 0;
153 FrameView::FrameView(Frame* frame)
157 , m_layoutTimer(this, &FrameView::layoutTimerFired)
160 , m_postLayoutTasksTimer(this, &FrameView::postLayoutTimerFired)
170 , m_deferredRepaintTimer(this, &FrameView::deferredRepaintTimerFired)
199 PassRefPtr<FrameView> FrameView::create(Frame* frame)
201 RefPtr<FrameView> view = adoptRef(new FrameView(frame));
206 PassRefPtr<FrameView> FrameView::create(Frame* frame, const IntSize& initialSize)
208 RefPtr<FrameView> view = adoptRef(new FrameView(frame));
214 FrameView::~FrameView()
242 void FrameView::reset()
284 void FrameView::removeFromAXObjectCache()
290 void FrameView::clearFrame()
296 void FrameView::resetScrollbars()
308 void FrameView::init()
330 void FrameView::prepareForDetach()
348 void FrameView::detachCustomScrollbars()
364 void FrameView::recalculateScrollbarOverlayStyle()
384 void FrameView::clear()
398 bool FrameView::didFirstLayout() const
403 void FrameView::invalidateRect(const IntRect& rect)
424 void FrameView::setFrameRect(const IntRect& newRect)
449 bool FrameView::scheduleAnimation()
458 void FrameView::setMarginWidth(LayoutUnit w)
464 void FrameView::setMarginHeight(LayoutUnit h)
470 void FrameView::setCanHaveScrollbars(bool canHaveScrollbars)
476 void FrameView::updateCanHaveScrollbars()
487 PassRefPtr<Scrollbar> FrameView::createScrollbar(ScrollbarOrientation orientation)
516 void FrameView::setContentsSize(const IntSize& size)
540 void FrameView::adjustViewSize()
555 void FrameView::applyOverflowToViewport(RenderObject* o, ScrollbarMode& hMode, ScrollbarMode& vMode)
612 void FrameView::applyPaginationToViewport()
640 void FrameView::calculateScrollbarModesForLayout(ScrollbarMode& hMode, ScrollbarMode& vMode, ScrollbarModesCalculationStrategy strategy)
683 void FrameView::updateCompositingLayersAfterStyleChange()
705 void FrameView::updateCompositingLayersAfterLayout()
717 bool FrameView::usesCompositedScrolling() const
727 GraphicsLayer* FrameView::layerForScrolling() const
735 GraphicsLayer* FrameView::layerForHorizontalScrollbar() const
743 GraphicsLayer* FrameView::layerForVerticalScrollbar() const
751 GraphicsLayer* FrameView::layerForScrollCorner() const
760 GraphicsLayer* FrameView::layerForOverhangAreas() const
769 bool FrameView::hasCompositedContent() const
776 bool FrameView::isEnclosedInCompositingLayer() const
782 if (FrameView* parentView = parentFrameView())
788 bool FrameView::isSoftwareRenderable() const
794 RenderObject* FrameView::layoutRoot(bool onlyDuringLayout) const
799 static inline void collectFrameViewChildren(FrameView* frameView, Vector<RefPtr<FrameView> >& frameViews)
812 inline void FrameView::forceLayoutParentViewIfNeeded()
830 // FrameView for a layout. After that the RenderEmbeddedObject (ownerRenderer) carries the
833 RefPtr<FrameView> frameView = ownerRenderer->frame()->view();
843 void FrameView::layout(bool allowSubtree)
853 TRACE_EVENT0("webkit", "FrameView::layout");
857 RefPtr<FrameView> protector(this);
1093 // FIXME: It should be not possible to remove the FrameView from the frame/page during layout
1104 void FrameView::layoutLazyBlocks()
1133 RenderBox* FrameView::embeddedContentBox() const
1150 void FrameView::addWidgetToUpdate(RenderObject* object)
1165 void FrameView::removeWidgetToUpdate(RenderObject* object)
1173 void FrameView::setMediaType(const AtomicString& mediaType)
1178 AtomicString FrameView::mediaType() const
1188 void FrameView::adjustMediaTypeForPrinting(bool printing)
1201 bool FrameView::useSlowRepaints(bool considerOverlap) const
1218 if (FrameView* parentView = parentFrameView())
1224 bool FrameView::useSlowRepaintsIfNotOverlapped() const
1229 void FrameView::updateCanBlitOnScrollRecursively()
1232 if (FrameView* view = frame->view())
1237 bool FrameView::contentsInCompositedLayer() const
1249 void FrameView::setCannotBlitToWindow()
1255 void FrameView::addSlowRepaintObject()
1267 void FrameView::removeSlowRepaintObject()
1281 void FrameView::addViewportConstrainedObject(RenderObject* object)
1296 void FrameView::removeViewportConstrainedObject(RenderObject* object)
1311 LayoutRect FrameView::viewportConstrainedVisibleContentRect() const
1320 IntSize FrameView::scrollOffsetForFixedPosition() const
1325 IntPoint FrameView::lastKnownMousePosition() const
1330 bool FrameView::scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect)
1398 void FrameView::scrollContentsSlowPath(const IntRect& updateRect)
1419 void FrameView::setIsOverlapped(bool isOverlapped)
1428 bool FrameView::isOverlappedIncludingAncestors() const
1433 if (FrameView* parentView = parentFrameView()) {
1441 void FrameView::setContentIsOpaque(bool contentIsOpaque)
1450 void FrameView::restoreScrollbar()
1455 bool FrameView::scrollToFragment(const KURL& url)
1475 bool FrameView::scrollToAnchor(const String& name)
1512 void FrameView::maintainScrollPositionAtAnchor(Node* anchorNode)
1529 void FrameView::scrollElementToRect(Element* element, const IntRect& rect)
1539 void FrameView::setScrollPosition(const IntPoint& scrollPoint)
1559 void FrameView::setScrollPositionNonProgrammatically(const IntPoint& scrollPoint)
1570 void FrameView::setViewportConstrainedObjectsNeedLayout()
1583 void FrameView::scrollPositionChanged()
1596 void FrameView::repaintFixedElementsAfterScrolling()
1608 void FrameView::updateFixedElementsAfterScrolling()
1616 bool FrameView::shouldRubberBandInDirection(ScrollDirection direction) const
1624 bool FrameView::isRubberBandInProgress() const
1629 // If the main thread updates the scroll position for this FrameView, we should return
1637 bool FrameView::requestScrollPositionUpdate(const IntPoint& position)
1642 HostWindow* FrameView::hostWindow() const
1652 void FrameView::repaintContentRectangle(const IntRect& r)
1694 void FrameView::contentsResized()
1700 void FrameView::visibleContentsResized()
1718 void FrameView::beginDeferredRepaints()
1729 void FrameView::endDeferredRepaints()
1753 void FrameView::startDeferredRepaintTimer(double delay)
1764 void FrameView::handleLoadCompleted()
1775 void FrameView::flushDeferredRepaints()
1783 void FrameView::doDeferredRepaints()
1804 bool FrameView::shouldUseLoadTimeDeferredRepaintDelay() const
1819 void FrameView::updateDeferredRepaintDelayAfterRepaint()
1829 void FrameView::resetDeferredRepaintDelay()
1839 double FrameView::adjustedDeferredRepaintDelay() const
1848 void FrameView::deferredRepaintTimerFired(Timer<FrameView>*)
1853 void FrameView::beginDisableRepaints()
1858 void FrameView::endDisableRepaints()
1864 void FrameView::layoutTimerFired(Timer<FrameView>*)
1869 void FrameView::scheduleRelayout()
1909 void FrameView::scheduleRelayoutOfSubtree(RenderObject* relayoutRoot)
1951 bool FrameView::layoutPending() const
1956 bool FrameView::needsLayout() const
1971 void FrameView::setNeedsLayout()
1982 void FrameView::unscheduleRelayout()
1991 void FrameView::serviceScriptedAnimations(double monotonicAnimationStartTime)
2009 bool FrameView::isTransparent() const
2014 void FrameView::setTransparent(bool isTransparent)
2021 bool FrameView::hasOpaqueBackground() const
2026 Color FrameView::baseBackgroundColor() const
2031 void FrameView::setBaseBackgroundColor(const StyleColor& backgroundColor)
2046 void FrameView::updateBackgroundRecursively(const StyleColor& backgroundColor, bool transparent)
2049 if (FrameView* view = frame->view()) {
2056 bool FrameView::shouldUpdateWhileOffscreen() const
2061 void FrameView::setShouldUpdateWhileOffscreen(bool shouldUpdateWhileOffscreen)
2066 bool FrameView::shouldUpdate() const
2073 void FrameView::scheduleEvent(PassRefPtr<Event> event, PassRefPtr<Node> eventTarget)
2078 void FrameView::pauseScheduledEvents()
2083 void FrameView::resumeScheduledEvents()
2088 void FrameView::scrollToAnchor()
2112 void FrameView::updateWidget(RenderObject* object)
2117 // but FrameView holds a manual ref, so it won't have been deleted.
2143 bool FrameView::updateWidgets()
2180 void FrameView::flushAnyPendingPostLayoutTasks()
2188 void FrameView::performPostLayoutTasks()
2191 RefPtr<FrameView> protect(this);
2265 void FrameView::postLayoutTimerFired(Timer<FrameView>*)
2270 void FrameView::autoSizeIfEnabled()
2367 void FrameView::updateOverflowStatus(bool horizontalOverflow, bool verticalOverflow)
2393 const Pagination& FrameView::pagination() const
2406 void FrameView::setPagination(const Pagination& pagination)
2417 IntRect FrameView::windowClipRect(bool clipToContents) const
2431 FrameView* parentView = ownerElement->document()->view();
2437 IntRect FrameView::windowClipRectForFrameOwner(const HTMLFrameOwnerElement* ownerElement, bool clipToLayerContents) const
2459 bool FrameView::isActive() const
2465 void FrameView::scrollTo(const IntSize& newOffset)
2474 void FrameView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect)
2476 // Add in our offset within the FrameView.
2482 void FrameView::getTickmarks(Vector<IntRect>& tickmarks) const
2487 IntRect FrameView::windowResizerRect() const
2495 void FrameView::setVisibleContentScaleFactor(float visibleContentScaleFactor)
2504 bool FrameView::scrollbarsCanBeActive() const
2515 ScrollableArea* FrameView::enclosingScrollableArea() const
2521 IntRect FrameView::scrollableAreaBoundingBox() const
2530 bool FrameView::isScrollable()
2559 void FrameView::updateScrollableAreaSet()
2562 FrameView* parentFrameView = this->parentFrameView();
2574 bool FrameView::shouldSuspendScrollAnimations() const
2579 void FrameView::scrollbarStyleChanged(int newStyle, bool forceUpdate)
2591 void FrameView::setAnimatorsAreActive()
2611 void FrameView::notifyPageThatContentAreaWillPaint() const
2632 bool FrameView::scrollAnimatorEnabled() const
2639 void FrameView::updateAnnotatedRegions()
2655 void FrameView::updateScrollCorner()
2696 void FrameView::paintScrollCorner(GraphicsContext* context, const IntRect& cornerRect)
2714 void FrameView::paintScrollbar(GraphicsContext* context, Scrollbar* bar, const IntRect& rect)
2726 StyleColor FrameView::documentBackgroundColor() const
2766 bool FrameView::hasCustomScrollbars() const
2785 FrameView* FrameView::parentFrameView() const
2796 void FrameView::updateControlTints()
2812 void FrameView::paintControlTints()
2822 bool FrameView::wasScrolledByUser() const
2827 void FrameView::setWasScrolledByUser(bool wasScrolledByUser)
2835 void FrameView::paintContents(GraphicsContext* p, const IntRect& rect)
2863 LOG_ERROR("called FrameView::paint with nil renderer");
2881 if (FrameView* parentView = parentFrameView()) {
2923 void FrameView::setPaintBehavior(PaintBehavior behavior)
2928 PaintBehavior FrameView::paintBehavior() const
2933 bool FrameView::isPainting() const
2938 void FrameView::setNodeToDraw(Node* node)
2943 void FrameView::paintOverhangAreas(GraphicsContext* context, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect)
2960 void FrameView::updateLayoutAndStyleIfNeededRecursive()
2979 Vector<RefPtr<FrameView> > frameViews;
2982 const Vector<RefPtr<FrameView> >::iterator end = frameViews.end();
2983 for (Vector<RefPtr<FrameView> >::iterator it = frameViews.begin(); it != end; ++it)
2996 void FrameView::enableAutoSizeMode(bool enable, const IntSize& minSize, const IntSize& maxSize)
3021 void FrameView::forceLayout(bool allowSubtree)
3026 void FrameView::forceLayoutForPagination(const FloatSize& pageSize, const FloatSize& originalPageSize, float maximumShrinkFactor, AdjustViewSizeOrNot shouldAdjustViewSize)
3082 IntRect FrameView::convertFromRenderer(const RenderObject* renderer, const IntRect& rendererRect) const
3086 // Convert from page ("absolute") to FrameView coordinates.
3092 IntRect FrameView::convertToRenderer(const RenderObject* renderer, const IntRect& viewRect) const
3096 // Convert from FrameView coords into page ("absolute") coordinates.
3105 IntPoint FrameView::convertFromRenderer(const RenderObject* renderer, const IntPoint& rendererPoint) const
3109 // Convert from page ("absolute") to FrameView coordinates.
3114 IntPoint FrameView::convertToRenderer(const RenderObject* renderer, const IntPoint& viewPoint) const
3118 // Convert from FrameView coords into page ("absolute") coordinates.
3124 IntRect FrameView::convertToContainingView(const IntRect& localRect) const
3128 const FrameView* parentView = toFrameView(parentScrollView);
3147 IntRect FrameView::convertFromContainingView(const IntRect& parentRect) const
3151 const FrameView* parentView = toFrameView(parentScrollView);
3171 IntPoint FrameView::convertToContainingView(const IntPoint& localPoint) const
3175 const FrameView* parentView = toFrameView(parentScrollView);
3196 IntPoint FrameView::convertFromContainingView(const IntPoint& parentPoint) const
3200 const FrameView* parentView = toFrameView(parentScrollView);
3221 void FrameView::setRepaintThrottlingDeferredRepaintDelay(double p)
3227 void FrameView::setRepaintThrottlingnInitialDeferredRepaintDelayDuringLoading(double p)
3233 void FrameView::setRepaintThrottlingMaxDeferredRepaintDelayDuringLoading(double p)
3239 void FrameView::setRepaintThrottlingDeferredRepaintDelayIncrementDuringLoading(double p)
3244 void FrameView::setTracksRepaints(bool trackRepaints)
3258 void FrameView::resetTrackedRepaints()
3265 String FrameView::trackedRepaintRectsAsText() const
3277 void FrameView::addResizerArea(RenderLayer* resizerLayer)
3284 void FrameView::removeResizerArea(RenderLayer* resizerLayer)
3294 bool FrameView::addScrollableArea(ScrollableArea* scrollableArea)
3301 bool FrameView::removeScrollableArea(ScrollableArea* scrollableArea)
3314 bool FrameView::containsScrollableArea(ScrollableArea* scrollableArea) const
3321 void FrameView::removeChild(Widget* widget)
3329 bool FrameView::wheelEvent(const PlatformWheelEvent& wheelEvent)
3346 bool FrameView::isVerticalDocument() const
3355 bool FrameView::isFlippedDocument() const
3364 AXObjectCache* FrameView::axObjectCache() const