Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(229)

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGGraphicsElement.h

Issue 1420263002: Remove some dead code in SVG "mixins" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 SVGElement* farthestViewportElement() const; 54 SVGElement* farthestViewportElement() const;
55 55
56 AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const ov erride { return calculateAnimatedLocalTransform(); } 56 AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const ov erride { return calculateAnimatedLocalTransform(); }
57 bool hasAnimatedLocalTransform() const; 57 bool hasAnimatedLocalTransform() const;
58 AffineTransform calculateAnimatedLocalTransform() const; 58 AffineTransform calculateAnimatedLocalTransform() const;
59 AffineTransform* animateMotionTransform() override; 59 AffineTransform* animateMotionTransform() override;
60 60
61 virtual FloatRect getBBox(); 61 virtual FloatRect getBBox();
62 PassRefPtrWillBeRawPtr<SVGRectTearOff> getBBoxFromJavascript(); 62 PassRefPtrWillBeRawPtr<SVGRectTearOff> getBBoxFromJavascript();
63 63
64 bool isValid() const final { return SVGTests::isValid(document()); } 64 bool isValid() const final { return SVGTests::isValid(); }
65 65
66 SVGAnimatedTransformList* transform() { return m_transform.get(); } 66 SVGAnimatedTransformList* transform() { return m_transform.get(); }
67 const SVGAnimatedTransformList* transform() const { return m_transform.get() ; } 67 const SVGAnimatedTransformList* transform() const { return m_transform.get() ; }
68 68
69 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St yleUpdateStrategy, 69 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St yleUpdateStrategy,
70 const SVGGraphicsElement* ancestor = 0) const; 70 const SVGGraphicsElement* ancestor = 0) const;
71 71
72 DECLARE_VIRTUAL_TRACE(); 72 DECLARE_VIRTUAL_TRACE();
73 73
74 protected: 74 protected:
(...skipping 12 matching lines...) Expand all
87 inline bool isSVGGraphicsElement(const SVGElement& element) 87 inline bool isSVGGraphicsElement(const SVGElement& element)
88 { 88 {
89 return element.isSVGGraphicsElement(); 89 return element.isSVGGraphicsElement();
90 } 90 }
91 91
92 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); 92 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement);
93 93
94 } // namespace blink 94 } // namespace blink
95 95
96 #endif // SVGGraphicsElement_h 96 #endif // SVGGraphicsElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp ('k') | third_party/WebKit/Source/core/svg/SVGMaskElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698