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

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

Issue 2552513002: Rework SVGViewSpec<->SVGSVGElement integration (Closed)
Patch Set: Move setup back to SVGSVGElement Created 4 years 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 | « no previous file | third_party/WebKit/Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/svg/SVGSVGElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGSVGElement.h b/third_party/WebKit/Source/core/svg/SVGSVGElement.h
index 0f4e7a8dc47eb5349eb6150cd718727deaa712ab..24c3b361df7e031d5add5b7ca7a7cbd353079919 100644
--- a/third_party/WebKit/Source/core/svg/SVGSVGElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGSVGElement.h
@@ -38,7 +38,6 @@ class SVGMatrixTearOff;
class SVGNumberTearOff;
class SVGPointTearOff;
class SVGTransformTearOff;
-class SVGViewElement;
class SVGViewSpec;
class SVGSVGElement final : public SVGGraphicsElement,
@@ -111,6 +110,9 @@ class SVGSVGElement final : public SVGGraphicsElement,
DECLARE_VIRTUAL_TRACE();
+ SVGViewSpec* viewSpec() const { return m_viewSpec; }
+ void setViewSpec(SVGViewSpec*);
+
private:
explicit SVGSVGElement(Document&);
~SVGSVGElement() override;
@@ -136,8 +138,6 @@ class SVGSVGElement final : public SVGGraphicsElement,
bool selfHasRelativeLengths() const override;
- void inheritViewAttributes(SVGViewElement*);
-
bool shouldSynthesizeViewBox() const;
void updateUserTransform();
@@ -161,7 +161,6 @@ class SVGSVGElement final : public SVGGraphicsElement,
AffineTransform localCoordinateSpaceTransform(
SVGElement::CTMScope) const override;
- bool m_useCurrentView;
Member<SMILTimeContainer> m_timeContainer;
Member<SVGPoint> m_translation;
Member<SVGViewSpec> m_viewSpec;
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698