OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 2 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
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 16 matching lines...) Expand all Loading... |
27 namespace blink { | 27 namespace blink { |
28 | 28 |
29 class RenderLayer; | 29 class RenderLayer; |
30 | 30 |
31 class RenderSVGResourceContainer : public RenderSVGHiddenContainer, | 31 class RenderSVGResourceContainer : public RenderSVGHiddenContainer, |
32 public RenderSVGResource { | 32 public RenderSVGResource { |
33 public: | 33 public: |
34 explicit RenderSVGResourceContainer(SVGElement*); | 34 explicit RenderSVGResourceContainer(SVGElement*); |
35 virtual ~RenderSVGResourceContainer(); | 35 virtual ~RenderSVGResourceContainer(); |
36 | 36 |
| 37 virtual void removeAllClientsFromCache(bool markForInvalidation = true) = 0; |
| 38 virtual void removeClientFromCache(RenderObject*, bool markForInvalidation =
true) = 0; |
| 39 |
37 virtual void layout() OVERRIDE; | 40 virtual void layout() OVERRIDE; |
38 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE FINAL; | 41 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle) OV
ERRIDE FINAL; |
39 | 42 |
40 virtual bool isSVGResourceContainer() const OVERRIDE FINAL { return true; } | 43 virtual bool isSVGResourceContainer() const OVERRIDE FINAL { return true; } |
41 | 44 |
42 static AffineTransform transformOnNonScalingStroke(RenderObject*, const Affi
neTransform& resourceTransform); | 45 static AffineTransform transformOnNonScalingStroke(RenderObject*, const Affi
neTransform& resourceTransform); |
43 | 46 |
44 void idChanged(); | 47 void idChanged(); |
45 void addClientRenderLayer(Node*); | 48 void addClientRenderLayer(Node*); |
46 void addClientRenderLayer(RenderLayer*); | 49 void addClientRenderLayer(RenderLayer*); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
106 return container->cast<Renderer>(); | 109 return container->cast<Renderer>(); |
107 | 110 |
108 return 0; | 111 return 0; |
109 } | 112 } |
110 | 113 |
111 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGResourceContainer, isSVGResourceContain
er()); | 114 DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderSVGResourceContainer, isSVGResourceContain
er()); |
112 | 115 |
113 } | 116 } |
114 | 117 |
115 #endif | 118 #endif |
OLD | NEW |