OLD | NEW |
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 14 matching lines...) Expand all Loading... |
25 namespace WebCore { | 25 namespace WebCore { |
26 | 26 |
27 class SVGElement; | 27 class SVGElement; |
28 | 28 |
29 class RenderSVGBlock : public RenderBlockFlow { | 29 class RenderSVGBlock : public RenderBlockFlow { |
30 public: | 30 public: |
31 explicit RenderSVGBlock(SVGElement*); | 31 explicit RenderSVGBlock(SVGElement*); |
32 | 32 |
33 virtual LayoutRect visualOverflowRect() const OVERRIDE FINAL; | 33 virtual LayoutRect visualOverflowRect() const OVERRIDE FINAL; |
34 | 34 |
| 35 virtual LayoutRect clippedOverflowRectForRepaint(const RenderLayerModelObjec
t* repaintContainer) const OVERRIDE FINAL; |
| 36 virtual void computeFloatRectForRepaint(const RenderLayerModelObject* repain
tContainer, FloatRect&, bool fixed = false) const OVERRIDE FINAL; |
| 37 |
| 38 virtual void mapLocalToContainer(const RenderLayerModelObject* repaintContai
ner, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, bool* wasFixed =
0) const OVERRIDE FINAL; |
| 39 virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObj
ect* ancestorToStopAt, RenderGeometryMap&) const OVERRIDE FINAL; |
| 40 |
| 41 virtual AffineTransform localTransform() const OVERRIDE FINAL { return m_loc
alTransform; } |
| 42 |
| 43 virtual LayerType layerTypeRequired() const OVERRIDE FINAL { return NoLayer;
} |
| 44 |
35 protected: | 45 protected: |
36 virtual void willBeDestroyed() OVERRIDE; | 46 virtual void willBeDestroyed() OVERRIDE; |
37 | 47 |
| 48 AffineTransform m_localTransform; |
| 49 |
38 private: | 50 private: |
39 virtual void updateFromStyle() OVERRIDE FINAL; | 51 virtual void updateFromStyle() OVERRIDE FINAL; |
40 | 52 |
41 virtual bool isSVG() const OVERRIDE FINAL { return true; } | 53 virtual bool isSVG() const OVERRIDE FINAL { return true; } |
42 | 54 |
43 virtual bool supportsPartialLayout() const OVERRIDE FINAL { return false; } | 55 virtual bool supportsPartialLayout() const OVERRIDE FINAL { return false; } |
44 | 56 |
45 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const OVERRIDE FINAL; | 57 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const OVERRIDE FINAL; |
46 | 58 |
47 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE FINAL; | 59 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE FINAL; |
| 60 |
| 61 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, const HitTes
tLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAct
ion) OVERRIDE; |
48 }; | 62 }; |
49 | 63 |
50 } | 64 } |
51 #endif | 65 #endif |
OLD | NEW |