| OLD | NEW |
| 1 /* | 1 /* |
| 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) | 2 Copyright (C) 1997 Martin Jones (mjones@kde.org) |
| 3 (C) 1998 Waldo Bastian (bastian@kde.org) | 3 (C) 1998 Waldo Bastian (bastian@kde.org) |
| 4 (C) 1998, 1999 Torben Weis (weis@kde.org) | 4 (C) 1998, 1999 Torben Weis (weis@kde.org) |
| 5 (C) 1999 Lars Knoll (knoll@kde.org) | 5 (C) 1999 Lars Knoll (knoll@kde.org) |
| 6 (C) 1999 Antti Koivisto (koivisto@kde.org) | 6 (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. | 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserv
ed. |
| 8 | 8 |
| 9 This library is free software; you can redistribute it and/or | 9 This library is free software; you can redistribute it and/or |
| 10 modify it under the terms of the GNU Library General Public | 10 modify it under the terms of the GNU Library General Public |
| (...skipping 727 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 738 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c
onst; | 738 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c
onst; |
| 739 | 739 |
| 740 typedef WTF::HashMap <const GraphicsLayer*, Vector<std::pair<int64_t, WebRec
t>>> GraphicsLayerFrameTimingRequests; | 740 typedef WTF::HashMap <const GraphicsLayer*, Vector<std::pair<int64_t, WebRec
t>>> GraphicsLayerFrameTimingRequests; |
| 741 void updateFrameTimingRequestsIfNeeded(); | 741 void updateFrameTimingRequestsIfNeeded(); |
| 742 void collectFrameTimingRequests(GraphicsLayerFrameTimingRequests&); | 742 void collectFrameTimingRequests(GraphicsLayerFrameTimingRequests&); |
| 743 void collectFrameTimingRequestsRecursive(GraphicsLayerFrameTimingRequests&); | 743 void collectFrameTimingRequestsRecursive(GraphicsLayerFrameTimingRequests&); |
| 744 | 744 |
| 745 template <typename Function> void forAllNonThrottledFrameViews(Function); | 745 template <typename Function> void forAllNonThrottledFrameViews(Function); |
| 746 | 746 |
| 747 void setNeedsUpdateViewportIntersection(); | 747 void setNeedsUpdateViewportIntersection(); |
| 748 void updateViewportIntersectionsForSubtree(); | 748 void updateViewportIntersectionsForSubtree(LifeCycleUpdateOption); |
| 749 void updateViewportIntersectionIfNeeded(); | 749 void updateViewportIntersectionIfNeeded(); |
| 750 void notifyIntersectionObservers(); | 750 void notifyRenderThrottlingObservers(); |
| 751 | 751 |
| 752 // PaintInvalidationCapableScrollableArea | 752 // PaintInvalidationCapableScrollableArea |
| 753 LayoutBox& boxForScrollControlPaintInvalidation() const override; | 753 LayoutBox& boxForScrollControlPaintInvalidation() const override; |
| 754 LayoutScrollbarPart* resizer() const override { return nullptr; } | 754 LayoutScrollbarPart* resizer() const override { return nullptr; } |
| 755 | 755 |
| 756 LayoutSize m_size; | 756 LayoutSize m_size; |
| 757 | 757 |
| 758 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; | 758 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; |
| 759 EmbeddedObjectSet m_partUpdateSet; | 759 EmbeddedObjectSet m_partUpdateSet; |
| 760 | 760 |
| (...skipping 18 matching lines...) Expand all Loading... |
| 779 bool m_hasPendingLayout; | 779 bool m_hasPendingLayout; |
| 780 LayoutSubtreeRootList m_layoutSubtreeRootList; | 780 LayoutSubtreeRootList m_layoutSubtreeRootList; |
| 781 | 781 |
| 782 bool m_layoutSchedulingEnabled; | 782 bool m_layoutSchedulingEnabled; |
| 783 bool m_inPerformLayout; | 783 bool m_inPerformLayout; |
| 784 bool m_inSynchronousPostLayout; | 784 bool m_inSynchronousPostLayout; |
| 785 int m_layoutCount; | 785 int m_layoutCount; |
| 786 unsigned m_nestedLayoutCount; | 786 unsigned m_nestedLayoutCount; |
| 787 Timer<FrameView> m_postLayoutTasksTimer; | 787 Timer<FrameView> m_postLayoutTasksTimer; |
| 788 Timer<FrameView> m_updateWidgetsTimer; | 788 Timer<FrameView> m_updateWidgetsTimer; |
| 789 OwnPtr<CancellableTaskFactory> m_intersectionObserverNotificationFactory; | 789 OwnPtr<CancellableTaskFactory> m_renderThrottlingObserverNotificationFactory
; |
| 790 | 790 |
| 791 bool m_firstLayout; | 791 bool m_firstLayout; |
| 792 bool m_isTransparent; | 792 bool m_isTransparent; |
| 793 Color m_baseBackgroundColor; | 793 Color m_baseBackgroundColor; |
| 794 IntSize m_lastViewportSize; | 794 IntSize m_lastViewportSize; |
| 795 float m_lastZoomFactor; | 795 float m_lastZoomFactor; |
| 796 | 796 |
| 797 AtomicString m_mediaType; | 797 AtomicString m_mediaType; |
| 798 AtomicString m_mediaTypeWhenNotPrinting; | 798 AtomicString m_mediaTypeWhenNotPrinting; |
| 799 | 799 |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 917 static const unsigned visualPixelThreshold = 32 * 32; | 917 static const unsigned visualPixelThreshold = 32 * 32; |
| 918 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 918 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 919 setIsVisuallyNonEmpty(); | 919 setIsVisuallyNonEmpty(); |
| 920 } | 920 } |
| 921 | 921 |
| 922 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 922 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 923 | 923 |
| 924 } // namespace blink | 924 } // namespace blink |
| 925 | 925 |
| 926 #endif // FrameView_h | 926 #endif // FrameView_h |
| OLD | NEW |