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

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

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

Powered by Google App Engine
This is Rietveld 408576698