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

Unified Diff: Source/bindings/core/v8/CustomElementWrapper.h

Issue 531183003: bindings: Retires manual dispatching in createV8{HTML,SVG}Wrapper, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed bindings/modules/v8/custom/custom.gni 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
Index: Source/bindings/core/v8/CustomElementWrapper.h
diff --git a/Source/bindings/core/v8/CustomElementWrapper.h b/Source/bindings/core/v8/CustomElementWrapper.h
index fa108451a95607b0980dc4ccbd788c52b9478aa7..e17f214be83493b5ca4c4a28545188536804fd54 100644
--- a/Source/bindings/core/v8/CustomElementWrapper.h
+++ b/Source/bindings/core/v8/CustomElementWrapper.h
@@ -37,17 +37,11 @@
namespace blink {
-class HTMLElement;
-class SVGElement;
-
template<typename ElementType, typename WrapperType>
class CustomElementWrapper {
private:
CustomElementWrapper();
- friend v8::Handle<v8::Object> createV8HTMLWrapper(HTMLElement*, v8::Handle<v8::Object>, v8::Isolate*);
- friend v8::Handle<v8::Object> createV8SVGWrapper(SVGElement*, v8::Handle<v8::Object>, v8::Isolate*);
-
static v8::Handle<v8::Object> wrap(PassRefPtrWillBeRawPtr<ElementType>, v8::Handle<v8::Object> creationContext, v8::Isolate*, v8::Handle<v8::Object> (*createSpecificWrapper)(ElementType* element, v8::Handle<v8::Object> creationContext, v8::Isolate*));
};
« no previous file with comments | « no previous file | Source/bindings/core/v8/CustomElementWrapper.cpp » ('j') | Source/bindings/core/v8/custom/V8ImageDataCustom.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698