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

Unified Diff: Source/core/svg/SVGSVGElement.h

Issue 19096011: Get rid of SVGRect special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGRect.h ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGSVGElement.h
diff --git a/Source/core/svg/SVGSVGElement.h b/Source/core/svg/SVGSVGElement.h
index 1ac6cf08ef5e13810694626e84a9ee1044a36612..b0c0a3b03529dcc3e3b9acd0a033dc60baf54435 100644
--- a/Source/core/svg/SVGSVGElement.h
+++ b/Source/core/svg/SVGSVGElement.h
@@ -59,7 +59,7 @@ public:
const AtomicString& contentStyleType() const;
void setContentStyleType(const AtomicString& type);
- FloatRect viewport() const;
+ SVGRect viewport() const;
float pixelUnitToMillimeterX() const;
float pixelUnitToMillimeterY() const;
@@ -78,7 +78,7 @@ public:
Length intrinsicWidth(ConsiderCSSMode = RespectCSSProperties) const;
Length intrinsicHeight(ConsiderCSSMode = RespectCSSProperties) const;
FloatSize currentViewportSize() const;
- FloatRect currentViewBoxRect() const;
+ SVGRect currentViewBoxRect() const;
float currentScale() const;
void setCurrentScale(float scale);
@@ -103,10 +103,10 @@ public:
void unsuspendRedrawAll();
void forceRedraw();
- PassRefPtr<NodeList> getIntersectionList(const FloatRect&, SVGElement* referenceElement) const;
- PassRefPtr<NodeList> getEnclosureList(const FloatRect&, SVGElement* referenceElement) const;
- bool checkIntersection(SVGElement*, const FloatRect&) const;
- bool checkEnclosure(SVGElement*, const FloatRect&) const;
+ PassRefPtr<NodeList> getIntersectionList(const SVGRect&, SVGElement* referenceElement) const;
+ PassRefPtr<NodeList> getEnclosureList(const SVGRect&, SVGElement* referenceElement) const;
+ bool checkIntersection(SVGElement*, const SVGRect&) const;
+ bool checkEnclosure(SVGElement*, const SVGRect&) const;
void deselectAll();
static float createSVGNumber();
@@ -114,7 +114,7 @@ public:
static SVGAngle createSVGAngle();
static SVGPoint createSVGPoint();
static SVGMatrix createSVGMatrix();
- static FloatRect createSVGRect();
+ static SVGRect createSVGRect();
static SVGTransform createSVGTransform();
static SVGTransform createSVGTransformFromMatrix(const SVGMatrix&);
@@ -157,7 +157,7 @@ private:
CollectEnclosureList
};
- PassRefPtr<NodeList> collectIntersectionOrEnclosureList(const FloatRect&, SVGElement*, CollectIntersectionOrEnclosure) const;
+ PassRefPtr<NodeList> collectIntersectionOrEnclosureList(const SVGRect&, SVGElement*, CollectIntersectionOrEnclosure) const;
BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSVGElement)
DECLARE_ANIMATED_LENGTH(X, x)
« no previous file with comments | « Source/core/svg/SVGRect.h ('k') | Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698