| 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" |
| 11 #include "wtf/text/WTFString.h" | 11 #include "wtf/text/WTFString.h" |
| 12 | 12 |
| 13 namespace blink { | 13 namespace blink { |
| 14 | 14 |
| 15 class ExceptionState; | 15 class ExceptionState; |
| 16 class HTMLDivElement; | 16 class HTMLDivElement; |
| 17 class ScriptState; | |
| 18 class TestCallback; | 17 class TestCallback; |
| 19 class TestInterfaceCallback; | 18 class TestInterfaceCallback; |
| 20 class TestReceiverObjectCallback; | 19 class TestReceiverObjectCallback; |
| 21 class TestSequenceCallback; | 20 class TestSequenceCallback; |
| 22 | 21 |
| 23 class CallbackFunctionTest final | 22 class CallbackFunctionTest final |
| 24 : public GarbageCollected<CallbackFunctionTest>, | 23 : public GarbageCollected<CallbackFunctionTest>, |
| 25 public ScriptWrappable { | 24 public ScriptWrappable { |
| 26 DEFINE_WRAPPERTYPEINFO(); | 25 DEFINE_WRAPPERTYPEINFO(); |
| 27 | 26 |
| (...skipping 11 matching lines...) Expand all Loading... |
| 39 ExceptionState&); | 38 ExceptionState&); |
| 40 void testReceiverObjectCallback(TestReceiverObjectCallback*, ExceptionState&); | 39 void testReceiverObjectCallback(TestReceiverObjectCallback*, ExceptionState&); |
| 41 Vector<String> testSequenceCallback(TestSequenceCallback*, | 40 Vector<String> testSequenceCallback(TestSequenceCallback*, |
| 42 const Vector<int>& numbers, | 41 const Vector<int>& numbers, |
| 43 ExceptionState&); | 42 ExceptionState&); |
| 44 }; | 43 }; |
| 45 | 44 |
| 46 } // namespace blink | 45 } // namespace blink |
| 47 | 46 |
| 48 #endif // CallbackFunctionTest_h | 47 #endif // CallbackFunctionTest_h |
| OLD | NEW |