| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
| 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 13 matching lines...) Expand all Loading... |
| 24 | 24 |
| 25 #include "Document.h" | 25 #include "Document.h" |
| 26 #include "core/platform/graphics/FloatPoint.h" | 26 #include "core/platform/graphics/FloatPoint.h" |
| 27 | 27 |
| 28 namespace WebCore { | 28 namespace WebCore { |
| 29 | 29 |
| 30 class DOMImplementation; | 30 class DOMImplementation; |
| 31 class SVGElement; | 31 class SVGElement; |
| 32 class SVGSVGElement; | 32 class SVGSVGElement; |
| 33 | 33 |
| 34 class SVGDocument : public Document { | 34 class SVGDocument FINAL : public Document { |
| 35 public: | 35 public: |
| 36 static PassRefPtr<SVGDocument> create(Frame* frame, const KURL& url) | 36 static PassRefPtr<SVGDocument> create(Frame* frame, const KURL& url) |
| 37 { | 37 { |
| 38 return adoptRef(new SVGDocument(frame, url)); | 38 return adoptRef(new SVGDocument(frame, url)); |
| 39 } | 39 } |
| 40 | 40 |
| 41 SVGSVGElement* rootElement() const; | 41 SVGSVGElement* rootElement() const; |
| 42 | 42 |
| 43 void dispatchZoomEvent(float prevScale, float newScale); | 43 void dispatchZoomEvent(float prevScale, float newScale); |
| 44 void dispatchScrollEvent(); | 44 void dispatchScrollEvent(); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 72 | 72 |
| 73 // This will catch anyone doing an unnecessary cast. | 73 // This will catch anyone doing an unnecessary cast. |
| 74 void toSVGDocument(const SVGDocument*); | 74 void toSVGDocument(const SVGDocument*); |
| 75 | 75 |
| 76 } // namespace WebCore | 76 } // namespace WebCore |
| 77 | 77 |
| 78 #endif // ENABLE(SVG) | 78 #endif // ENABLE(SVG) |
| 79 #endif // SVGDocument_h | 79 #endif // SVGDocument_h |
| 80 | 80 |
| 81 // vim:ts=4:noet | 81 // vim:ts=4:noet |
| OLD | NEW |