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

Side by Side Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGBlock.h

Issue 1817693002: Support edge-inclusive intersections in mapToVisibleRectInAncestorSpace (Closed) Base URL: https://chromium.googlesource.com/chromium/src@intersection-observer-idle-callback
Patch Set: more tests Created 4 years, 9 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) 2006 Apple Computer, Inc. 2 * Copyright (C) 2006 Apple Computer, Inc.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 26 matching lines...) Expand all
37 const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ances torToStopAt, LayoutGeometryMap&) const final; 37 const LayoutObject* pushMappingToContainer(const LayoutBoxModelObject* ances torToStopAt, LayoutGeometryMap&) const final;
38 38
39 AffineTransform localSVGTransform() const final { return m_localTransform; } 39 AffineTransform localSVGTransform() const final { return m_localTransform; }
40 40
41 PaintLayerType layerTypeRequired() const final { return NoPaintLayer; } 41 PaintLayerType layerTypeRequired() const final { return NoPaintLayer; }
42 42
43 void invalidateTreeIfNeeded(const PaintInvalidationState&) override; 43 void invalidateTreeIfNeeded(const PaintInvalidationState&) override;
44 44
45 protected: 45 protected:
46 void willBeDestroyed() override; 46 void willBeDestroyed() override;
47 void mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, L ayoutRect&, const PaintInvalidationState*) const final; 47 bool mapToVisibleRectInAncestorSpace(const LayoutBoxModelObject* ancestor, L ayoutRect&, const PaintInvalidationState*, VisibleRectFlags = DefaultVisibleRect Flags) const final;
48 48
49 AffineTransform m_localTransform; 49 AffineTransform m_localTransform;
50 50
51 bool isOfType(LayoutObjectType type) const override { return type == LayoutO bjectSVG || LayoutBlockFlow::isOfType(type); } 51 bool isOfType(LayoutObjectType type) const override { return type == LayoutO bjectSVG || LayoutBlockFlow::isOfType(type); }
52 private: 52 private:
53 bool allowsOverflowClip() const final; 53 bool allowsOverflowClip() const final;
54 54
55 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c onst final; 55 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c onst final;
56 56
57 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final; 57 void styleDidChange(StyleDifference, const ComputedStyle* oldStyle) final;
58 58
59 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override; 59 bool nodeAtPoint(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) override;
60 }; 60 };
61 61
62 } // namespace blink 62 } // namespace blink
63 #endif // LayoutSVGBlock_h 63 #endif // LayoutSVGBlock_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698