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

Unified Diff: Source/core/html/HTMLElement.h

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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/html/HTMLDocument.h ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/html/HTMLElement.h
diff --git a/Source/core/html/HTMLElement.h b/Source/core/html/HTMLElement.h
index f6d4641ae33cb13db06c77a53fc7bd24b907bce9..537f9039dbc78efc5e4b3213ab0741c41b62259a 100644
--- a/Source/core/html/HTMLElement.h
+++ b/Source/core/html/HTMLElement.h
@@ -40,6 +40,7 @@ enum TranslateAttributeMode {
};
class HTMLElement : public Element {
+ DEFINE_WRAPPERTYPEINFO();
public:
DECLARE_ELEMENT_FACTORY_WITH_TAGNAME(HTMLElement);
@@ -99,6 +100,8 @@ public:
HTMLMenuElement* contextMenu() const;
void setContextMenu(HTMLMenuElement*);
+ virtual v8::Handle<v8::Object> wrap(v8::Handle<v8::Object> creationContext, v8::Isolate*) OVERRIDE;
+
protected:
HTMLElement(const QualifiedName& tagName, Document&, ConstructionType);
« no previous file with comments | « Source/core/html/HTMLDocument.h ('k') | Source/core/html/HTMLElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698