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

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

Issue 132233010: [SVG] SVGAnimatedRect migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 11 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
Index: Source/core/svg/SVGGraphicsElement.h
diff --git a/Source/core/svg/SVGGraphicsElement.h b/Source/core/svg/SVGGraphicsElement.h
index b709b8e6de5d32ae97bcda6ebe72630ebe25f39f..3022c9752d8fe8a557711856b9122ef356d2fd73 100644
--- a/Source/core/svg/SVGGraphicsElement.h
+++ b/Source/core/svg/SVGGraphicsElement.h
@@ -23,6 +23,7 @@
#include "core/svg/SVGAnimatedTransformList.h"
#include "core/svg/SVGElement.h"
+#include "core/svg/SVGRectTearOff.h"
#include "core/svg/SVGTests.h"
namespace WebCore {
@@ -46,8 +47,11 @@ public:
virtual AffineTransform animatedLocalTransform() const;
virtual AffineTransform* supplementalTransform() OVERRIDE;
- virtual SVGRect getBBox();
- SVGRect getStrokeBBox();
+ virtual FloatRect getBBox();
+ FloatRect getStrokeBBox();
+
+ PassRefPtr<SVGRectTearOff> getBBoxFromJavascript();
+ PassRefPtr<SVGRectTearOff> getStrokeBBoxFromJavascript();
// "base class" methods for all the elements which render as paths
virtual void toClipPath(Path&);

Powered by Google App Engine
This is Rietveld 408576698