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 730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c
onst; | 741 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c
onst; |
742 | 742 |
743 typedef WTF::HashMap <const GraphicsLayer*, Vector<std::pair<int64_t, WebRec
t>>> GraphicsLayerFrameTimingRequests; | 743 typedef WTF::HashMap <const GraphicsLayer*, Vector<std::pair<int64_t, WebRec
t>>> GraphicsLayerFrameTimingRequests; |
744 void updateFrameTimingRequestsIfNeeded(); | 744 void updateFrameTimingRequestsIfNeeded(); |
745 void collectFrameTimingRequests(GraphicsLayerFrameTimingRequests&); | 745 void collectFrameTimingRequests(GraphicsLayerFrameTimingRequests&); |
746 void collectFrameTimingRequestsRecursive(GraphicsLayerFrameTimingRequests&); | 746 void collectFrameTimingRequestsRecursive(GraphicsLayerFrameTimingRequests&); |
747 | 747 |
748 template <typename Function> void forAllNonThrottledFrameViews(Function); | 748 template <typename Function> void forAllNonThrottledFrameViews(Function); |
749 | 749 |
750 void setNeedsUpdateViewportIntersection(); | 750 void setNeedsUpdateViewportIntersection(); |
751 void updateViewportIntersectionsForSubtree(); | 751 void updateViewportIntersectionsForSubtree(LifeCycleUpdateOption); |
752 void updateViewportIntersectionIfNeeded(); | 752 void updateViewportIntersectionIfNeeded(); |
753 void notifyIntersectionObservers(); | 753 void notifyRenderThrottlingObservers(); |
754 | 754 |
755 // PaintInvalidationCapableScrollableArea | 755 // PaintInvalidationCapableScrollableArea |
756 LayoutBox& boxForScrollControlPaintInvalidation() const override; | 756 LayoutBox& boxForScrollControlPaintInvalidation() const override; |
757 LayoutScrollbarPart* resizer() const override { return nullptr; } | 757 LayoutScrollbarPart* resizer() const override { return nullptr; } |
758 | 758 |
759 LayoutSize m_size; | 759 LayoutSize m_size; |
760 | 760 |
761 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; | 761 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; |
762 EmbeddedObjectSet m_partUpdateSet; | 762 EmbeddedObjectSet m_partUpdateSet; |
763 | 763 |
(...skipping 18 matching lines...) Expand all Loading... |
782 bool m_hasPendingLayout; | 782 bool m_hasPendingLayout; |
783 LayoutSubtreeRootList m_layoutSubtreeRootList; | 783 LayoutSubtreeRootList m_layoutSubtreeRootList; |
784 | 784 |
785 bool m_layoutSchedulingEnabled; | 785 bool m_layoutSchedulingEnabled; |
786 bool m_inPerformLayout; | 786 bool m_inPerformLayout; |
787 bool m_inSynchronousPostLayout; | 787 bool m_inSynchronousPostLayout; |
788 int m_layoutCount; | 788 int m_layoutCount; |
789 unsigned m_nestedLayoutCount; | 789 unsigned m_nestedLayoutCount; |
790 Timer<FrameView> m_postLayoutTasksTimer; | 790 Timer<FrameView> m_postLayoutTasksTimer; |
791 Timer<FrameView> m_updateWidgetsTimer; | 791 Timer<FrameView> m_updateWidgetsTimer; |
792 OwnPtr<CancellableTaskFactory> m_intersectionObserverNotificationFactory; | 792 OwnPtr<CancellableTaskFactory> m_renderThrottlingObserverNotificationFactory
; |
793 | 793 |
794 bool m_firstLayout; | 794 bool m_firstLayout; |
795 bool m_isTransparent; | 795 bool m_isTransparent; |
796 Color m_baseBackgroundColor; | 796 Color m_baseBackgroundColor; |
797 IntSize m_lastViewportSize; | 797 IntSize m_lastViewportSize; |
798 float m_lastZoomFactor; | 798 float m_lastZoomFactor; |
799 | 799 |
800 AtomicString m_mediaType; | 800 AtomicString m_mediaType; |
801 AtomicString m_mediaTypeWhenNotPrinting; | 801 AtomicString m_mediaTypeWhenNotPrinting; |
802 | 802 |
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
922 static const unsigned visualPixelThreshold = 32 * 32; | 922 static const unsigned visualPixelThreshold = 32 * 32; |
923 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 923 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
924 setIsVisuallyNonEmpty(); | 924 setIsVisuallyNonEmpty(); |
925 } | 925 } |
926 | 926 |
927 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 927 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
928 | 928 |
929 } // namespace blink | 929 } // namespace blink |
930 | 930 |
931 #endif // FrameView_h | 931 #endif // FrameView_h |
OLD | NEW |