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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 enum StyleUpdateStrategy { kAllowStyleUpdate, kDisallowStyleUpdate }; | 44 enum StyleUpdateStrategy { kAllowStyleUpdate, kDisallowStyleUpdate }; |
45 | 45 |
46 AffineTransform GetCTM(StyleUpdateStrategy = kAllowStyleUpdate); | 46 AffineTransform GetCTM(StyleUpdateStrategy = kAllowStyleUpdate); |
47 AffineTransform GetScreenCTM(StyleUpdateStrategy = kAllowStyleUpdate); | 47 AffineTransform GetScreenCTM(StyleUpdateStrategy = kAllowStyleUpdate); |
48 SVGMatrixTearOff* getCTMFromJavascript(); | 48 SVGMatrixTearOff* getCTMFromJavascript(); |
49 SVGMatrixTearOff* getScreenCTMFromJavascript(); | 49 SVGMatrixTearOff* getScreenCTMFromJavascript(); |
50 | 50 |
51 SVGElement* nearestViewportElement() const; | 51 SVGElement* nearestViewportElement() const; |
52 SVGElement* farthestViewportElement() const; | 52 SVGElement* farthestViewportElement() const; |
53 | 53 |
54 AffineTransform LocalCoordinateSpaceTransform() const override { | 54 AffineTransform LocalCoordinateSpaceTransform(CTMScope) const override { |
55 return CalculateTransform(kIncludeMotionTransform); | 55 return CalculateTransform(kIncludeMotionTransform); |
56 } | 56 } |
57 AffineTransform* AnimateMotionTransform() override; | 57 AffineTransform* AnimateMotionTransform() override; |
58 | 58 |
59 virtual FloatRect GetBBox(); | 59 virtual FloatRect GetBBox(); |
60 SVGRectTearOff* getBBoxFromJavascript(); | 60 SVGRectTearOff* getBBoxFromJavascript(); |
61 | 61 |
62 bool IsValid() const final { return SVGTests::IsValid(); } | 62 bool IsValid() const final { return SVGTests::IsValid(); } |
63 | 63 |
64 SVGAnimatedTransformList* transform() { return transform_.Get(); } | 64 SVGAnimatedTransformList* transform() { return transform_.Get(); } |
(...skipping 27 matching lines...) Expand all Loading... |
92 | 92 |
93 inline bool IsSVGGraphicsElement(const SVGElement& element) { | 93 inline bool IsSVGGraphicsElement(const SVGElement& element) { |
94 return element.IsSVGGraphicsElement(); | 94 return element.IsSVGGraphicsElement(); |
95 } | 95 } |
96 | 96 |
97 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); | 97 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); |
98 | 98 |
99 } // namespace blink | 99 } // namespace blink |
100 | 100 |
101 #endif // SVGGraphicsElement_h | 101 #endif // SVGGraphicsElement_h |
OLD | NEW |