| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of the WebKit project. | 2 * This file is part of the WebKit project. |
| 3 * | 3 * |
| 4 * Copyright (C) 2006 Apple Computer, Inc. | 4 * Copyright (C) 2006 Apple Computer, Inc. |
| 5 * | 5 * |
| 6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
| 7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
| 8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
| 9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
| 10 * | 10 * |
| (...skipping 24 matching lines...) Expand all Loading... |
| 35 public: | 35 public: |
| 36 RenderForeignObject(SVGForeignObjectElement*); | 36 RenderForeignObject(SVGForeignObjectElement*); |
| 37 | 37 |
| 38 virtual const char* renderName() const { return "RenderForeignObject"; } | 38 virtual const char* renderName() const { return "RenderForeignObject"; } |
| 39 | 39 |
| 40 virtual void paint(PaintInfo&, int parentX, int parentY); | 40 virtual void paint(PaintInfo&, int parentX, int parentY); |
| 41 | 41 |
| 42 virtual TransformationMatrix localTransform() const { return m_localTransfor
m; } | 42 virtual TransformationMatrix localTransform() const { return m_localTransfor
m; } |
| 43 virtual bool calculateLocalTransform(); | 43 virtual bool calculateLocalTransform(); |
| 44 | 44 |
| 45 virtual void computeRectForRepaint(RenderBoxModelObject* repaintContainer, I
ntRect&, bool fixed = false); | 45 virtual void computeRectForRepaint(RenderBox* repaintContainer, IntRect&, bo
ol fixed = false); |
| 46 virtual bool requiresLayer() const { return false; } | 46 virtual bool requiresLayer() const { return false; } |
| 47 virtual void layout(); | 47 virtual void layout(); |
| 48 | 48 |
| 49 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y
, int tx, int ty, HitTestAction); | 49 virtual bool nodeAtPoint(const HitTestRequest&, HitTestResult&, int x, int y
, int tx, int ty, HitTestAction); |
| 50 | 50 |
| 51 private: | 51 private: |
| 52 TransformationMatrix translationForAttributes(); | 52 TransformationMatrix translationForAttributes(); |
| 53 | 53 |
| 54 TransformationMatrix m_localTransform; | 54 TransformationMatrix m_localTransform; |
| 55 IntRect m_absoluteBounds; | 55 IntRect m_absoluteBounds; |
| 56 }; | 56 }; |
| 57 | 57 |
| 58 } // namespace WebCore | 58 } // namespace WebCore |
| 59 | 59 |
| 60 #endif // ENABLE(SVG) && ENABLE(SVG_FOREIGN_OBJECT) | 60 #endif // ENABLE(SVG) && ENABLE(SVG_FOREIGN_OBJECT) |
| 61 #endif // RenderForeignObject_h | 61 #endif // RenderForeignObject_h |
| OLD | NEW |