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

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: just look below Created 4 years 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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after
847 ScrollbarMode& hMode, 847 ScrollbarMode& hMode,
848 ScrollbarMode& vMode); 848 ScrollbarMode& vMode);
849 849
850 void updateCounters(); 850 void updateCounters();
851 void forceLayoutParentViewIfNeeded(); 851 void forceLayoutParentViewIfNeeded();
852 void performPreLayoutTasks(); 852 void performPreLayoutTasks();
853 void performLayout(bool inSubtreeLayout); 853 void performLayout(bool inSubtreeLayout);
854 void scheduleOrPerformPostLayoutTasks(); 854 void scheduleOrPerformPostLayoutTasks();
855 void performPostLayoutTasks(); 855 void performPostLayoutTasks();
856 856
857 void maybeRecordLoadReason(); 857 void recordDeferredLoadingStats();
858 858
859 DocumentLifecycle& lifecycle() const; 859 DocumentLifecycle& lifecycle() const;
860 860
861 void contentsResized() override; 861 void contentsResized() override;
862 void scrollbarExistenceDidChange(); 862 void scrollbarExistenceDidChange();
863 863
864 // Override Widget methods to do point conversion via layoutObjects, in order 864 // Override Widget methods to do point conversion via layoutObjects, in order
865 // to take transforms into account. 865 // to take transforms into account.
866 IntRect convertToContainingWidget(const IntRect&) const override; 866 IntRect convertToContainingWidget(const IntRect&) const override;
867 IntRect convertFromContainingWidget(const IntRect&) const override; 867 IntRect convertFromContainingWidget(const IntRect&) const override;
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 IntSize m_initialViewportSize; 1020 IntSize m_initialViewportSize;
1021 bool m_layoutSizeFixedToFrameSize; 1021 bool m_layoutSizeFixedToFrameSize;
1022 1022
1023 Timer<FrameView> m_didScrollTimer; 1023 Timer<FrameView> m_didScrollTimer;
1024 1024
1025 Vector<IntRect> m_tickmarks; 1025 Vector<IntRect> m_tickmarks;
1026 1026
1027 float m_browserControlsViewportAdjustment; 1027 float m_browserControlsViewportAdjustment;
1028 1028
1029 bool m_needsUpdateWidgetGeometries; 1029 bool m_needsUpdateWidgetGeometries;
1030 bool m_needsUpdateViewportIntersection;
1031 bool m_needsUpdateViewportIntersectionInSubtree; 1030 bool m_needsUpdateViewportIntersectionInSubtree;
1032 1031
1033 #if ENABLE(ASSERT) 1032 #if ENABLE(ASSERT)
1034 // Verified when finalizing. 1033 // Verified when finalizing.
1035 bool m_hasBeenDisposed; 1034 bool m_hasBeenDisposed;
1036 #endif 1035 #endif
1037 1036
1038 ScrollbarMode m_horizontalScrollbarMode; 1037 ScrollbarMode m_horizontalScrollbarMode;
1039 ScrollbarMode m_verticalScrollbarMode; 1038 ScrollbarMode m_verticalScrollbarMode;
1040 1039
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
1152 widget.isFrameView()); 1151 widget.isFrameView());
1153 DEFINE_TYPE_CASTS(FrameView, 1152 DEFINE_TYPE_CASTS(FrameView,
1154 ScrollableArea, 1153 ScrollableArea,
1155 scrollableArea, 1154 scrollableArea,
1156 scrollableArea->isFrameView(), 1155 scrollableArea->isFrameView(),
1157 scrollableArea.isFrameView()); 1156 scrollableArea.isFrameView());
1158 1157
1159 } // namespace blink 1158 } // namespace blink
1160 1159
1161 #endif // FrameView_h 1160 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698