LEFT | RIGHT |
(no file at all) | |
1 /* | 1 /* |
2 * Copyright (C) 2006 Apple Inc. | 2 * Copyright (C) 2006 Apple Inc. |
3 * Copyright (C) 2009 Google, Inc. | 3 * Copyright (C) 2009 Google, Inc. |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 22 matching lines...) Expand all Loading... |
33 WTF_MAKE_ISO_ALLOCATED(RenderSVGForeignObject); | 33 WTF_MAKE_ISO_ALLOCATED(RenderSVGForeignObject); |
34 public: | 34 public: |
35 RenderSVGForeignObject(SVGForeignObjectElement&, RenderStyle&&); | 35 RenderSVGForeignObject(SVGForeignObjectElement&, RenderStyle&&); |
36 virtual ~RenderSVGForeignObject(); | 36 virtual ~RenderSVGForeignObject(); |
37 | 37 |
38 SVGForeignObjectElement& foreignObjectElement() const; | 38 SVGForeignObjectElement& foreignObjectElement() const; |
39 | 39 |
40 void paint(PaintInfo&, const LayoutPoint&) override; | 40 void paint(PaintInfo&, const LayoutPoint&) override; |
41 | 41 |
42 LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repai
ntContainer) const override; | 42 LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObject* repai
ntContainer) const override; |
43 FloatRect computeFloatRectForRepaint(const FloatRect&, const RenderLayerMode
lObject* repaintContainer, bool fixed = false) const override; | 43 FloatRect computeFloatRectForRepaint(const FloatRect&, const RenderLayerMode
lObject* repaintContainer, bool fixed = false, bool useInclusiveIntersection = f
alse, bool* intersects = nullptr) const override; |
44 LayoutRect computeRectForRepaint(const LayoutRect&, const RenderLayerModelOb
ject* repaintContainer, RepaintContext = { }) const override; | 44 LayoutRect computeRectForRepaint(const LayoutRect&, const RenderLayerModelOb
ject* repaintContainer, RepaintContext = { }) const override; |
45 | 45 |
46 bool requiresLayer() const override { return false; } | 46 bool requiresLayer() const override { return false; } |
47 void layout() override; | 47 void layout() override; |
48 | 48 |
49 FloatRect objectBoundingBox() const override { return FloatRect(FloatPoint()
, m_viewport.size()); } | 49 FloatRect objectBoundingBox() const override { return FloatRect(FloatPoint()
, m_viewport.size()); } |
50 FloatRect strokeBoundingBox() const override { return FloatRect(FloatPoint()
, m_viewport.size()); } | 50 FloatRect strokeBoundingBox() const override { return FloatRect(FloatPoint()
, m_viewport.size()); } |
51 FloatRect repaintRectInLocalCoordinates() const override { return FloatRect(
FloatPoint(), m_viewport.size()); } | 51 FloatRect repaintRectInLocalCoordinates() const override { return FloatRect(
FloatPoint(), m_viewport.size()); } |
52 | 52 |
53 bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoin
t& pointInParent, HitTestAction) override; | 53 bool nodeAtFloatPoint(const HitTestRequest&, HitTestResult&, const FloatPoin
t& pointInParent, HitTestAction) override; |
(...skipping 14 matching lines...) Expand all Loading... |
68 const AffineTransform& localToParentTransform() const override; | 68 const AffineTransform& localToParentTransform() const override; |
69 AffineTransform localTransform() const override { return m_localTransform; } | 69 AffineTransform localTransform() const override { return m_localTransform; } |
70 | 70 |
71 AffineTransform m_localTransform; | 71 AffineTransform m_localTransform; |
72 mutable AffineTransform m_localToParentTransform; | 72 mutable AffineTransform m_localToParentTransform; |
73 FloatRect m_viewport; | 73 FloatRect m_viewport; |
74 bool m_needsTransformUpdate { true }; | 74 bool m_needsTransformUpdate { true }; |
75 }; | 75 }; |
76 | 76 |
77 } // namespace WebCore | 77 } // namespace WebCore |
LEFT | RIGHT |