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

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

Issue 2458573002: bindings: Store ScriptState in generated callback functions (Closed)
Patch Set: Created 4 years, 2 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 d283ac7cb5a64bdc74fbb6c19bcad54c3abb9ffa..22a2c1d190db666aec41a102ca8becc632ff7d61 100644
--- a/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h
+++ b/third_party/WebKit/Source/core/testing/CallbackFunctionTest.h
@@ -30,20 +30,15 @@ class CallbackFunctionTest final
static CallbackFunctionTest* create() { return new CallbackFunctionTest(); }
- String testCallback(ScriptState*,
- TestCallback*,
+ String testCallback(TestCallback*,
const String&,
const String&,
ExceptionState&);
- void testInterfaceCallback(ScriptState*,
- TestInterfaceCallback*,
+ void testInterfaceCallback(TestInterfaceCallback*,
HTMLDivElement*,
ExceptionState&);
- void testReceiverObjectCallback(ScriptState*,
- TestReceiverObjectCallback*,
- ExceptionState&);
- Vector<String> testSequenceCallback(ScriptState*,
- TestSequenceCallback*,
+ void testReceiverObjectCallback(TestReceiverObjectCallback*, ExceptionState&);
+ Vector<String> testSequenceCallback(TestSequenceCallback*,
const Vector<int>& numbers,
ExceptionState&);
};

Powered by Google App Engine
This is Rietveld 408576698