| 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 748 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 759 IntRect rectToCopyOnScroll() const; | 759 IntRect rectToCopyOnScroll() const; |
| 760 | 760 |
| 761 bool isFrameViewScrollbar(const Widget* child) const { return horizontalScro
llbar() == child || verticalScrollbar() == child; } | 761 bool isFrameViewScrollbar(const Widget* child) const { return horizontalScro
llbar() == child || verticalScrollbar() == child; } |
| 762 | 762 |
| 763 ScrollingCoordinator* scrollingCoordinator() const; | 763 ScrollingCoordinator* scrollingCoordinator() const; |
| 764 | 764 |
| 765 void prepareLayoutAnalyzer(); | 765 void prepareLayoutAnalyzer(); |
| 766 std::unique_ptr<TracedValue> analyzerCounters(); | 766 std::unique_ptr<TracedValue> analyzerCounters(); |
| 767 | 767 |
| 768 // LayoutObject for the viewport-defining element (see Document::viewportDef
iningElement). | 768 // LayoutObject for the viewport-defining element (see Document::viewportDef
iningElement). |
| 769 LayoutObject* viewportLayoutObject(); | 769 LayoutObject* viewportLayoutObject() const; |
| 770 | 770 |
| 771 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c
onst; | 771 void collectAnnotatedRegions(LayoutObject&, Vector<AnnotatedRegionValue>&) c
onst; |
| 772 | 772 |
| 773 template <typename Function> void forAllNonThrottledFrameViews(const Functio
n&); | 773 template <typename Function> void forAllNonThrottledFrameViews(const Functio
n&); |
| 774 | 774 |
| 775 void setNeedsUpdateViewportIntersection(); | 775 void setNeedsUpdateViewportIntersection(); |
| 776 void updateViewportIntersectionsForSubtree(DocumentLifecycle::LifecycleState
targetState); | 776 void updateViewportIntersectionsForSubtree(DocumentLifecycle::LifecycleState
targetState); |
| 777 void updateViewportIntersectionIfNeeded(); | 777 void updateViewportIntersectionIfNeeded(); |
| 778 void notifyRenderThrottlingObservers(); | 778 void notifyRenderThrottlingObservers(); |
| 779 void updateThrottlingStatus(); | 779 void updateThrottlingStatus(); |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 963 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) | 963 if (m_visuallyNonEmptyPixelCount > visualPixelThreshold) |
| 964 setIsVisuallyNonEmpty(); | 964 setIsVisuallyNonEmpty(); |
| 965 } | 965 } |
| 966 | 966 |
| 967 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); | 967 DEFINE_TYPE_CASTS(FrameView, Widget, widget, widget->isFrameView(), widget.isFra
meView()); |
| 968 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); | 968 DEFINE_TYPE_CASTS(FrameView, ScrollableArea, scrollableArea, scrollableArea->isF
rameView(), scrollableArea.isFrameView()); |
| 969 | 969 |
| 970 } // namespace blink | 970 } // namespace blink |
| 971 | 971 |
| 972 #endif // FrameView_h | 972 #endif // FrameView_h |
| OLD | NEW |