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