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

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

Issue 153883003: [SVG] SVGAnimatedTransform{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove m_zoomAndPan Created 6 years, 10 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/SVGRadialGradientElement.cpp ('k') | Source/core/svg/SVGSVGElement.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, 2006 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 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
24 #include "core/svg/SVGAnimatedBoolean.h" 24 #include "core/svg/SVGAnimatedBoolean.h"
25 #include "core/svg/SVGAnimatedLength.h" 25 #include "core/svg/SVGAnimatedLength.h"
26 #include "core/svg/SVGFitToViewBox.h" 26 #include "core/svg/SVGFitToViewBox.h"
27 #include "core/svg/SVGGraphicsElement.h" 27 #include "core/svg/SVGGraphicsElement.h"
28 #include "core/svg/SVGLengthTearOff.h" 28 #include "core/svg/SVGLengthTearOff.h"
29 #include "core/svg/SVGPointTearOff.h" 29 #include "core/svg/SVGPointTearOff.h"
30 #include "core/svg/SVGZoomAndPan.h" 30 #include "core/svg/SVGZoomAndPan.h"
31 31
32 namespace WebCore { 32 namespace WebCore {
33 33
34 class SVGMatrixTearOff;
34 class SVGAngleTearOff; 35 class SVGAngleTearOff;
35 class SVGMatrix;
36 class SVGNumberTearOff; 36 class SVGNumberTearOff;
37 class SVGTransform; 37 class SVGTransformTearOff;
38 class SVGViewSpec; 38 class SVGViewSpec;
39 class SVGViewElement; 39 class SVGViewElement;
40 class SMILTimeContainer; 40 class SMILTimeContainer;
41 41
42 class SVGSVGElement FINAL : public SVGGraphicsElement, 42 class SVGSVGElement FINAL : public SVGGraphicsElement,
43 public SVGFitToViewBox, 43 public SVGFitToViewBox,
44 public SVGZoomAndPan { 44 public SVGZoomAndPan {
45 public: 45 public:
46 static PassRefPtr<SVGSVGElement> create(Document&); 46 static PassRefPtr<SVGSVGElement> create(Document&);
47 47
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 PassRefPtr<NodeList> getIntersectionList(PassRefPtr<SVGRectTearOff>, SVGElem ent* referenceElement) const; 103 PassRefPtr<NodeList> getIntersectionList(PassRefPtr<SVGRectTearOff>, SVGElem ent* referenceElement) const;
104 PassRefPtr<NodeList> getEnclosureList(PassRefPtr<SVGRectTearOff>, SVGElement * referenceElement) const; 104 PassRefPtr<NodeList> getEnclosureList(PassRefPtr<SVGRectTearOff>, SVGElement * referenceElement) const;
105 bool checkIntersection(SVGElement*, PassRefPtr<SVGRectTearOff>) const; 105 bool checkIntersection(SVGElement*, PassRefPtr<SVGRectTearOff>) const;
106 bool checkEnclosure(SVGElement*, PassRefPtr<SVGRectTearOff>) const; 106 bool checkEnclosure(SVGElement*, PassRefPtr<SVGRectTearOff>) const;
107 void deselectAll(); 107 void deselectAll();
108 108
109 static PassRefPtr<SVGNumberTearOff> createSVGNumber(); 109 static PassRefPtr<SVGNumberTearOff> createSVGNumber();
110 static PassRefPtr<SVGLengthTearOff> createSVGLength(); 110 static PassRefPtr<SVGLengthTearOff> createSVGLength();
111 static PassRefPtr<SVGAngleTearOff> createSVGAngle(); 111 static PassRefPtr<SVGAngleTearOff> createSVGAngle();
112 static PassRefPtr<SVGPointTearOff> createSVGPoint(); 112 static PassRefPtr<SVGPointTearOff> createSVGPoint();
113 static SVGMatrix createSVGMatrix(); 113 static PassRefPtr<SVGMatrixTearOff> createSVGMatrix();
114 static PassRefPtr<SVGRectTearOff> createSVGRect(); 114 static PassRefPtr<SVGRectTearOff> createSVGRect();
115 static SVGTransform createSVGTransform(); 115 static PassRefPtr<SVGTransformTearOff> createSVGTransform();
116 static SVGTransform createSVGTransformFromMatrix(const SVGMatrix&); 116 static PassRefPtr<SVGTransformTearOff> createSVGTransformFromMatrix(PassRefP tr<SVGMatrixTearOff>);
117 117
118 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co nst; 118 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co nst;
119 119
120 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode) ; 120 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode) ;
121 121
122 Element* getElementById(const AtomicString&) const; 122 Element* getElementById(const AtomicString&) const;
123 123
124 bool widthAttributeEstablishesViewport() const; 124 bool widthAttributeEstablishesViewport() const;
125 bool heightAttributeEstablishesViewport() const; 125 bool heightAttributeEstablishesViewport() const;
126 126
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 inline bool isSVGSVGElement(const Node& node) 178 inline bool isSVGSVGElement(const Node& node)
179 { 179 {
180 return node.isSVGElement() && toSVGElement(node).isSVGSVGElement(); 180 return node.isSVGElement() && toSVGElement(node).isSVGSVGElement();
181 } 181 }
182 182
183 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(SVGSVGElement); 183 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(SVGSVGElement);
184 184
185 } // namespace WebCore 185 } // namespace WebCore
186 186
187 #endif 187 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGRadialGradientElement.cpp ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698