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

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

Issue 2516473002: Cross-origin iframes: collect data under hypothetical loading strategies (Closed)
Patch Set: Do arithmetic instead of intersects Created 3 years, 12 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 887 matching lines...) Expand 10 before | Expand all | Expand 10 after
898 ScrollbarMode& hMode, 898 ScrollbarMode& hMode,
899 ScrollbarMode& vMode) const; 899 ScrollbarMode& vMode) const;
900 900
901 void updateCounters(); 901 void updateCounters();
902 void forceLayoutParentViewIfNeeded(); 902 void forceLayoutParentViewIfNeeded();
903 void performPreLayoutTasks(); 903 void performPreLayoutTasks();
904 void performLayout(bool inSubtreeLayout); 904 void performLayout(bool inSubtreeLayout);
905 void scheduleOrPerformPostLayoutTasks(); 905 void scheduleOrPerformPostLayoutTasks();
906 void performPostLayoutTasks(); 906 void performPostLayoutTasks();
907 907
908 void maybeRecordLoadReason(); 908 void recordDeferredLoadingStats();
909 909
910 DocumentLifecycle& lifecycle() const; 910 DocumentLifecycle& lifecycle() const;
911 911
912 void contentsResized() override; 912 void contentsResized() override;
913 void scrollbarExistenceDidChange(); 913 void scrollbarExistenceDidChange();
914 914
915 // Override Widget methods to do point conversion via layoutObjects, in order 915 // Override Widget methods to do point conversion via layoutObjects, in order
916 // to take transforms into account. 916 // to take transforms into account.
917 IntRect convertToContainingWidget(const IntRect&) const override; 917 IntRect convertToContainingWidget(const IntRect&) const override;
918 IntRect convertFromContainingWidget(const IntRect&) const override; 918 IntRect convertFromContainingWidget(const IntRect&) const override;
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1073 IntSize m_initialViewportSize; 1073 IntSize m_initialViewportSize;
1074 bool m_layoutSizeFixedToFrameSize; 1074 bool m_layoutSizeFixedToFrameSize;
1075 1075
1076 Timer<FrameView> m_didScrollTimer; 1076 Timer<FrameView> m_didScrollTimer;
1077 1077
1078 Vector<IntRect> m_tickmarks; 1078 Vector<IntRect> m_tickmarks;
1079 1079
1080 float m_browserControlsViewportAdjustment; 1080 float m_browserControlsViewportAdjustment;
1081 1081
1082 bool m_needsUpdateWidgetGeometries; 1082 bool m_needsUpdateWidgetGeometries;
1083 bool m_needsUpdateViewportIntersection;
1084 bool m_needsUpdateViewportIntersectionInSubtree; 1083 bool m_needsUpdateViewportIntersectionInSubtree;
1085 1084
1086 #if ENABLE(ASSERT) 1085 #if ENABLE(ASSERT)
1087 // Verified when finalizing. 1086 // Verified when finalizing.
1088 bool m_hasBeenDisposed; 1087 bool m_hasBeenDisposed;
1089 #endif 1088 #endif
1090 1089
1091 ScrollbarMode m_horizontalScrollbarMode; 1090 ScrollbarMode m_horizontalScrollbarMode;
1092 ScrollbarMode m_verticalScrollbarMode; 1091 ScrollbarMode m_verticalScrollbarMode;
1093 1092
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
1209 widget.isFrameView()); 1208 widget.isFrameView());
1210 DEFINE_TYPE_CASTS(FrameView, 1209 DEFINE_TYPE_CASTS(FrameView,
1211 ScrollableArea, 1210 ScrollableArea,
1212 scrollableArea, 1211 scrollableArea,
1213 scrollableArea->isFrameView(), 1212 scrollableArea->isFrameView(),
1214 scrollableArea.isFrameView()); 1213 scrollableArea.isFrameView());
1215 1214
1216 } // namespace blink 1215 } // namespace blink
1217 1216
1218 #endif // FrameView_h 1217 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698