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 774 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
785 FloatSize ViewportSizeForMediaQueries() const; | 785 FloatSize ViewportSizeForMediaQueries() const; |
786 | 786 |
787 ScrollAnchor* GetScrollAnchor() override { return &scroll_anchor_; } | 787 ScrollAnchor* GetScrollAnchor() override { return &scroll_anchor_; } |
788 void ClearScrollAnchor(); | 788 void ClearScrollAnchor(); |
789 bool ShouldPerformScrollAnchoring() const override; | 789 bool ShouldPerformScrollAnchoring() const override; |
790 void EnqueueScrollAnchoringAdjustment(ScrollableArea*); | 790 void EnqueueScrollAnchoringAdjustment(ScrollableArea*); |
791 void PerformScrollAnchoringAdjustments(); | 791 void PerformScrollAnchoringAdjustments(); |
792 | 792 |
793 // For PaintInvalidator temporarily. TODO(wangxianzhu): Move into | 793 // For PaintInvalidator temporarily. TODO(wangxianzhu): Move into |
794 // PaintInvalidator. | 794 // PaintInvalidator. |
795 void InvalidatePaintIfNeeded(const PaintInvalidationState&); | 795 void InvalidatePaint(const PaintInvalidationState&); |
796 | 796 |
797 // Only for SPv2. | 797 // Only for SPv2. |
798 std::unique_ptr<JSONObject> CompositedLayersAsJSON(LayerTreeFlags); | 798 std::unique_ptr<JSONObject> CompositedLayersAsJSON(LayerTreeFlags); |
799 | 799 |
800 // Recursively update frame tree. Each frame has its only | 800 // Recursively update frame tree. Each frame has its only |
801 // scroll on main reason. Given the following frame tree | 801 // scroll on main reason. Given the following frame tree |
802 //.. A... | 802 //.. A... |
803 //../.\.. | 803 //../.\.. |
804 //.B...C. | 804 //.B...C. |
805 //.|..... | 805 //.|..... |
(...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1273 frameViewBase.IsFrameView()); | 1273 frameViewBase.IsFrameView()); |
1274 DEFINE_TYPE_CASTS(FrameView, | 1274 DEFINE_TYPE_CASTS(FrameView, |
1275 ScrollableArea, | 1275 ScrollableArea, |
1276 scrollableArea, | 1276 scrollableArea, |
1277 scrollableArea->IsFrameView(), | 1277 scrollableArea->IsFrameView(), |
1278 scrollableArea.IsFrameView()); | 1278 scrollableArea.IsFrameView()); |
1279 | 1279 |
1280 } // namespace blink | 1280 } // namespace blink |
1281 | 1281 |
1282 #endif // FrameView_h | 1282 #endif // FrameView_h |
OLD | NEW |