| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef CallbackFunctionTest_h | 5 #ifndef CallbackFunctionTest_h |
| 6 #define CallbackFunctionTest_h | 6 #define CallbackFunctionTest_h |
| 7 | 7 |
| 8 #include "bindings/core/v8/ScriptWrappable.h" | 8 #include "bindings/core/v8/ScriptWrappable.h" |
| 9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
| 10 #include "wtf/Vector.h" | 10 #include "wtf/Vector.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 | 26 |
| 27 public: | 27 public: |
| 28 DECLARE_TRACE(); | 28 DECLARE_TRACE(); |
| 29 | 29 |
| 30 static CallbackFunctionTest* create() { return new CallbackFunctionTest(); } | 30 static CallbackFunctionTest* create() { return new CallbackFunctionTest(); } |
| 31 | 31 |
| 32 String testCallback(TestCallback*, | 32 String testCallback(TestCallback*, |
| 33 const String&, | 33 const String&, |
| 34 const String&, | 34 const String&, |
| 35 ExceptionState&); | 35 ExceptionState&); |
| 36 String testNullableCallback(TestCallback*, |
| 37 const String&, |
| 38 const String&, |
| 39 ExceptionState&); |
| 36 void testInterfaceCallback(TestInterfaceCallback*, | 40 void testInterfaceCallback(TestInterfaceCallback*, |
| 37 HTMLDivElement*, | 41 HTMLDivElement*, |
| 38 ExceptionState&); | 42 ExceptionState&); |
| 39 void testReceiverObjectCallback(TestReceiverObjectCallback*, ExceptionState&); | 43 void testReceiverObjectCallback(TestReceiverObjectCallback*, ExceptionState&); |
| 40 Vector<String> testSequenceCallback(TestSequenceCallback*, | 44 Vector<String> testSequenceCallback(TestSequenceCallback*, |
| 41 const Vector<int>& numbers, | 45 const Vector<int>& numbers, |
| 42 ExceptionState&); | 46 ExceptionState&); |
| 43 }; | 47 }; |
| 44 | 48 |
| 45 } // namespace blink | 49 } // namespace blink |
| 46 | 50 |
| 47 #endif // CallbackFunctionTest_h | 51 #endif // CallbackFunctionTest_h |
| OLD | NEW |