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

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

Issue 2163213007: Deprecate currentView, useCurrentView properties of SVGSVGElement and SVGViewSpec interface (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Keep #svgView() impl Created 4 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
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..67f11823bfb0c647cb557c6d5011e1d670a73601 100644
--- a/third_party/WebKit/Source/core/svg/SVGViewSpec.h
+++ b/third_party/WebKit/Source/core/svg/SVGViewSpec.h
@@ -20,7 +20,6 @@
#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"
@@ -28,8 +27,7 @@
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)
@@ -39,17 +37,10 @@ public:
bool parseViewSpec(const String&);
void reset();
- void detachContextElement();
template<typename T> void inheritViewAttributesFromElement(T*);
// JS API
fs 2016/07/26 16:10:10 Nit: Drop this comment
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&);

Powered by Google App Engine
This is Rietveld 408576698