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

Unified Diff: Source/core/svg/SVGLocatable.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/SVGGraphicsElement.cpp ('k') | Source/core/svg/SVGLocatable.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGLocatable.h
diff --git a/Source/core/svg/SVGLocatable.h b/Source/core/svg/SVGLocatable.h
index a284ec359269994c9c90785cdba00692a4377a07..bac961d47eaf96198d0e4f5cee7c43b14d2b3e82 100644
--- a/Source/core/svg/SVGLocatable.h
+++ b/Source/core/svg/SVGLocatable.h
@@ -23,10 +23,10 @@
#define SVGLocatable_h
#include "core/platform/graphics/transforms/AffineTransform.h"
+#include "core/svg/SVGRect.h"
namespace WebCore {
-class FloatRect;
class SVGElement;
typedef int ExceptionCode;
@@ -41,7 +41,7 @@ public:
enum StyleUpdateStrategy { AllowStyleUpdate, DisallowStyleUpdate };
- virtual FloatRect getBBox(StyleUpdateStrategy) = 0;
+ virtual SVGRect getBBox(StyleUpdateStrategy) = 0;
virtual AffineTransform getCTM(StyleUpdateStrategy) = 0;
virtual AffineTransform getScreenCTM(StyleUpdateStrategy) = 0;
AffineTransform getTransformToElement(SVGElement*, ExceptionCode&, StyleUpdateStrategy = AllowStyleUpdate);
@@ -57,7 +57,7 @@ public:
protected:
virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope) const { return AffineTransform(); }
- static FloatRect getBBox(SVGElement*, StyleUpdateStrategy);
+ static SVGRect getBBox(SVGElement*, StyleUpdateStrategy);
static AffineTransform computeCTM(SVGElement*, CTMScope, StyleUpdateStrategy);
};
« no previous file with comments | « Source/core/svg/SVGGraphicsElement.cpp ('k') | Source/core/svg/SVGLocatable.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698