LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (c) 2009, Google Inc. All rights reserved. | 2 * Copyright (c) 2009, Google Inc. All rights reserved. |
3 *· | 3 *· |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
6 * met: | 6 * met: |
7 *· | 7 *· |
8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
(...skipping 29 matching lines...) Expand all Loading... |
40 // but not all. (e.g. RenderSVGForeignObject, RenderSVGBlock) thus methods | 40 // but not all. (e.g. RenderSVGForeignObject, RenderSVGBlock) thus methods |
41 // required by SVG renders need to be declared on RenderObject, but shared | 41 // required by SVG renders need to be declared on RenderObject, but shared |
42 // logic can go in this class or in SVGRenderSupport. | 42 // logic can go in this class or in SVGRenderSupport. |
43 | 43 |
44 class SVGElement; | 44 class SVGElement; |
45 | 45 |
46 class RenderSVGModelObject : public RenderElement { | 46 class RenderSVGModelObject : public RenderElement { |
47 WTF_MAKE_ISO_ALLOCATED(RenderSVGModelObject); | 47 WTF_MAKE_ISO_ALLOCATED(RenderSVGModelObject); |
48 public: | 48 public: |
49 LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repai
ntContainer) const override; | 49 LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repai
ntContainer) const override; |
50 FloatRect computeFloatRectForRepaint(const FloatRect&, const RenderLayerMode
lObject* repaintContainer, bool fixed = false) const final; | 50 FloatRect computeFloatRectForRepaint(const FloatRect&, const RenderLayerMode
lObject* repaintContainer, bool fixed = false, bool useInclusiveIntersection = f
alse, bool* intersects = nullptr) const final; |
51 LayoutRect outlineBoundsForRepaint(const RenderLayerModelObject* repaintCont
ainer, const RenderGeometryMap*) const final; | 51 LayoutRect outlineBoundsForRepaint(const RenderLayerModelObject* repaintCont
ainer, const RenderGeometryMap*) const final; |
52 | 52 |
53 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c
onst final; | 53 void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedOffset) c
onst final; |
54 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override; | 54 void absoluteQuads(Vector<FloatQuad>&, bool* wasFixed) const override; |
55 | 55 |
56 void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, Tra
nsformState&, MapCoordinatesFlags, bool* wasFixed) const final; | 56 void mapLocalToContainer(const RenderLayerModelObject* repaintContainer, Tra
nsformState&, MapCoordinatesFlags, bool* wasFixed) const final; |
57 const RenderObject* pushMappingToContainer(const RenderLayerModelObject* anc
estorToStopAt, RenderGeometryMap&) const final; | 57 const RenderObject* pushMappingToContainer(const RenderLayerModelObject* anc
estorToStopAt, RenderGeometryMap&) const final; |
58 void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override; | 58 void styleDidChange(StyleDifference, const RenderStyle* oldStyle) override; |
59 | 59 |
60 static bool checkIntersection(RenderElement*, const FloatRect&); | 60 static bool checkIntersection(RenderElement*, const FloatRect&); |
(...skipping 15 matching lines...) Expand all Loading... |
76 | 76 |
77 // This method should never be called, SVG uses a different nodeAtPoint meth
od | 77 // This method should never be called, SVG uses a different nodeAtPoint meth
od |
78 bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocatio
n& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) ove
rride; | 78 bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTestLocatio
n& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction) ove
rride; |
79 void absoluteFocusRingQuads(Vector<FloatQuad>&) final; | 79 void absoluteFocusRingQuads(Vector<FloatQuad>&) final; |
80 bool m_hasSVGShadow; | 80 bool m_hasSVGShadow; |
81 }; | 81 }; |
82 | 82 |
83 } // namespace WebCore | 83 } // namespace WebCore |
84 | 84 |
85 SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderSVGModelObject, isRenderSVGModelObjec
t()) | 85 SPECIALIZE_TYPE_TRAITS_RENDER_OBJECT(RenderSVGModelObject, isRenderSVGModelObjec
t()) |
LEFT | RIGHT |