Index: third_party/WebKit/Source/core/svg/SVGViewSpec.h |
diff --git a/third_party/WebKit/Source/core/svg/SVGViewSpec.h b/third_party/WebKit/Source/core/svg/SVGViewSpec.h |
index 5cace7c4bfd86644105c3aa3e08dbaf04fa20ab2..8627a0d64b54c537d3635cf3405809ed61d0df89 100644 |
--- a/third_party/WebKit/Source/core/svg/SVGViewSpec.h |
+++ b/third_party/WebKit/Source/core/svg/SVGViewSpec.h |
@@ -16,20 +16,16 @@ |
* the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
* Boston, MA 02110-1301, USA. |
*/ |
- |
#ifndef SVGViewSpec_h |
#define SVGViewSpec_h |
-#include "bindings/core/v8/ScriptWrappable.h" |
#include "core/svg/SVGFitToViewBox.h" |
#include "core/svg/SVGSVGElement.h" |
#include "core/svg/SVGZoomAndPan.h" |
-#include "platform/heap/Handle.h" |
namespace blink { |
-class SVGViewSpec final : public GarbageCollectedFinalized<SVGViewSpec>, public ScriptWrappable, public SVGZoomAndPan, public SVGFitToViewBox { |
- DEFINE_WRAPPERTYPEINFO(); |
+class SVGViewSpec final : public GarbageCollectedFinalized<SVGViewSpec>, public SVGZoomAndPan, public SVGFitToViewBox { |
USING_GARBAGE_COLLECTED_MIXIN(SVGViewSpec); |
public: |
static SVGViewSpec* create(SVGSVGElement* contextElement) |
@@ -37,20 +33,8 @@ public: |
return new SVGViewSpec(contextElement); |
} |
- bool parseViewSpec(const String&); |
void reset(); |
- void detachContextElement(); |
template<typename T> void inheritViewAttributesFromElement(T*); |
- |
- // JS API |
- SVGTransformList* transform() { return m_transform ? m_transform->baseValue() : 0; } |
- SVGTransformListTearOff* transformFromJavascript() { return m_transform ? m_transform->baseVal() : 0; } |
- SVGElement* viewTarget() const; |
- String viewBoxString() const; |
- String preserveAspectRatioString() const; |
- String transformString() const; |
- String viewTargetString() const { return m_viewTargetString; } |
- // override SVGZoomAndPan.setZoomAndPan so can throw exception on write |
void setZoomAndPan(unsigned short value) { } // read only |
void setZoomAndPan(unsigned short value, ExceptionState&); |
@@ -58,17 +42,9 @@ public: |
DECLARE_VIRTUAL_TRACE_WRAPPERS(); |
- SVGSVGElement* contextElement() { return m_contextElement.get(); } |
- |
private: |
explicit SVGViewSpec(SVGSVGElement*); |
- |
- template<typename CharType> |
- bool parseViewSpecInternal(const CharType* ptr, const CharType* end); |
- |
Member<SVGSVGElement> m_contextElement; |
- Member<SVGAnimatedTransformList> m_transform; |
- String m_viewTargetString; |
}; |
template <typename T> |