| 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 739 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 750 IntRect rectToCopyOnScroll() const; | 750 IntRect rectToCopyOnScroll() const; |
| 751 | 751 |
| 752 bool isFrameViewScrollbar(const Widget* child) const { return horizontalScro
llbar() == child || verticalScrollbar() == child; } | 752 bool isFrameViewScrollbar(const Widget* child) const { return horizontalScro
llbar() == child || verticalScrollbar() == child; } |
| 753 | 753 |
| 754 ScrollingCoordinator* scrollingCoordinator() const; | 754 ScrollingCoordinator* scrollingCoordinator() const; |
| 755 | 755 |
| 756 void prepareLayoutAnalyzer(); | 756 void prepareLayoutAnalyzer(); |
| 757 std::unique_ptr<TracedValue> analyzerCounters(); | 757 std::unique_ptr<TracedValue> analyzerCounters(); |
| 758 | 758 |
| 759 // LayoutObject for the viewport-defining element (see Document::viewportDef
iningElement). | 759 // LayoutObject for the viewport-defining element (see Document::viewportDef
iningElement). |
| 760 LayoutObject* viewportLayoutObject(); | 760 LayoutObject* viewportLayoutObject() const; |
| 761 | 761 |
| 762 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c
onst; | 762 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c
onst; |
| 763 | 763 |
| 764 template <typename Function> void forAllNonThrottledFrameViews(const Functio
n&); | 764 template <typename Function> void forAllNonThrottledFrameViews(const Functio
n&); |
| 765 | 765 |
| 766 void setNeedsUpdateViewportIntersection(); | 766 void setNeedsUpdateViewportIntersection(); |
| 767 void updateViewportIntersectionsForSubtree(DocumentLifecycle::LifecycleState
targetState); | 767 void updateViewportIntersectionsForSubtree(DocumentLifecycle::LifecycleState
targetState); |
| 768 void updateViewportIntersectionIfNeeded(); | 768 void updateViewportIntersectionIfNeeded(); |
| 769 void notifyRenderThrottlingObservers(); | 769 void notifyRenderThrottlingObservers(); |
| 770 void updateThrottlingStatus(); | 770 void updateThrottlingStatus(); |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 949 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 949 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 950 setIsVisuallyNonEmpty(); | 950 setIsVisuallyNonEmpty(); |
| 951 } | 951 } |
| 952 | 952 |
| 953 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 953 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 954 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); | 954 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); |
| 955 | 955 |
| 956 } // namespace blink | 956 } // namespace blink |
| 957 | 957 |
| 958 #endif // FrameView_h | 958 #endif // FrameView_h |
| OLD | NEW |