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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 4 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
« no previous file with comments | « Source/core/svg/SVGDiscardElement.h ('k') | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGElement.h
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h
index 5a3af9b758fc263b4c0cc1ec3290fb8941e96fb6..99cdf58222a55c8a35e0cce069f6e43709265b0e 100644
--- a/Source/core/svg/SVGElement.h
+++ b/Source/core/svg/SVGElement.h
@@ -51,6 +51,7 @@ void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyName
typedef WillBeHeapHashSet<RawPtrWillBeMember<SVGElement> > SVGElementSet;
class SVGElement : public Element {
+ DEFINE_WRAPPERTYPEINFO();
public:
virtual ~SVGElement();
virtual void attach(const AttachContext&) OVERRIDE;
@@ -188,6 +189,8 @@ public:
static const AtomicString& eventParameterName();
+ virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isolate*) OVERRIDE;
+
protected:
SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElement);
@@ -287,8 +290,8 @@ inline bool Node::hasTagName(const SVGQualifiedName& name) const
template <> inline bool isElementOfType<const thisType>(const SVGElement& element) { return is##thisType(element); } \
DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
-}
+} // namespace blink
#include "core/SVGElementTypeHelpers.h"
-#endif
+#endif // SVGElement_h
« no previous file with comments | « Source/core/svg/SVGDiscardElement.h ('k') | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698