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

Unified Diff: Source/bindings/tests/results/core/V8TestInterface.h

Issue 618373003: [bindings] partial interfaces should not violate componentization (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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/tests/results/core/V8TestInterface.h
diff --git a/Source/bindings/tests/results/core/V8TestInterface.h b/Source/bindings/tests/results/core/V8TestInterface.h
index 73c8e650810bd9de8ca9583339537cb2f6f32a43..bded06eb61f810ee9f903d4a03e9c8f446966af2 100644
--- a/Source/bindings/tests/results/core/V8TestInterface.h
+++ b/Source/bindings/tests/results/core/V8TestInterface.h
@@ -35,7 +35,7 @@ public:
return blink::toScriptWrappableBase(object)->toImpl<TestInterfaceImplementation>();
}
static TestInterfaceImplementation* toImplWithTypeCheck(v8::Isolate*, v8::Handle<v8::Value>);
- static const WrapperTypeInfo wrapperTypeInfo;
+ static WrapperTypeInfo wrapperTypeInfo;
static void refObject(ScriptWrappableBase* internalPointer);
static void derefObject(ScriptWrappableBase* internalPointer);
static WrapperPersistentNode* createPersistentHandle(ScriptWrappableBase* internalPointer);
@@ -50,6 +50,15 @@ public:
}
static void installConditionallyEnabledProperties(v8::Handle<v8::Object>, v8::Isolate*);
static void installConditionallyEnabledMethods(v8::Handle<v8::Object>, v8::Isolate*);
+ static void updateWrapperTypeInfo(InstallTemplateFunction, InstallConditionallyEnabledMethodsFunction);
+ static void installV8TestInterfaceTemplate(v8::Handle<v8::FunctionTemplate>, v8::Isolate*);
+ static void registerVoidMethodPartialOverloadMethodForPartialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&));
+ static void registerStaticVoidMethodPartialOverloadMethodForPartialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&));
tasak 2014/10/10 07:52:24 Newly added, because I fixed typo,
+ static void registerPartial2VoidMethodMethodForPartialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&));
+ static void registerPartial2StaticVoidMethodMethodForPartialInterface(void (*)(const v8::FunctionCallbackInfo<v8::Value>&));
+
+private:
+ static InstallTemplateFunction installV8TestInterfaceTemplateFunction;
};
class TestInterfaceImplementation;

Powered by Google App Engine
This is Rietveld 408576698