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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutObject.h

Issue 1516683002: Introducing LayoutObject::mapToVisibleRectInContainerSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Rename to visibleRectInContainerSpace Created 5 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutObject.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
index 709f3bba05d33abb9efaceb114c0ba7a0e2ce02f..ae9e41aeaf2cafcdb7bf506b76a85c82231f3a96 100644
--- a/third_party/WebKit/Source/core/layout/LayoutObject.h
+++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
@@ -1083,9 +1083,10 @@ public:
virtual LayoutRect absoluteClippedOverflowRect() const;
virtual LayoutRect clippedOverflowRectForPaintInvalidation(const LayoutBoxModelObject* paintInvalidationContainer, const PaintInvalidationState* = nullptr) const;
- // Given a rect in the object's coordinate space, compute a rect suitable for invalidating paints of
- // that rect in the coordinate space of paintInvalidationContainer.
- virtual void mapRectToPaintInvalidationBacking(const LayoutBoxModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const;
+ // Given a rect in the object's coordinate space, compute a rect suitable for invalidating paints of that
+ // rect in the coordinate space of paintInvalidationContainer. If intermediate containers have overflow
chrishtr 2015/12/10 19:17:13 clipping or scrolling of any kind
szager1 2015/12/10 20:25:09 Done.
+ // clipping, it is applied; but overflow clipping is *not* applied for paintInvalidationContainer itself.
chrishtr 2015/12/10 19:17:13 But the scroll offset of paintInvalidationContaine
szager1 2015/12/10 20:25:09 Isn't that redundant? The method name already ind
chrishtr 2015/12/10 21:19:40 I guess. Seems harmless to me but ok.
+ virtual void visibleRectInContainerSpace(const LayoutBoxModelObject* paintInvalidationContainer, LayoutRect&, const PaintInvalidationState*) const;
chrishtr 2015/12/10 19:13:35 s/paintInvalidationContainer/container/ Since thi
szager1 2015/12/10 20:25:09 Done.
// Return the offset to the column in which the specified point (in flow-thread coordinates)
// lives. This is used to convert a flow-thread point to a visual point.
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutListMarker.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutObject.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698