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

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

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.idl
diff --git a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.idl b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.idl
index c9bec4326e6f8c0ca658547f1d6444816cf372cf..f0c1852fe29e91292a93f8cf03084fa661aefc83 100644
--- a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.idl
+++ b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.idl
@@ -3,7 +3,9 @@
// found in the LICENSE file.
[ExperimentalCallbackFunction] callback TestCallback = DOMString (DOMString message1, DOMString message2);
+[ExperimentalCallbackFunction] callback TestInterfaceCallback = void (HTMLDivElement divElements);
interface CallbackFunctionTest {
[CallWith=ScriptState, RaisesException] DOMString testCallback(TestCallback callback, DOMString message1, DOMString message2);
+ [CallWith=ScriptState, RaisesException] void testInterfaceCallback(TestInterfaceCallback callback, HTMLDivElement divElements);
};

Powered by Google App Engine
This is Rietveld 408576698