| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 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 * Copyright (C) 2014 Google, Inc. | 4 * Copyright (C) 2014 Google, 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 16 matching lines...) Expand all Loading... |
| 27 #include "core/svg/SVGRectTearOff.h" | 27 #include "core/svg/SVGRectTearOff.h" |
| 28 #include "core/svg/SVGTests.h" | 28 #include "core/svg/SVGTests.h" |
| 29 | 29 |
| 30 namespace blink { | 30 namespace blink { |
| 31 | 31 |
| 32 class AffineTransform; | 32 class AffineTransform; |
| 33 class Path; | 33 class Path; |
| 34 class SVGMatrixTearOff; | 34 class SVGMatrixTearOff; |
| 35 | 35 |
| 36 class SVGGraphicsElement : public SVGElement, public SVGTests { | 36 class SVGGraphicsElement : public SVGElement, public SVGTests { |
| 37 DEFINE_WRAPPERTYPEINFO(); |
| 37 public: | 38 public: |
| 38 virtual ~SVGGraphicsElement(); | 39 virtual ~SVGGraphicsElement(); |
| 39 | 40 |
| 40 enum StyleUpdateStrategy { AllowStyleUpdate, DisallowStyleUpdate }; | 41 enum StyleUpdateStrategy { AllowStyleUpdate, DisallowStyleUpdate }; |
| 41 | 42 |
| 42 AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate); | 43 AffineTransform getCTM(StyleUpdateStrategy = AllowStyleUpdate); |
| 43 AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate); | 44 AffineTransform getScreenCTM(StyleUpdateStrategy = AllowStyleUpdate); |
| 44 PassRefPtr<SVGMatrixTearOff> getCTMFromJavascript(); | 45 PassRefPtr<SVGMatrixTearOff> getCTMFromJavascript(); |
| 45 PassRefPtr<SVGMatrixTearOff> getScreenCTMFromJavascript(); | 46 PassRefPtr<SVGMatrixTearOff> getScreenCTMFromJavascript(); |
| 46 | 47 |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 inline bool isSVGGraphicsElement(const SVGElement& element) | 90 inline bool isSVGGraphicsElement(const SVGElement& element) |
| 90 { | 91 { |
| 91 return element.isSVGGraphicsElement(); | 92 return element.isSVGGraphicsElement(); |
| 92 } | 93 } |
| 93 | 94 |
| 94 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); | 95 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); |
| 95 | 96 |
| 96 } // namespace blink | 97 } // namespace blink |
| 97 | 98 |
| 98 #endif // SVGGraphicsElement_h | 99 #endif // SVGGraphicsElement_h |
| OLD | NEW |