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

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: haraken review 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
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 16 matching lines...) Expand all
27 #include "core/svg/SVGAnimatedRect.h" 27 #include "core/svg/SVGAnimatedRect.h"
28 #include "core/svg/SVGFitToViewBox.h" 28 #include "core/svg/SVGFitToViewBox.h"
29 #include "core/svg/SVGGraphicsElement.h" 29 #include "core/svg/SVGGraphicsElement.h"
30 #include "core/svg/SVGLengthTearOff.h" 30 #include "core/svg/SVGLengthTearOff.h"
31 #include "core/svg/SVGPointTearOff.h" 31 #include "core/svg/SVGPointTearOff.h"
32 #include "core/svg/SVGZoomAndPan.h" 32 #include "core/svg/SVGZoomAndPan.h"
33 33
34 namespace WebCore { 34 namespace WebCore {
35 35
36 class SVGAngle; 36 class SVGAngle;
37 class SVGMatrix; 37 class SVGMatrixTearOff;
38 class SVGNumberTearOff; 38 class SVGNumberTearOff;
39 class SVGTransform; 39 class SVGTransformTearOff;
40 class SVGViewSpec; 40 class SVGViewSpec;
41 class SVGViewElement; 41 class SVGViewElement;
42 class SMILTimeContainer; 42 class SMILTimeContainer;
43 43
44 class SVGSVGElement FINAL : public SVGGraphicsElement, 44 class SVGSVGElement FINAL : public SVGGraphicsElement,
45 public SVGFitToViewBox, 45 public SVGFitToViewBox,
46 public SVGZoomAndPan { 46 public SVGZoomAndPan {
47 public: 47 public:
48 static PassRefPtr<SVGSVGElement> create(Document&); 48 static PassRefPtr<SVGSVGElement> create(Document&);
49 49
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 PassRefPtr<NodeList> getIntersectionList(PassRefPtr<SVGRectTearOff>, SVGElem ent* referenceElement) const; 104 PassRefPtr<NodeList> getIntersectionList(PassRefPtr<SVGRectTearOff>, SVGElem ent* referenceElement) const;
105 PassRefPtr<NodeList> getEnclosureList(PassRefPtr<SVGRectTearOff>, SVGElement * referenceElement) const; 105 PassRefPtr<NodeList> getEnclosureList(PassRefPtr<SVGRectTearOff>, SVGElement * referenceElement) const;
106 bool checkIntersection(SVGElement*, PassRefPtr<SVGRectTearOff>) const; 106 bool checkIntersection(SVGElement*, PassRefPtr<SVGRectTearOff>) const;
107 bool checkEnclosure(SVGElement*, PassRefPtr<SVGRectTearOff>) const; 107 bool checkEnclosure(SVGElement*, PassRefPtr<SVGRectTearOff>) const;
108 void deselectAll(); 108 void deselectAll();
109 109
110 static PassRefPtr<SVGNumberTearOff> createSVGNumber(); 110 static PassRefPtr<SVGNumberTearOff> createSVGNumber();
111 static PassRefPtr<SVGLengthTearOff> createSVGLength(); 111 static PassRefPtr<SVGLengthTearOff> createSVGLength();
112 static SVGAngle createSVGAngle(); 112 static SVGAngle createSVGAngle();
113 static PassRefPtr<SVGPointTearOff> createSVGPoint(); 113 static PassRefPtr<SVGPointTearOff> createSVGPoint();
114 static SVGMatrix createSVGMatrix(); 114 static PassRefPtr<SVGMatrixTearOff> createSVGMatrix();
115 static PassRefPtr<SVGRectTearOff> createSVGRect(); 115 static PassRefPtr<SVGRectTearOff> createSVGRect();
116 static SVGTransform createSVGTransform(); 116 static PassRefPtr<SVGTransformTearOff> createSVGTransform();
117 static SVGTransform createSVGTransformFromMatrix(const SVGMatrix&); 117 static PassRefPtr<SVGTransformTearOff> createSVGTransformFromMatrix(PassRefP tr<SVGMatrixTearOff>);
118 118
119 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co nst; 119 AffineTransform viewBoxToViewTransform(float viewWidth, float viewHeight) co nst;
120 120
121 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode) ; 121 void setupInitialView(const String& fragmentIdentifier, Element* anchorNode) ;
122 122
123 Element* getElementById(const AtomicString&) const; 123 Element* getElementById(const AtomicString&) const;
124 124
125 bool widthAttributeEstablishesViewport() const; 125 bool widthAttributeEstablishesViewport() const;
126 bool heightAttributeEstablishesViewport() const; 126 bool heightAttributeEstablishesViewport() const;
127 127
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
189 inline bool isSVGSVGElement(const Node& node) 189 inline bool isSVGSVGElement(const Node& node)
190 { 190 {
191 return node.isSVGElement() && toSVGElement(node).isSVGSVGElement(); 191 return node.isSVGElement() && toSVGElement(node).isSVGSVGElement();
192 } 192 }
193 193
194 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(SVGSVGElement); 194 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(SVGSVGElement);
195 195
196 } // namespace WebCore 196 } // namespace WebCore
197 197
198 #endif 198 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698