| 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 | 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 742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 753 bool needsPaintPropertyUpdate() const { return m_needsPaintPropertyUpdate; } | 753 bool needsPaintPropertyUpdate() const { return m_needsPaintPropertyUpdate; } |
| 754 | 754 |
| 755 // Set when the whole frame subtree needs full paint property update, | 755 // Set when the whole frame subtree needs full paint property update, |
| 756 // e.g. when beginning or finishing printing. | 756 // e.g. when beginning or finishing printing. |
| 757 void setSubtreeNeedsPaintPropertyUpdate(); | 757 void setSubtreeNeedsPaintPropertyUpdate(); |
| 758 | 758 |
| 759 // TODO(ojan): Merge this with IntersectionObserver once it lands. | 759 // TODO(ojan): Merge this with IntersectionObserver once it lands. |
| 760 IntRect computeVisibleArea(); | 760 IntRect computeVisibleArea(); |
| 761 | 761 |
| 762 // Viewport size that should be used for viewport units (i.e. 'vh'/'vw'). | 762 // Viewport size that should be used for viewport units (i.e. 'vh'/'vw'). |
| 763 // May include the size of browser controls. See implementation for further |
| 764 // documentation. |
| 763 FloatSize viewportSizeForViewportUnits() const; | 765 FloatSize viewportSizeForViewportUnits() const; |
| 764 | 766 |
| 767 // Initial containing block size for evaluating viewport-dependent media |
| 768 // queries. |
| 769 FloatSize viewportSizeForMediaQueries() const; |
| 770 |
| 765 ScrollAnchor* scrollAnchor() override { return &m_scrollAnchor; } | 771 ScrollAnchor* scrollAnchor() override { return &m_scrollAnchor; } |
| 766 void clearScrollAnchor(); | 772 void clearScrollAnchor(); |
| 767 bool shouldPerformScrollAnchoring() const override; | 773 bool shouldPerformScrollAnchoring() const override; |
| 768 void enqueueScrollAnchoringAdjustment(ScrollableArea*); | 774 void enqueueScrollAnchoringAdjustment(ScrollableArea*); |
| 769 void performScrollAnchoringAdjustments(); | 775 void performScrollAnchoringAdjustments(); |
| 770 | 776 |
| 771 // For PaintInvalidator temporarily. TODO(wangxianzhu): Move into | 777 // For PaintInvalidator temporarily. TODO(wangxianzhu): Move into |
| 772 // PaintInvalidator. | 778 // PaintInvalidator. |
| 773 void invalidatePaintIfNeeded(const PaintInvalidationState&); | 779 void invalidatePaintIfNeeded(const PaintInvalidationState&); |
| 774 | 780 |
| (...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1260 frameViewBase.isFrameView()); | 1266 frameViewBase.isFrameView()); |
| 1261 DEFINE_TYPE_CASTS(FrameView, | 1267 DEFINE_TYPE_CASTS(FrameView, |
| 1262 ScrollableArea, | 1268 ScrollableArea, |
| 1263 scrollableArea, | 1269 scrollableArea, |
| 1264 scrollableArea->isFrameView(), | 1270 scrollableArea->isFrameView(), |
| 1265 scrollableArea.isFrameView()); | 1271 scrollableArea.isFrameView()); |
| 1266 | 1272 |
| 1267 } // namespace blink | 1273 } // namespace blink |
| 1268 | 1274 |
| 1269 #endif // FrameView_h | 1275 #endif // FrameView_h |
| OLD | NEW |