| 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 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 825 void applyTransformForTopFrameSpace(TransformState&); | 825 void applyTransformForTopFrameSpace(TransformState&); |
| 826 | 826 |
| 827 // TODO(kenrb): These are temporary methods pending resolution of | 827 // TODO(kenrb): These are temporary methods pending resolution of |
| 828 // https://crbug.com/680606. Animation timelines and hosts for scrolling | 828 // https://crbug.com/680606. Animation timelines and hosts for scrolling |
| 829 // are normally owned by ScrollingCoordinator, but there is only one | 829 // are normally owned by ScrollingCoordinator, but there is only one |
| 830 // of those objects per page. To get around this, we temporarily stash a | 830 // of those objects per page. To get around this, we temporarily stash a |
| 831 // unique timeline and host on each OOPIF FrameView. | 831 // unique timeline and host on each OOPIF FrameView. |
| 832 void setAnimationTimeline(std::unique_ptr<CompositorAnimationTimeline>); | 832 void setAnimationTimeline(std::unique_ptr<CompositorAnimationTimeline>); |
| 833 void setAnimationHost(std::unique_ptr<CompositorAnimationHost>); | 833 void setAnimationHost(std::unique_ptr<CompositorAnimationHost>); |
| 834 | 834 |
| 835 GeometryMapper* geometryMapper(); |
| 836 |
| 835 protected: | 837 protected: |
| 836 // Scroll the content via the compositor. | 838 // Scroll the content via the compositor. |
| 837 bool scrollContentsFastPath(const IntSize& scrollDelta); | 839 bool scrollContentsFastPath(const IntSize& scrollDelta); |
| 838 | 840 |
| 839 // Scroll the content by invalidating everything. | 841 // Scroll the content by invalidating everything. |
| 840 void scrollContentsSlowPath(); | 842 void scrollContentsSlowPath(); |
| 841 | 843 |
| 842 ScrollBehavior scrollBehaviorStyle() const override; | 844 ScrollBehavior scrollBehaviorStyle() const override; |
| 843 | 845 |
| 844 void scrollContentsIfNeeded(); | 846 void scrollContentsIfNeeded(); |
| (...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1241 widget.isFrameView()); | 1243 widget.isFrameView()); |
| 1242 DEFINE_TYPE_CASTS(FrameView, | 1244 DEFINE_TYPE_CASTS(FrameView, |
| 1243 ScrollableArea, | 1245 ScrollableArea, |
| 1244 scrollableArea, | 1246 scrollableArea, |
| 1245 scrollableArea->isFrameView(), | 1247 scrollableArea->isFrameView(), |
| 1246 scrollableArea.isFrameView()); | 1248 scrollableArea.isFrameView()); |
| 1247 | 1249 |
| 1248 } // namespace blink | 1250 } // namespace blink |
| 1249 | 1251 |
| 1250 #endif // FrameView_h | 1252 #endif // FrameView_h |
| OLD | NEW |