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

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 GeometryMapper* geometryMapper();
pdr. 2017/02/10 20:51:06 Please add a comment that this returns the root fr
chrishtr 2017/02/10 22:56:36 Done.
831
830 protected: 832 protected:
831 // Scroll the content via the compositor. 833 // Scroll the content via the compositor.
832 bool scrollContentsFastPath(const IntSize& scrollDelta); 834 bool scrollContentsFastPath(const IntSize& scrollDelta);
833 835
834 // Scroll the content by invalidating everything. 836 // Scroll the content by invalidating everything.
835 void scrollContentsSlowPath(); 837 void scrollContentsSlowPath();
836 838
837 ScrollBehavior scrollBehaviorStyle() const override; 839 ScrollBehavior scrollBehaviorStyle() const override;
838 840
839 void scrollContentsIfNeeded(); 841 void scrollContentsIfNeeded();
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after
1235 widget.isFrameView()); 1237 widget.isFrameView());
1236 DEFINE_TYPE_CASTS(FrameView, 1238 DEFINE_TYPE_CASTS(FrameView,
1237 ScrollableArea, 1239 ScrollableArea,
1238 scrollableArea, 1240 scrollableArea,
1239 scrollableArea->isFrameView(), 1241 scrollableArea->isFrameView(),
1240 scrollableArea.isFrameView()); 1242 scrollableArea.isFrameView());
1241 1243
1242 } // namespace blink 1244 } // namespace blink
1243 1245
1244 #endif // FrameView_h 1246 #endif // FrameView_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698