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

Unified Diff: Source/build/scripts/templates/ElementWrapperFactory.h.tmpl

Issue 531183003: bindings: Retires manual dispatching in createV8{HTML,SVG}Wrapper, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added FIXME comments. 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/build/scripts/templates/ElementWrapperFactory.cpp.tmpl ('k') | Source/core/css/StyleSheet.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/build/scripts/templates/ElementWrapperFactory.h.tmpl
diff --git a/Source/build/scripts/templates/ElementWrapperFactory.h.tmpl b/Source/build/scripts/templates/ElementWrapperFactory.h.tmpl
index ce3b520dc9bfe3998c01fcf4d5321597e1f40ff5..e8e4d67dbd8ba61459ead72cbdc7ec0d665b7ac5 100644
--- a/Source/build/scripts/templates/ElementWrapperFactory.h.tmpl
+++ b/Source/build/scripts/templates/ElementWrapperFactory.h.tmpl
@@ -10,20 +10,8 @@
namespace blink {
-class {{namespace}}Element;
-
const WrapperTypeInfo* findWrapperTypeFor{{namespace}}TagName(const AtomicString& name);
-v8::Handle<v8::Object> createV8{{namespace}}Wrapper({{namespace}}Element*, v8::Handle<v8::Object> creationContext, v8::Isolate*);
-inline v8::Handle<v8::Object> createV8{{namespace}}DirectWrapper({{namespace}}Element* element, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
-{
- return V8{{namespace}}Element::createWrapper(element, creationContext, isolate);
-}
-inline v8::Handle<v8::Object> createV8{{namespace}}FallbackWrapper({{fallback_js_interface}}* element, v8::Handle<v8::Object> creationContext, v8::Isolate* isolate)
-{
- return V8{{fallback_js_interface}}::createWrapper(element, creationContext, isolate);
-}
-
}
-#endif
+#endif // V8{{namespace}}ElementWrapperFactory_h
« no previous file with comments | « Source/build/scripts/templates/ElementWrapperFactory.cpp.tmpl ('k') | Source/core/css/StyleSheet.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698