| 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 719 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 730 // LayoutObject for the viewport-defining element (see Document::viewportDef
iningElement). | 730 // LayoutObject for the viewport-defining element (see Document::viewportDef
iningElement). |
| 731 LayoutObject* viewportLayoutObject(); | 731 LayoutObject* viewportLayoutObject(); |
| 732 | 732 |
| 733 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c
onst; | 733 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c
onst; |
| 734 | 734 |
| 735 typedef WTF::HashMap <const GraphicsLayer*, Vector<std::pair<int64_t, WebRec
t>>> GraphicsLayerFrameTimingRequests; | 735 typedef WTF::HashMap <const GraphicsLayer*, Vector<std::pair<int64_t, WebRec
t>>> GraphicsLayerFrameTimingRequests; |
| 736 void updateFrameTimingRequestsIfNeeded(); | 736 void updateFrameTimingRequestsIfNeeded(); |
| 737 void collectFrameTimingRequests(GraphicsLayerFrameTimingRequests&); | 737 void collectFrameTimingRequests(GraphicsLayerFrameTimingRequests&); |
| 738 void collectFrameTimingRequestsRecursive(GraphicsLayerFrameTimingRequests&); | 738 void collectFrameTimingRequestsRecursive(GraphicsLayerFrameTimingRequests&); |
| 739 | 739 |
| 740 template <typename Function> void forAllFrameViews(Function); | 740 template <typename Function> void forAllNonThrottledFrameViews(Function); |
| 741 | 741 |
| 742 void setNeedsUpdateViewportIntersection(); | 742 void setNeedsUpdateViewportIntersection(); |
| 743 void updateViewportIntersectionsForSubtree(); | 743 void updateViewportIntersectionsForSubtree(); |
| 744 void updateViewportIntersectionIfNeeded(); | 744 void updateViewportIntersectionIfNeeded(); |
| 745 void notifyIntersectionObservers(); | 745 void notifyIntersectionObservers(); |
| 746 | 746 |
| 747 LayoutSize m_size; | 747 LayoutSize m_size; |
| 748 | 748 |
| 749 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; | 749 typedef HashSet<RefPtr<LayoutEmbeddedObject>> EmbeddedObjectSet; |
| 750 EmbeddedObjectSet m_partUpdateSet; | 750 EmbeddedObjectSet m_partUpdateSet; |
| (...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 904 static const unsigned visualPixelThreshold = 32 * 32; | 904 static const unsigned visualPixelThreshold = 32 * 32; |
| 905 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 905 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 906 setIsVisuallyNonEmpty(); | 906 setIsVisuallyNonEmpty(); |
| 907 } | 907 } |
| 908 | 908 |
| 909 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 909 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 910 | 910 |
| 911 } // namespace blink | 911 } // namespace blink |
| 912 | 912 |
| 913 #endif // FrameView_h | 913 #endif // FrameView_h |
| OLD | NEW |