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

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

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 months 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGGElement.cpp ('k') | Source/core/svg/SVGGraphicsElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const override { return calculateAnimatedLocalTransform(); } 55 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const override { return calculateAnimatedLocalTransform(); }
56 bool hasAnimatedLocalTransform() const; 56 bool hasAnimatedLocalTransform() const;
57 AffineTransform calculateAnimatedLocalTransform() const; 57 AffineTransform calculateAnimatedLocalTransform() const;
58 virtual AffineTransform* animateMotionTransform() override; 58 virtual AffineTransform* animateMotionTransform() override;
59 59
60 virtual FloatRect getBBox(); 60 virtual FloatRect getBBox();
61 PassRefPtrWillBeRawPtr<SVGRectTearOff> getBBoxFromJavascript(); 61 PassRefPtrWillBeRawPtr<SVGRectTearOff> getBBoxFromJavascript();
62 62
63 // "base class" methods for all the elements which render as paths 63 // "base class" methods for all the elements which render as paths
64 virtual void toClipPath(Path&); 64 virtual void toClipPath(Path&);
65 virtual LayoutObject* createLayoutObject(const LayoutStyle&) override; 65 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override;
66 66
67 virtual bool isValid() const override final { return SVGTests::isValid(docum ent()); } 67 virtual bool isValid() const override final { return SVGTests::isValid(docum ent()); }
68 68
69 SVGAnimatedTransformList* transform() { return m_transform.get(); } 69 SVGAnimatedTransformList* transform() { return m_transform.get(); }
70 const SVGAnimatedTransformList* transform() const { return m_transform.get() ; } 70 const SVGAnimatedTransformList* transform() const { return m_transform.get() ; }
71 71
72 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St yleUpdateStrategy, 72 AffineTransform computeCTM(SVGElement::CTMScope mode, SVGGraphicsElement::St yleUpdateStrategy,
73 const SVGGraphicsElement* ancestor = 0) const; 73 const SVGGraphicsElement* ancestor = 0) const;
74 74
75 DECLARE_VIRTUAL_TRACE(); 75 DECLARE_VIRTUAL_TRACE();
(...skipping 15 matching lines...) Expand all
91 inline bool isSVGGraphicsElement(const SVGElement& element) 91 inline bool isSVGGraphicsElement(const SVGElement& element)
92 { 92 {
93 return element.isSVGGraphicsElement(); 93 return element.isSVGGraphicsElement();
94 } 94 }
95 95
96 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); 96 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement);
97 97
98 } // namespace blink 98 } // namespace blink
99 99
100 #endif // SVGGraphicsElement_h 100 #endif // SVGGraphicsElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGGElement.cpp ('k') | Source/core/svg/SVGGraphicsElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698