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 16 matching lines...) Expand all Loading... |
27 namespace WebCore { | 27 namespace WebCore { |
28 | 28 |
29 class SVGElement; | 29 class SVGElement; |
30 | 30 |
31 class RenderSVGBlock : public RenderBlock { | 31 class RenderSVGBlock : public RenderBlock { |
32 public: | 32 public: |
33 explicit RenderSVGBlock(SVGElement*); | 33 explicit RenderSVGBlock(SVGElement*); |
34 | 34 |
35 virtual LayoutRect visualOverflowRect() const; | 35 virtual LayoutRect visualOverflowRect() const; |
36 | 36 |
| 37 protected: |
| 38 virtual void willBeDestroyed() OVERRIDE; |
| 39 |
37 private: | 40 private: |
38 virtual void setStyle(PassRefPtr<RenderStyle>); | 41 virtual void setStyle(PassRefPtr<RenderStyle>); |
39 virtual void updateBoxModelInfoFromStyle(); | 42 virtual void updateBoxModelInfoFromStyle(); |
40 | 43 |
41 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const; | 44 virtual void absoluteRects(Vector<IntRect>&, const LayoutPoint& accumulatedO
ffset) const; |
42 | 45 |
43 virtual void willBeDestroyed(); | |
44 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); | 46 virtual void styleWillChange(StyleDifference, const RenderStyle* newStyle); |
45 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); | 47 virtual void styleDidChange(StyleDifference, const RenderStyle* oldStyle); |
46 virtual void updateFromElement(); | 48 virtual void updateFromElement(); |
47 }; | 49 }; |
48 | 50 |
49 } | 51 } |
50 #endif | 52 #endif |
51 #endif | 53 #endif |
OLD | NEW |