X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2Fthird_party%2FWebKit%2FSource%2Fcore%2Fsvg%2FSVGSVGElement.h;h=0941693bc15de65e7b2b1cc203f9da9a3cc60c93;hb=ff3e2503a20db9193d323c1d19c38c68004dec4a;hp=4376f45af80cd172c7a3b17e96d12ef71b4a7c8e;hpb=7338fba38ba696536d1cc9d389afd716a6ab2fe6;p=platform%2Fframework%2Fweb%2Fcrosswalk.git diff --git a/src/third_party/WebKit/Source/core/svg/SVGSVGElement.h b/src/third_party/WebKit/Source/core/svg/SVGSVGElement.h index 4376f45..0941693 100644 --- a/src/third_party/WebKit/Source/core/svg/SVGSVGElement.h +++ b/src/third_party/WebKit/Source/core/svg/SVGSVGElement.h @@ -23,8 +23,6 @@ #include "core/svg/SVGAnimatedBoolean.h" #include "core/svg/SVGAnimatedLength.h" -#include "core/svg/SVGAnimatedPreserveAspectRatio.h" -#include "core/svg/SVGAnimatedRect.h" #include "core/svg/SVGFitToViewBox.h" #include "core/svg/SVGGraphicsElement.h" #include "core/svg/SVGLengthTearOff.h" @@ -96,10 +94,11 @@ public: float getCurrentTime() const; void setCurrentTime(float seconds); - unsigned suspendRedraw(unsigned maxWaitMilliseconds); - void unsuspendRedraw(unsigned suspendHandleId); - void unsuspendRedrawAll(); - void forceRedraw(); + // Stubs for the deprecated 'redraw' interface. + unsigned suspendRedraw(unsigned) { return 1; } + void unsuspendRedraw(unsigned) { } + void unsuspendRedrawAll() { } + void forceRedraw() { } PassRefPtr getIntersectionList(PassRefPtr, SVGElement* referenceElement) const; PassRefPtr getEnclosureList(PassRefPtr, SVGElement* referenceElement) const; @@ -125,17 +124,10 @@ public: bool widthAttributeEstablishesViewport() const; bool heightAttributeEstablishesViewport() const; - SVGZoomAndPanType zoomAndPan() const { return m_zoomAndPan; } - void setZoomAndPan(unsigned short zoomAndPan) { m_zoomAndPan = SVGZoomAndPan::parseFromNumber(zoomAndPan); } - - bool hasEmptyViewBox() const { return m_viewBox->currentValue()->isValid() && m_viewBox->currentValue()->value().isEmpty(); } - SVGAnimatedLength* x() const { return m_x.get(); } SVGAnimatedLength* y() const { return m_y.get(); } SVGAnimatedLength* width() const { return m_width.get(); } SVGAnimatedLength* height() const { return m_height.get(); } - SVGAnimatedRect* viewBox() const { return m_viewBox.get(); } - SVGAnimatedPreserveAspectRatio* preserveAspectRatio() { return m_preserveAspectRatio.get(); } private: explicit SVGSVGElement(Document&); @@ -170,15 +162,12 @@ private: RefPtr m_y; RefPtr m_width; RefPtr m_height; - RefPtr m_viewBox; - RefPtr m_preserveAspectRatio; BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSVGElement) END_DECLARE_ANIMATED_PROPERTIES virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const OVERRIDE; bool m_useCurrentView; - SVGZoomAndPanType m_zoomAndPan; RefPtr m_timeContainer; RefPtr m_translation; RefPtr m_viewSpec;