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

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

Issue 2350813005: bindings: Support sequence in callback function arguments (Closed)
Patch Set: rebase 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 05893921f922ab879c9df11fa67bd0bfa6170946..e4d2cdced9b235a0f904c28cb55b4a8a454c7c4b 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 {
@@ -17,6 +18,7 @@ class ScriptState;
class V8TestCallback;
class V8TestInterfaceCallback;
class V8TestReceiverObjectCallback;
+class V8TestSequenceCallback;
class CallbackFunctionTest final : public GarbageCollected<CallbackFunctionTest>, public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
@@ -28,6 +30,7 @@ public:
String testCallback(ScriptState*, V8TestCallback*, const String&, const String&, ExceptionState&);
void testInterfaceCallback(ScriptState*, V8TestInterfaceCallback*, HTMLDivElement*, ExceptionState&);
void testReceiverObjectCallback(ScriptState*, V8TestReceiverObjectCallback*, ExceptionState&);
+ Vector<String> testSequenceCallback(ScriptState*, V8TestSequenceCallback*, const Vector<int>& numbers, ExceptionState&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698