Home | History | Annotate | Download | only in page

Lines Matching refs:FrameView

28 #include "FrameView.h"
96 double FrameView::sCurrentPaintTimeStamp = 0.0;
102 double FrameView::s_deferredRepaintDelay = 0.025;
104 double FrameView::s_initialDeferredRepaintDelayDuringLoading = 0;
106 double FrameView::s_maxDeferredRepaintDelayDuringLoading = 2.5;
108 double FrameView::s_deferredRepaintDelayIncrementDuringLoading = 0.5;
113 double FrameView::s_deferredRepaintDelay = 0;
114 double FrameView::s_initialDeferredRepaintDelayDuringLoading = 0;
115 double FrameView::s_maxDeferredRepaintDelayDuringLoading = 0;
116 double FrameView::s_deferredRepaintDelayIncrementDuringLoading = 0;
122 FrameView::FrameView(Frame* frame)
127 , m_layoutTimer(this, &FrameView::layoutTimerFired)
131 , m_postLayoutTasksTimer(this, &FrameView::postLayoutTimerFired)
140 , m_deferredRepaintTimer(this, &FrameView::deferredRepaintTimerFired)
164 PassRefPtr<FrameView> FrameView::create(Frame* frame)
166 RefPtr<FrameView> view = adoptRef(new FrameView(frame));
171 PassRefPtr<FrameView> FrameView::create(Frame* frame, const IntSize& initialSize)
173 RefPtr<FrameView> view = adoptRef(new FrameView(frame));
180 FrameView::~FrameView()
213 void FrameView::reset()
249 bool FrameView::isFrameView() const
254 void FrameView::clearFrame()
259 void FrameView::resetScrollbars()
271 void FrameView::resetScrollbarsAndClearContentsSize()
284 void FrameView::init()
306 void FrameView::detachCustomScrollbars()
325 void FrameView::clear()
339 bool FrameView::didFirstLayout() const
344 void FrameView::invalidateRect(const IntRect& rect)
365 void FrameView::setFrameRect(const IntRect& newRect)
382 void FrameView::scheduleAnimation()
389 void FrameView::setMarginWidth(int w)
395 void FrameView::setMarginHeight(int h)
401 bool FrameView::avoidScrollbarCreation() const
418 void FrameView::setCanHaveScrollbars(bool canHaveScrollbars)
424 void FrameView::updateCanHaveScrollbars()
435 PassRefPtr<Scrollbar> FrameView::createScrollbar(ScrollbarOrientation orientation)
459 void FrameView::setContentsSize(const IntSize& size)
481 void FrameView::adjustViewSize()
495 void FrameView::applyOverflowToViewport(RenderObject* o, ScrollbarMode& hMode, ScrollbarMode& vMode)
534 void FrameView::calculateScrollbarModesForLayout(ScrollbarMode& hMode, ScrollbarMode& vMode)
587 void FrameView::updateCompositingLayers()
604 GraphicsLayer* FrameView::layerForHorizontalScrollbar() const
612 GraphicsLayer* FrameView::layerForVerticalScrollbar() const
620 GraphicsLayer* FrameView::layerForScrollCorner() const
628 bool FrameView::syncCompositingStateForThisFrame()
669 void FrameView::setNeedsOneShotDrawingSynchronization()
678 bool FrameView::hasCompositedContent() const
687 bool FrameView::hasCompositedContentIncludingDescendants() const
705 bool FrameView::hasCompositingAncestor() const
709 if (FrameView* view = frame->view()) {
719 void FrameView::enterCompositingMode()
730 bool FrameView::isEnclosedInCompositingLayer() const
737 if (FrameView* parentView = parentFrameView())
743 bool FrameView::syncCompositingStateIncludingSubframes()
758 bool FrameView::isSoftwareRenderable() const
771 void FrameView::didMoveOnscreen()
779 void FrameView::willMoveOffscreen()
787 RenderObject* FrameView::layoutRoot(bool onlyDuringLayout) const
792 void FrameView::layout(bool allowSubtree)
801 FrameView* parentView = static_cast<FrameView*>(parent());
804 parentView = static_cast<FrameView*>(parentView->parent());
816 RefPtr<FrameView> protector(this);
1082 void FrameView::addWidgetToUpdate(RenderEmbeddedObject* object)
1090 void FrameView::removeWidgetToUpdate(RenderEmbeddedObject* object)
1098 void FrameView::setMediaType(const String& mediaType)
1103 String FrameView::mediaType() const
1112 void FrameView::adjustMediaTypeForPrinting(bool printing)
1125 bool FrameView::useSlowRepaints() const
1130 if (FrameView* parentView = parentFrameView())
1136 bool FrameView::useSlowRepaintsIfNotOverlapped() const
1141 if (FrameView* parentView = parentFrameView())
1147 void FrameView::updateCanBlitOnScrollRecursively()
1150 if (FrameView* view = frame->view())
1155 void FrameView::setUseSlowRepaints()
1161 void FrameView::addSlowRepaintObject()
1168 void FrameView::removeSlowRepaintObject()
1176 void FrameView::addFixedObject()
1183 void FrameView::removeFixedObject()
1193 void FrameView::updatePositionedObjects()
1214 int FrameView::scrollXForFixedPosition() const
1242 int FrameView::scrollYForFixedPosition() const
1266 IntSize FrameView::scrollOffsetForFixedPosition() const
1271 IntPoint FrameView::currentMousePosition() const
1276 bool FrameView::scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect)
1333 void FrameView::scrollContentsSlowPath(const IntRect& updateRect)
1351 void FrameView::setIsOverlapped(bool isOverlapped)
1386 bool FrameView::isOverlappedIncludingAncestors() const
1391 if (FrameView* parentView = parentFrameView()) {
1399 void FrameView::setContentIsOpaque(bool contentIsOpaque)
1408 void FrameView::restoreScrollbar()
1413 bool FrameView::scrollToFragment(const KURL& url)
1433 bool FrameView::scrollToAnchor(const String& name)
1482 void FrameView
1498 void FrameView::setScrollPosition(const IntPoint& scrollPoint)
1507 void FrameView::scrollPositionChangedViaPlatformWidget()
1513 void FrameView::scrollPositionChanged()
1525 void FrameView::repaintFixedElementsAfterScrolling()
1540 HostWindow* FrameView::hostWindow() const
1550 void FrameView::repaintContentRectangle(const IntRect& r, bool immediate)
1595 void FrameView::contentsResized()
1601 void FrameView::visibleContentsResized()
1621 void FrameView::beginDeferredRepaints()
1631 void FrameView::endDeferredRepaints()
1653 void FrameView::checkStopDelayingDeferredRepaints()
1667 void FrameView::doDeferredRepaints()
1691 void FrameView::updateDeferredRepaintDelay()
1705 void FrameView::resetDeferredRepaintDelay()
1715 double FrameView::adjustedDeferredRepaintDelay() const
1724 void FrameView::deferredRepaintTimerFired(Timer<FrameView>*)
1729 void FrameView::layoutTimerFired(Timer<FrameView>*)
1738 void FrameView::scheduleRelayout()
1792 void FrameView::scheduleRelayoutOfSubtree(RenderObject* relayoutRoot)
1830 bool FrameView::layoutPending() const
1835 bool FrameView::needsLayout() const
1849 void FrameView::setNeedsLayout()
1860 void FrameView::unscheduleRelayout()
1877 void FrameView::serviceScriptedAnimations(DOMTimeStamp time)
1884 bool FrameView::isTransparent() const
1889 void FrameView::setTransparent(bool isTransparent)
1894 Color FrameView::baseBackgroundColor() const
1899 void FrameView::setBaseBackgroundColor(const Color& backgroundColor)
1907 void FrameView::updateBackgroundRecursively(const Color& backgroundColor, bool transparent)
1910 if (FrameView* view = frame->view()) {
1917 bool FrameView::shouldUpdateWhileOffscreen() const
1922 void FrameView::setShouldUpdateWhileOffscreen(bool shouldUpdateWhileOffscreen)
1927 bool FrameView::shouldUpdate(bool immediateRequested) const
1934 void FrameView::scheduleEvent(PassRefPtr<Event> event, PassRefPtr<Node> eventTarget)
1939 void FrameView::pauseScheduledEvents()
1944 void FrameView::resumeScheduledEvents()
1949 void FrameView::scrollToAnchor()
1973 void FrameView::updateWidget(RenderEmbeddedObject* object)
1978 // but FrameView holds a manual ref, so it won't have been deleted.
2004 bool FrameView::updateWidgets()
2033 void FrameView::flushAnyPendingPostLayoutTasks()
2042 void FrameView::performPostLayoutTasks()
2085 void FrameView::postLayoutTimerFired(Timer<FrameView>*)
2090 void FrameView::updateOverflowStatus(bool horizontalOverflow, bool verticalOverflow)
2116 IntRect FrameView::windowClipRect(bool clipToContents) const
2134 FrameView* parentView = elt->document()->view();
2139 IntRect FrameView::windowClipRectForLayer(const RenderLayer* layer, bool clipToLayerContents) const
2155 bool FrameView::isActive() const
2161 void FrameView::scrollTo(const IntSize& newOffset)
2170 void FrameView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect)
2172 // Add in our offset within the FrameView.
2178 void FrameView::getTickmarks(Vector<IntRect>& tickmarks) const
2183 IntRect FrameView::windowResizerRect() const
2191 void FrameView::didCompleteRubberBand(const IntSize& initialOverhang) const
2199 void FrameView::scrollbarStyleChanged()
2208 bool FrameView::shouldSuspendScrollAnimations() const
2213 void FrameView::notifyPageThatContentAreaWillPaint() const
2226 void FrameView::updateDashboardRegions()
2243 void FrameView::updateScrollCorner()
2286 void FrameView::paintScrollCorner(GraphicsContext* context, const IntRect& cornerRect)
2301 bool FrameView::hasCustomScrollbars() const
2308 if (static_cast<FrameView*>(widget)->hasCustomScrollbars())
2320 FrameView* FrameView::parentFrameView() const
2324 return static_cast<FrameView*>(parentView);
2329 void FrameView::updateControlTints()
2353 bool FrameView::wasScrolledByUser() const
2358 void FrameView::setWasScrolledByUser(bool wasScrolledByUser)
2366 void FrameView::paintContents(GraphicsContext* p, const IntRect& rect)
2400 LOG_ERROR("called FrameView::paint with nil renderer");
2415 if (FrameView* parentView = parentFrameView()) {
2463 void FrameView::setPaintBehavior(PaintBehavior behavior)
2468 PaintBehavior FrameView::paintBehavior() const
2473 bool FrameView::isPainting() const
2478 void FrameView::setNodeToDraw(Node* node)
2483 void FrameView::paintOverhangAreas(GraphicsContext* context, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect)
2500 void FrameView::updateLayoutAndStyleIfNeededRecursive()
2521 static_cast<FrameView*>(widget)->updateLayoutAndStyleIfNeededRecursive();
2529 void FrameView::flushDeferredRepaints()
2537 void FrameView::forceLayout(bool allowSubtree)
2542 void FrameView::forceLayoutForPagination(const FloatSize& pageSize, float maximumShrinkFactor, Frame::AdjustViewSizeOrNot shouldAdjustViewSize)
2587 void FrameView::adjustPageHeightDeprecated(float *newBottom, float oldTop, float oldBottom, float /*bottomLimit*/)
2605 IntRect FrameView::convertFromRenderer(const RenderObject* renderer, const IntRect& rendererRect) const
2609 // Convert from page ("absolute") to FrameView coordinates.
2615 IntRect FrameView::convertToRenderer(const RenderObject* renderer, const IntRect& viewRect) const
2619 // Convert from FrameView coords into page ("absolute") coordinates.
2628 IntPoint FrameView::convertFromRenderer(const RenderObject* renderer, const IntPoint& rendererPoint) const
2632 // Convert from page ("absolute") to FrameView coordinates.
2637 IntPoint FrameView::convertToRenderer(const RenderObject* renderer, const IntPoint& viewPoint) const
2641 // Convert from FrameView coords into page ("absolute") coordinates.
2647 IntRect FrameView::convertToContainingView(const IntRect& localRect) const
2651 const FrameView* parentView = static_cast<const FrameView*>(parentScrollView);
2670 IntRect FrameView::convertFromContainingView(const IntRect& parentRect) const
2674 const FrameView* parentView = static_cast<const FrameView*>(parentScrollView);
2694 IntPoint FrameView::convertToContainingView(const IntPoint& localPoint) const
2698 const FrameView* parentView = static_cast<const FrameView*>(parentScrollView);
2719 IntPoint FrameView::convertFromContainingView(const IntPoint& parentPoint) const
2723 const FrameView* parentView = static_cast<const FrameView*>(parentScrollView);
2744 void FrameView::setRepaintThrottlingDeferredRepaintDelay(double p)
2750 void FrameView::setRepaintThrottlingnInitialDeferredRepaintDelayDuringLoading(double p)
2756 void FrameView::setRepaintThrottlingMaxDeferredRepaintDelayDuringLoading(double p)
2762 void FrameView::setRepaintThrottlingDeferredRepaintDelayIncrementDuringLoading(double p)
2767 bool FrameView::isVerticalDocument() const
2780 bool FrameView::isFlippedDocument() const
2793 void FrameView::notifyWidgetsInAllFrames(WidgetNotification notification)
2801 AXObjectCache* FrameView::axObjectCache() const