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

Unified Diff: third_party/WebKit/Source/core/testing/CallbackFunctionTest.h

Issue 2350813005: bindings: Support sequence in callback function arguments (Closed)
Patch Set: Pass ExceptionState 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/core/testing/CallbackFunctionTest.h
diff --git a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h
index 12f1c399ca3ebb3028a05b73f4fe451f4e027c86..09cd3e2d7969810f9161922c1f0b6692c08a39ad 100644
--- a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h
+++ b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h
@@ -7,6 +7,7 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "platform/heap/Handle.h"
+#include "wtf/Vector.h"
#include "wtf/text/WTFString.h"
namespace blink {
@@ -14,6 +15,7 @@ namespace blink {
class ExceptionState;
class ScriptState;
class V8TestCallback;
+class V8TestSequenceCallback;
class CallbackFunctionTest final : public GarbageCollected<CallbackFunctionTest>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -23,6 +25,7 @@ public:
static CallbackFunctionTest* create() { return new CallbackFunctionTest(); }
String testCallback(ScriptState*, V8TestCallback*, const String&, const String&, ExceptionState&);
+ Vector<String> testSequenceCallback(ScriptState*, V8TestSequenceCallback*, const Vector<int>& numbers, ExceptionState&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698