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

Unified Diff: third_party/WebKit/Source/core/testing/CallbackFunctionTest.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/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..b1d7683797b0785e7d9b3e27a283d6edea8b1d4e 100644
--- a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h
+++ b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h
@@ -12,8 +12,10 @@
namespace blink {
class ExceptionState;
+class HTMLDivElement;
class ScriptState;
class V8TestCallback;
+class V8TestInterfaceCallback;
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&);
+ void testInterfaceCallback(ScriptState*, V8TestInterfaceCallback*, HTMLDivElement*, ExceptionState&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698