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

Side by Side Diff: third_party/WebKit/Source/core/frame/FrameView.h

Issue 2671853003: [SPInvalidation] Use GeometryMapper in PaintLayerClipper for paint. (Closed)
Patch Set: none Created 3 years, 10 months 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 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
820 void applyTransformForTopFrameSpace(TransformState&); 820 void applyTransformForTopFrameSpace(TransformState&);
821 821
822 // TODO(kenrb): These are temporary methods pending resolution of 822 // TODO(kenrb): These are temporary methods pending resolution of
823 // https://crbug.com/680606. Animation timelines and hosts for scrolling 823 // https://crbug.com/680606. Animation timelines and hosts for scrolling
824 // are normally owned by ScrollingCoordinator, but there is only one 824 // are normally owned by ScrollingCoordinator, but there is only one
825 // of those objects per page. To get around this, we temporarily stash a 825 // of those objects per page. To get around this, we temporarily stash a
826 // unique timeline and host on each OOPIF FrameView. 826 // unique timeline and host on each OOPIF FrameView.
827 void setAnimationTimeline(std::unique_ptr<CompositorAnimationTimeline>); 827 void setAnimationTimeline(std::unique_ptr<CompositorAnimationTimeline>);
828 void setAnimationHost(std::unique_ptr<CompositorAnimationHost>); 828 void setAnimationHost(std::unique_ptr<CompositorAnimationHost>);
829 829
830 // Returns the GeometryMapper associated with the root local frame.
831 GeometryMapper& geometryMapper();
832
830 protected: 833 protected:
831 // Scroll the content via the compositor. 834 // Scroll the content via the compositor.
832 bool scrollContentsFastPath(const IntSize& scrollDelta); 835 bool scrollContentsFastPath(const IntSize& scrollDelta);
833 836
834 // Scroll the content by invalidating everything. 837 // Scroll the content by invalidating everything.
835 void scrollContentsSlowPath(); 838 void scrollContentsSlowPath();
836 839
837 ScrollBehavior scrollBehaviorStyle() const override; 840 ScrollBehavior scrollBehaviorStyle() const override;
838 841
839 void scrollContentsIfNeeded(); 842 void scrollContentsIfNeeded();
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 widget.isFrameView()); 1238 widget.isFrameView());
1236 DEFINE_TYPE_CASTS(FrameView, 1239 DEFINE_TYPE_CASTS(FrameView,
1237 ScrollableArea, 1240 ScrollableArea,
1238 scrollableArea, 1241 scrollableArea,
1239 scrollableArea->isFrameView(), 1242 scrollableArea->isFrameView(),
1240 scrollableArea.isFrameView()); 1243 scrollableArea.isFrameView());
1241 1244
1242 } // namespace blink 1245 } // namespace blink
1243 1246
1244 #endif // FrameView_h 1247 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698