Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(224)

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2610963003: Get rid of obsolete FrameView::m_shouldUpdateViewportIntersection. (Closed)
Patch Set: rebase Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 7 Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights
8 reserved. 8 reserved.
9 9
10 This library is free software; you can redistribute it and/or 10 This library is free software; you can redistribute it and/or
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 // LayoutObject for the viewport-defining element (see 977 // LayoutObject for the viewport-defining element (see
978 // Document::viewportDefiningElement). 978 // Document::viewportDefiningElement).
979 LayoutObject* viewportLayoutObject() const; 979 LayoutObject* viewportLayoutObject() const;
980 980
981 void collectAnnotatedRegions(LayoutObject&, 981 void collectAnnotatedRegions(LayoutObject&,
982 Vector<AnnotatedRegionValue>&) const; 982 Vector<AnnotatedRegionValue>&) const;
983 983
984 template <typename Function> 984 template <typename Function>
985 void forAllNonThrottledFrameViews(const Function&); 985 void forAllNonThrottledFrameViews(const Function&);
986 986
987 void setNeedsUpdateViewportIntersection();
988 void updateViewportIntersectionsForSubtree( 987 void updateViewportIntersectionsForSubtree(
989 DocumentLifecycle::LifecycleState targetState); 988 DocumentLifecycle::LifecycleState targetState);
990 void updateRenderThrottlingStatus(bool hidden, bool subtreeThrottled); 989 void updateRenderThrottlingStatus(bool hidden, bool subtreeThrottled);
991 void notifyResizeObservers(); 990 void notifyResizeObservers();
992 991
993 // PaintInvalidationCapableScrollableArea 992 // PaintInvalidationCapableScrollableArea
994 LayoutScrollbarPart* resizer() const override { return nullptr; } 993 LayoutScrollbarPart* resizer() const override { return nullptr; }
995 994
996 bool checkLayoutInvalidationIsAllowed() const; 995 bool checkLayoutInvalidationIsAllowed() const;
997 996
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
1068 IntSize m_initialViewportSize; 1067 IntSize m_initialViewportSize;
1069 bool m_layoutSizeFixedToFrameSize; 1068 bool m_layoutSizeFixedToFrameSize;
1070 1069
1071 Timer<FrameView> m_didScrollTimer; 1070 Timer<FrameView> m_didScrollTimer;
1072 1071
1073 Vector<IntRect> m_tickmarks; 1072 Vector<IntRect> m_tickmarks;
1074 1073
1075 float m_browserControlsViewportAdjustment; 1074 float m_browserControlsViewportAdjustment;
1076 1075
1077 bool m_needsUpdateWidgetGeometries; 1076 bool m_needsUpdateWidgetGeometries;
1078 bool m_needsUpdateViewportIntersection;
1079 bool m_needsUpdateViewportIntersectionInSubtree;
1080 1077
1081 #if ENABLE(ASSERT) 1078 #if ENABLE(ASSERT)
1082 // Verified when finalizing. 1079 // Verified when finalizing.
1083 bool m_hasBeenDisposed; 1080 bool m_hasBeenDisposed;
1084 #endif 1081 #endif
1085 1082
1086 ScrollbarMode m_horizontalScrollbarMode; 1083 ScrollbarMode m_horizontalScrollbarMode;
1087 ScrollbarMode m_verticalScrollbarMode; 1084 ScrollbarMode m_verticalScrollbarMode;
1088 1085
1089 bool m_horizontalScrollbarLock; 1086 bool m_horizontalScrollbarLock;
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
1208 widget.isFrameView()); 1205 widget.isFrameView());
1209 DEFINE_TYPE_CASTS(FrameView, 1206 DEFINE_TYPE_CASTS(FrameView,
1210 ScrollableArea, 1207 ScrollableArea,
1211 scrollableArea, 1208 scrollableArea,
1212 scrollableArea->isFrameView(), 1209 scrollableArea->isFrameView(),
1213 scrollableArea.isFrameView()); 1210 scrollableArea.isFrameView());
1214 1211
1215 } // namespace blink 1212 } // namespace blink
1216 1213
1217 #endif // FrameView_h 1214 #endif // FrameView_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/IntersectionObserver.cpp ('k') | third_party/WebKit/Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698