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

Unified Diff: third_party/WebKit/Source/bindings/tests/results/core/V8VoidCallbackFunctionInterfaceArg.h

Issue 2367543004: Extended implementation to use interface as arguments (Closed)
Patch Set: Addressed comments Created 4 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: third_party/WebKit/Source/bindings/tests/results/core/V8VoidCallbackFunctionInterfaceArg.h
diff --git a/third_party/WebKit/Source/bindings/tests/results/core/V8LongExperimentalCallbackFunction.h b/third_party/WebKit/Source/bindings/tests/results/core/V8VoidCallbackFunctionInterfaceArg.h
similarity index 63%
copy from third_party/WebKit/Source/bindings/tests/results/core/V8LongExperimentalCallbackFunction.h
copy to third_party/WebKit/Source/bindings/tests/results/core/V8VoidCallbackFunctionInterfaceArg.h
index 1d0940f36b71a470bb7555abd23b448d6dfbf875..0cf503c95d09840cdc487a799f9fd94fdceb7896 100644
--- a/third_party/WebKit/Source/bindings/tests/results/core/V8LongExperimentalCallbackFunction.h
+++ b/third_party/WebKit/Source/bindings/tests/results/core/V8VoidCallbackFunctionInterfaceArg.h
@@ -4,8 +4,8 @@
// This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY!
-#ifndef V8LongExperimentalCallbackFunction_h
-#define V8LongExperimentalCallbackFunction_h
+#ifndef V8VoidCallbackFunctionInterfaceArg_h
+#define V8VoidCallbackFunctionInterfaceArg_h
#include "bindings/core/v8/ScopedPersistent.h"
#include "core/CoreExport.h"
@@ -15,19 +15,20 @@
namespace blink {
class ScriptState;
+class HTMLDivElement;
-class CORE_EXPORT V8LongExperimentalCallbackFunction final : public GarbageCollectedFinalized<V8LongExperimentalCallbackFunction> {
+class CORE_EXPORT V8VoidCallbackFunctionInterfaceArg final : public GarbageCollectedFinalized<V8VoidCallbackFunctionInterfaceArg> {
public:
- static V8LongExperimentalCallbackFunction* create(v8::Isolate* isolate, v8::Local<v8::Function> callback)
+ static V8VoidCallbackFunctionInterfaceArg* create(v8::Isolate* isolate, v8::Local<v8::Function> callback)
{
- return new V8LongExperimentalCallbackFunction(isolate, callback);
+ return new V8VoidCallbackFunctionInterfaceArg(isolate, callback);
}
- ~V8LongExperimentalCallbackFunction() = default;
+ ~V8VoidCallbackFunctionInterfaceArg() = default;
DECLARE_TRACE();
- bool call(ScriptState* scriptState, ScriptWrappable* scriptWrappable, int num1, int num2, int& returnValue);
+ bool call(ScriptState* scriptState, ScriptWrappable* scriptWrappable, HTMLDivElement* divElements);
v8::Local<v8::Function> v8Value(v8::Isolate* isolate)
{
@@ -41,10 +42,10 @@ public:
}
private:
- V8LongExperimentalCallbackFunction(v8::Isolate* isolate, v8::Local<v8::Function>);
+ V8VoidCallbackFunctionInterfaceArg(v8::Isolate* isolate, v8::Local<v8::Function>);
ScopedPersistent<v8::Function> m_callback;
};
} // namespace blink
-#endif // V8LongExperimentalCallbackFunction_h
+#endif // V8VoidCallbackFunctionInterfaceArg_h

Powered by Google App Engine
This is Rietveld 408576698