• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/WebCore-7537.78.1/page/

Lines Matching defs:FrameView

28 #include "FrameView.h"
105 double FrameView::sCurrentPaintTimeStamp = 0.0;
112 double FrameView::s_normalDeferredRepaintDelay = 0.016;
114 double FrameView::s_initialDeferredRepaintDelayDuringLoading = 0;
116 double FrameView::s_maxDeferredRepaintDelayDuringLoading = 2.5;
118 double FrameView::s_deferredRepaintDelayIncrementDuringLoading = 0.5;
123 double FrameView::s_normalDeferredRepaintDelay = 0;
124 double FrameView::s_initialDeferredRepaintDelayDuringLoading = 0;
125 double FrameView::s_maxDeferredRepaintDelayDuringLoading = 0;
126 double FrameView::s_deferredRepaintDelayIncrementDuringLoading = 0;
171 FrameView::FrameView(Frame* frame)
174 , m_layoutTimer(this, &FrameView::layoutTimerFired)
177 , m_postLayoutTasksTimer(this, &FrameView::postLayoutTimerFired)
178 , m_updateEmbeddedObjectsTimer(this, &FrameView::updateEmbeddedObjectsTimerFired)
187 , m_deferredRepaintTimer(this, &FrameView::deferredRepaintTimerFired)
223 PassRefPtr<FrameView> FrameView::create(Frame* frame)
225 RefPtr<FrameView> view = adoptRef(new FrameView(frame));
230 PassRefPtr<FrameView> FrameView::create(Frame* frame, const IntSize& initialSize)
232 RefPtr<FrameView> view = adoptRef(new FrameView(frame));
238 FrameView::~FrameView()
263 void FrameView::reset()
306 void FrameView::removeFromAXObjectCache()
312 void FrameView::clearFrame()
317 void FrameView::resetScrollbars()
329 void FrameView::resetScrollbarsAndClearContentsSize()
338 void FrameView::init()
364 void FrameView::prepareForDetach()
377 void FrameView::detachCustomScrollbars()
393 void FrameView::recalculateScrollbarOverlayStyle()
413 void FrameView::clear()
427 bool FrameView::didFirstLayout() const
432 void FrameView::invalidateRect(const IntRect& rect)
453 void FrameView::setFrameRect(const IntRect& newRect)
485 bool FrameView::scheduleAnimation()
495 void FrameView::setMarginWidth(LayoutUnit w)
501 void FrameView::setMarginHeight(LayoutUnit h)
522 bool FrameView::avoidScrollbarCreation() const
533 void FrameView::setCanHaveScrollbars(bool canHaveScrollbars)
539 void FrameView::updateCanHaveScrollbars()
550 PassRefPtr<Scrollbar> FrameView::createScrollbar(ScrollbarOrientation orientation)
579 void FrameView::setContentsSize(const IntSize& size)
603 void FrameView::adjustViewSize()
618 void FrameView::applyOverflowToViewport(RenderObject* o, ScrollbarMode& hMode, ScrollbarMode& vMode)
684 void FrameView::applyPaginationToViewport()
712 void FrameView::calculateScrollbarModesForLayout(ScrollbarMode& hMode, ScrollbarMode& vMode, ScrollbarModesCalculationStrategy strategy)
756 void FrameView::updateCompositingLayersAfterStyleChange()
771 void FrameView::updateCompositingLayersAfterLayout()
782 void FrameView::clearBackingStores()
794 void FrameView::restoreBackingStores()
805 bool FrameView::usesCompositedScrolling() const
815 GraphicsLayer* FrameView::layerForScrolling() const
823 GraphicsLayer* FrameView::layerForHorizontalScrollbar() const
831 GraphicsLayer* FrameView::layerForVerticalScrollbar() const
839 GraphicsLayer* FrameView::layerForScrollCorner() const
847 TiledBacking* FrameView::tiledBacking()
860 uint64_t FrameView::scrollLayerID() const
874 GraphicsLayer* FrameView::layerForOverhangAreas() const
882 GraphicsLayer* FrameView::setWantsLayerForTopOverHangArea(bool wantsLayer) const
891 GraphicsLayer* FrameView::setWantsLayerForBottomOverHangArea(bool wantsLayer) const
902 bool FrameView::scrollbarAnimationsAreSuppressed() const
910 bool FrameView::flushCompositingStateForThisFrame(Frame* rootFrameForFlush)
932 void FrameView::setNeedsOneShotDrawingSynchronization()
941 void FrameView::setHeaderHeight(int headerHeight)
951 void FrameView::setFooterHeight(int footerHeight)
961 bool FrameView::hasCompositedContent() const
970 bool FrameView::hasCompositedContentIncludingDescendants() const
988 bool FrameView::hasCompositingAncestor() const
992 if (FrameView* view = frame->view()) {
1002 void FrameView::enterCompositingMode()
1013 bool FrameView::isEnclosedInCompositingLayer() const
1020 if (FrameView* parentView = parentFrameView())
1026 bool FrameView::flushCompositingStateIncludingSubframes()
1041 bool FrameView::isSoftwareRenderable() const
1051 void FrameView::didMoveOnscreen()
1056 void FrameView::willMoveOffscreen()
1061 void FrameView::setIsInWindow(bool isInWindow)
1067 RenderObject* FrameView::layoutRoot(bool onlyDuringLayout) const
1072 static inline void collectFrameViewChildren(FrameView* frameView, Vector<RefPtr<FrameView> >& frameViews)
1085 inline void FrameView::forceLayoutParentViewIfNeeded()
1104 // FrameView for a layout. After that the RenderEmbeddedObject (ownerRenderer) carries the
1107 RefPtr<FrameView> frameView = ownerRenderer->frame()->view();
1118 void FrameView::layout(bool allowSubtree)
1124 RefPtr<FrameView> protector(this);
1396 RenderBox* FrameView::embeddedContentBox() const
1415 void FrameView::addWidgetToUpdate(RenderObject* object)
1431 void FrameView::removeWidgetToUpdate(RenderObject* object)
1439 void FrameView::setMediaType(const String& mediaType)
1444 String FrameView::mediaType() const
1454 void FrameView::adjustMediaTypeForPrinting(bool printing)
1467 bool FrameView::useSlowRepaints(bool considerOverlap) const
1483 if (FrameView* parentView = parentFrameView())
1489 bool FrameView::useSlowRepaintsIfNotOverlapped() const
1494 void FrameView::updateCanBlitOnScrollRecursively()
1497 if (FrameView* view = frame->view())
1502 bool FrameView::contentsInCompositedLayer() const
1515 void FrameView::setCannotBlitToWindow()
1521 void FrameView::addSlowRepaintObject(RenderObject* o)
1540 void FrameView::removeSlowRepaintObject(RenderObject* o)
1557 void FrameView::addViewportConstrainedObject(RenderObject* object)
1574 void FrameView::removeViewportConstrainedObject(RenderObject* object)
1589 LayoutRect FrameView::viewportConstrainedVisibleContentRect() const
1596 IntSize FrameView::scrollOffsetForFixedPosition(const IntRect& visibleContentRect, const IntSize& totalContentsSize, const IntPoint& scrollPosition, const IntPoint& scrollOrigin, float frameScaleFactor, bool fixedElementsLayoutRelativeToFrame, int headerHeight, int footerHeight)
1608 IntSize FrameView::scrollOffsetForFixedPosition() const
1618 IntPoint FrameView::minimumScrollPosition() const
1631 IntPoint FrameView::maximumScrollPosition() const
1646 bool FrameView::fixedElementsLayoutRelativeToFrame() const
1655 IntPoint FrameView::lastKnownMousePosition() const
1660 bool FrameView::isHandlingWheelEvent() const
1665 bool FrameView::shouldSetCursor() const
1671 bool FrameView::scrollContentsFastPath(const IntSize& scrollDelta, const IntRect& rectToScroll, const IntRect& clipRect)
1746 void FrameView::scrollContentsSlowPath(const IntRect& updateRect)
1776 void FrameView::repaintSlowRepaintObjects()
1791 void FrameView::setIsOverlapped(bool isOverlapped)
1826 bool FrameView::isOverlappedIncludingAncestors() const
1831 if (FrameView* parentView = parentFrameView()) {
1839 void FrameView::setContentIsOpaque(bool contentIsOpaque)
1848 void FrameView::restoreScrollbar()
1853 bool FrameView::scrollToFragment(const KURL& url)
1873 bool FrameView::scrollToAnchor(const String& name)
1912 void FrameView::maintainScrollPositionAtAnchor(Node* anchorNode)
1929 void FrameView::scrollElementToRect(Element* element, const IntRect& rect)
1939 void FrameView::setScrollPosition(const IntPoint& scrollPoint)
1946 void FrameView::delegatesScrollingDidChange()
1955 void FrameView::setFixedVisibleContentRect(const IntRect& visibleContentRect)
1981 void FrameView::setViewportConstrainedObjectsNeedLayout()
1993 void FrameView::scrollPositionChangedViaPlatformWidget()
2001 void FrameView::scrollPositionChanged()
2015 void FrameView::repaintFixedElementsAfterScrolling()
2027 bool FrameView::shouldUpdateFixedElementsAfterScrolling()
2034 // If the scrolling thread is updating the fixed elements, then the FrameView should not update them as well.
2056 void FrameView::updateFixedElementsAfterScrolling()
2069 bool FrameView::shouldRubberBandInDirection(ScrollDirection direction) const
2077 bool FrameView::isRubberBandInProgress() const
2082 // If the scrolling thread updates the scroll position for this FrameView, then we should return
2091 // If the main thread updates the scroll position for this FrameView, we should return
2099 bool FrameView::requestScrollPositionUpdate(const IntPoint& position)
2119 HostWindow* FrameView::hostWindow() const
2129 void FrameView::repaintContentRectangle(const IntRect& r, bool immediate)
2177 void FrameView::contentsResized()
2183 void FrameView::visibleContentsResized()
2203 void FrameView::beginDeferredRepaints()
2214 void FrameView::endDeferredRepaints()
2238 void FrameView::startDeferredRepaintTimer(double delay)
2249 void FrameView::handleLoadCompleted()
2260 void FrameView::flushDeferredRepaints()
2268 void FrameView::doDeferredRepaints()
2295 bool FrameView::shouldUseLoadTimeDeferredRepaintDelay() const
2310 void FrameView::updateDeferredRepaintDelayAfterRepaint()
2320 void FrameView::resetDeferredRepaintDelay()
2334 double FrameView::adjustedDeferredRepaintDelay() const
2343 void FrameView::deferredRepaintTimerFired(Timer<FrameView>*)
2348 void FrameView::beginDisableRepaints()
2353 void FrameView::endDisableRepaints()
2359 void FrameView::updateLayerFlushThrottlingInAllFrames()
2370 void FrameView::adjustTiledBackingCoverage()
2379 void FrameView::layoutTimerFired(Timer<FrameView>*)
2388 void FrameView::scheduleRelayout()
2435 void FrameView::scheduleRelayoutOfSubtree(RenderObject* relayoutRoot)
2477 bool FrameView::layoutPending() const
2482 bool FrameView::needsLayout() const
2497 void FrameView::setNeedsLayout()
2508 void FrameView::unscheduleRelayout()
2523 void FrameView::serviceScriptedAnimations(double monotonicAnimationStartTime)
2539 bool FrameView::isTransparent() const
2544 void FrameView::setTransparent(bool isTransparent)
2549 bool FrameView::hasOpaqueBackground() const
2554 Color FrameView::baseBackgroundColor() const
2559 void FrameView::setBaseBackgroundColor(const Color& backgroundColor)
2569 void FrameView::updateBackgroundRecursively(const Color& backgroundColor, bool transparent)
2572 if (FrameView* view = frame->view()) {
2579 bool FrameView::shouldUpdateWhileOffscreen() const
2584 void FrameView::setShouldUpdateWhileOffscreen(bool shouldUpdateWhileOffscreen)
2589 bool FrameView::shouldUpdate(bool immediateRequested) const
2596 void FrameView::scrollToAnchor()
2620 void FrameView::updateWidget(RenderObject* object)
2625 // but FrameView holds a manual ref, so it won't have been deleted.
2669 bool FrameView::updateWidgets()
2708 void FrameView::updateEmbeddedObjectsTimerFired(Timer<FrameView>*)
2710 RefPtr<FrameView> protect(this);
2718 void FrameView::flushAnyPendingPostLayoutTasks()
2726 void FrameView::performPostLayoutTasks()
2779 // layout() protects FrameView, but it still can get destroyed when updateWidgets()
2782 RefPtr<FrameView> protector(this);
2802 void FrameView::sendResizeEventIfNeeded()
2844 void FrameView::willStartLiveResize()
2850 void FrameView::willEndLiveResize()
2856 void FrameView::postLayoutTimerFired(Timer<FrameView>*)
2861 void FrameView::autoSizeIfEnabled()
2960 void FrameView::setAutoSizeFixedMinimumHeight(int fixedMinimumHeight)
2970 void FrameView::updateOverflowStatus(bool horizontalOverflow, bool verticalOverflow)
2998 const Pagination& FrameView::pagination() const
3011 void FrameView::setPagination(const Pagination& pagination)
3022 IntRect FrameView::windowClipRect(bool clipToContents) const
3036 FrameView* parentView = ownerElement->document()->view();
3042 IntRect FrameView::windowClipRectForFrameOwner(const HTMLFrameOwnerElement* ownerElement, bool clipToLayerContents) const
3064 bool FrameView::isActive() const
3070 void FrameView::scrollTo(const IntSize& newOffset)
3079 void FrameView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect)
3081 // Add in our offset within the FrameView.
3087 void FrameView::getTickmarks(Vector<IntRect>& tickmarks) const
3092 IntRect FrameView::windowResizerRect() const
3100 float FrameView::visibleContentScaleFactor() const
3111 void FrameView::setVisibleScrollerThumbRect(const IntRect& scrollerThumb)
3121 bool FrameView::scrollbarsCanBeActive() const
3140 ScrollableArea* FrameView::enclosingScrollableArea() const
3146 IntRect FrameView::scrollableAreaBoundingBox() const
3155 bool FrameView::isScrollable()
3184 void FrameView::updateScrollableAreaSet()
3187 FrameView* parentFrameView = this->parentFrameView();
3199 bool FrameView::shouldSuspendScrollAnimations() const
3204 void FrameView::scrollbarStyleChanged(int newStyle, bool forceUpdate)
3217 void FrameView::setAnimatorsAreActive()
3237 void FrameView::notifyPageThatContentAreaWillPaint() const
3258 bool FrameView::scrollAnimatorEnabled() const
3269 void FrameView::updateAnnotatedRegions()
3286 void FrameView::updateScrollCorner()
3330 void FrameView::paintScrollCorner(GraphicsContext* context, const IntRect& cornerRect)
3348 void FrameView::paintScrollbar(GraphicsContext* context, Scrollbar* bar, const IntRect& rect)
3360 Color FrameView::documentBackgroundColor() const
3400 bool FrameView::hasCustomScrollbars() const
3419 FrameView* FrameView::parentFrameView() const
3430 bool FrameView::isInChildFrameWithFrameFlattening() const
3452 bool FrameView::doLayoutWithFrameFlattening(bool allowSubtree)
3455 FrameView* parentView = parentFrameView();
3479 void FrameView::updateControlTints()
3495 void FrameView::paintControlTints()
3508 bool FrameView::wasScrolledByUser() const
3513 void FrameView::setWasScrolledByUser(bool wasScrolledByUser)
3524 void FrameView::paintContents(GraphicsContext* p, const IntRect& rect)
3552 LOG_ERROR("called FrameView::paint with nil renderer");
3576 if (FrameView* parentView = parentFrameView()) {
3632 void FrameView::setPaintBehavior(PaintBehavior behavior)
3637 PaintBehavior FrameView::paintBehavior() const
3642 bool FrameView::isPainting() const
3648 void FrameView::setNodeToDraw(Node* node)
3653 void FrameView::paintContentsForSnapshot(GraphicsContext* context, const IntRect& imageRect, SelectionInSnaphot shouldPaintSelection, CoordinateSpaceForSnapshot coordinateSpace)
3689 void FrameView::paintOverhangAreas(GraphicsContext* context, const IntRect& horizontalOverhangArea, const IntRect& verticalOverhangArea, const IntRect& dirtyRect)
3706 void FrameView::updateLayoutAndStyleIfNeededRecursive()
3725 Vector<RefPtr<FrameView> > frameViews;
3728 const Vector<RefPtr<FrameView> >::iterator end = frameViews.end();
3729 for (Vector<RefPtr<FrameView> >::iterator it = frameViews.begin(); it != end; ++it)
3742 void FrameView::setIsVisuallyNonEmpty()
3748 void FrameView::enableAutoSizeMode(bool enable, const IntSize& minSize, const IntSize& maxSize)
3773 void FrameView::forceLayout(bool allowSubtree)
3778 void FrameView::forceLayoutForPagination(const FloatSize& pageSize, const FloatSize& originalPageSize, float maximumShrinkFactor, AdjustViewSizeOrNot shouldAdjustViewSize)
3834 void FrameView::adjustPageHeightDeprecated(float *newBottom, float oldTop, float oldBottom, float /*bottomLimit*/)
3854 IntRect FrameView::convertFromRenderer(const RenderObject* renderer, const IntRect& rendererRect) const
3858 // Convert from page ("absolute") to FrameView coordinates.
3865 IntRect FrameView::convertToRenderer(const RenderObject* renderer, const IntRect& viewRect) const
3869 // Convert from FrameView coords into page ("absolute") coordinates.
3879 IntPoint FrameView::convertFromRenderer(const RenderObject* renderer, const IntPoint& rendererPoint) const
3883 // Convert from page ("absolute") to FrameView coordinates.
3889 IntPoint FrameView::convertToRenderer(const RenderObject* renderer, const IntPoint& viewPoint) const
3893 // Convert from FrameView coords into page ("absolute") coordinates.
3900 IntRect FrameView::convertToContainingView(const IntRect& localRect) const
3904 const FrameView* parentView = toFrameView(parentScrollView);
3923 IntRect FrameView::convertFromContainingView(const IntRect& parentRect) const
3927 const FrameView* parentView = toFrameView(parentScrollView);
3947 IntPoint FrameView::convertToContainingView(const IntPoint& localPoint) const
3951 const FrameView* parentView = toFrameView(parentScrollView);
3972 IntPoint FrameView::convertFromContainingView(const IntPoint& parentPoint) const
3976 const FrameView* parentView = toFrameView(parentScrollView);
3996 PlatformDisplayID FrameView::windowDisplayID() const
4005 void FrameView::setRepaintThrottlingDeferredRepaintDelay(double p)
4011 void FrameView::setRepaintThrottlingnInitialDeferredRepaintDelayDuringLoading(double p)
4017 void FrameView::setRepaintThrottlingMaxDeferredRepaintDelayDuringLoading(double p)
4023 void FrameView::setRepaintThrottlingDeferredRepaintDelayIncrementDuringLoading(double p)
4028 void FrameView::setTracksRepaints(bool trackRepaints)
4050 void FrameView::resetTrackedRepaints()
4059 String FrameView::trackedRepaintRectsAsText() const
4074 bool FrameView::addScrollableArea(ScrollableArea* scrollableArea)
4081 bool FrameView::removeScrollableArea(ScrollableArea* scrollableArea)
4094 bool FrameView::containsScrollableArea(ScrollableArea* scrollableArea) const
4101 void FrameView::removeChild(Widget* widget)
4109 bool FrameView::wheelEvent(const PlatformWheelEvent& wheelEvent)
4149 bool FrameView::isVerticalDocument() const
4158 bool FrameView::isFlippedDocument() const
4167 void FrameView::notifyWidgetsInAllFrames(WidgetNotification notification)
4175 AXObjectCache* FrameView::axObjectCache() const
4182 void FrameView::setScrollingPerformanceLoggingEnabled(bool flag)
4192 void FrameView::didAddScrollbar(Scrollbar* scrollbar, ScrollbarOrientation orientation)
4199 void FrameView::willRemoveScrollbar(Scrollbar* scrollbar, ScrollbarOrientation orientation)
4208 void FrameView::addPaintPendingMilestones(LayoutMilestones milestones)
4213 void FrameView::firePaintRelatedMilestones()
4240 void FrameView::setVisualUpdatesAllowedByClient(bool visualUpdatesAllowed)
4250 void FrameView::setScrollPinningBehavior(ScrollPinningBehavior pinning)