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

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: Created 4 years, 1 month 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 834 matching lines...) Expand 10 before | Expand all | Expand 10 after
845 ScrollbarMode& hMode, 845 ScrollbarMode& hMode,
846 ScrollbarMode& vMode); 846 ScrollbarMode& vMode);
847 847
848 void updateCounters(); 848 void updateCounters();
849 void forceLayoutParentViewIfNeeded(); 849 void forceLayoutParentViewIfNeeded();
850 void performPreLayoutTasks(); 850 void performPreLayoutTasks();
851 void performLayout(bool inSubtreeLayout); 851 void performLayout(bool inSubtreeLayout);
852 void scheduleOrPerformPostLayoutTasks(); 852 void scheduleOrPerformPostLayoutTasks();
853 void performPostLayoutTasks(); 853 void performPostLayoutTasks();
854 854
855 void maybeRecordLoadReason(); 855 void recordDeferredLoadingStats();
856 856
857 DocumentLifecycle& lifecycle() const; 857 DocumentLifecycle& lifecycle() const;
858 858
859 void contentsResized() override; 859 void contentsResized() override;
860 void scrollbarExistenceDidChange(); 860 void scrollbarExistenceDidChange();
861 861
862 // Override Widget methods to do point conversion via layoutObjects, in order 862 // Override Widget methods to do point conversion via layoutObjects, in order
863 // to take transforms into account. 863 // to take transforms into account.
864 IntRect convertToContainingWidget(const IntRect&) const override; 864 IntRect convertToContainingWidget(const IntRect&) const override;
865 IntRect convertFromContainingWidget(const IntRect&) const override; 865 IntRect convertFromContainingWidget(const IntRect&) const override;
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
1016 IntSize m_initialViewportSize; 1016 IntSize m_initialViewportSize;
1017 bool m_layoutSizeFixedToFrameSize; 1017 bool m_layoutSizeFixedToFrameSize;
1018 1018
1019 Timer<FrameView> m_didScrollTimer; 1019 Timer<FrameView> m_didScrollTimer;
1020 1020
1021 Vector<IntRect> m_tickmarks; 1021 Vector<IntRect> m_tickmarks;
1022 1022
1023 float m_browserControlsViewportAdjustment; 1023 float m_browserControlsViewportAdjustment;
1024 1024
1025 bool m_needsUpdateWidgetGeometries; 1025 bool m_needsUpdateWidgetGeometries;
1026 bool m_needsUpdateViewportIntersection;
dgrogan 2016/11/17 22:28:33 A previous CL removed the last uses. Just cleaning
1027 bool m_needsUpdateViewportIntersectionInSubtree; 1026 bool m_needsUpdateViewportIntersectionInSubtree;
1028 1027
1029 #if ENABLE(ASSERT) 1028 #if ENABLE(ASSERT)
1030 // Verified when finalizing. 1029 // Verified when finalizing.
1031 bool m_hasBeenDisposed; 1030 bool m_hasBeenDisposed;
1032 #endif 1031 #endif
1033 1032
1034 ScrollbarMode m_horizontalScrollbarMode; 1033 ScrollbarMode m_horizontalScrollbarMode;
1035 ScrollbarMode m_verticalScrollbarMode; 1034 ScrollbarMode m_verticalScrollbarMode;
1036 1035
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1148 widget.isFrameView()); 1147 widget.isFrameView());
1149 DEFINE_TYPE_CASTS(FrameView, 1148 DEFINE_TYPE_CASTS(FrameView,
1150 ScrollableArea, 1149 ScrollableArea,
1151 scrollableArea, 1150 scrollableArea,
1152 scrollableArea->isFrameView(), 1151 scrollableArea->isFrameView(),
1153 scrollableArea.isFrameView()); 1152 scrollableArea.isFrameView());
1154 1153
1155 } // namespace blink 1154 } // namespace blink
1156 1155
1157 #endif // FrameView_h 1156 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698