| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! | 5 // This file has been auto-generated by code_generator_v8.py. DO NOT MODIFY! |
| 6 | 6 |
| 7 #ifndef V8TestCallbackInterface_h | 7 #ifndef V8TestCallbackInterface_h |
| 8 #define V8TestCallbackInterface_h | 8 #define V8TestCallbackInterface_h |
| 9 | 9 |
| 10 #include "bindings/core/v8/ActiveDOMCallback.h" | 10 #include "bindings/core/v8/ActiveDOMCallback.h" |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 return new V8TestCallbackInterface(callback, scriptState); | 23 return new V8TestCallbackInterface(callback, scriptState); |
| 24 } | 24 } |
| 25 | 25 |
| 26 ~V8TestCallbackInterface() override; | 26 ~V8TestCallbackInterface() override; |
| 27 | 27 |
| 28 DECLARE_VIRTUAL_TRACE(); | 28 DECLARE_VIRTUAL_TRACE(); |
| 29 | 29 |
| 30 void voidMethod() override; | 30 void voidMethod() override; |
| 31 bool booleanMethod() override; | 31 bool booleanMethod() override; |
| 32 void voidMethodBooleanArg(bool boolArg) override; | 32 void voidMethodBooleanArg(bool boolArg) override; |
| 33 void voidMethodSequenceArg(const Vector<RefPtr<TestInterfaceEmpty>>& sequenc
eArg) override; | 33 void voidMethodSequenceArg(const HeapVector<Member<TestInterfaceEmpty>>& seq
uenceArg) override; |
| 34 void voidMethodFloatArg(float floatArg) override; | 34 void voidMethodFloatArg(float floatArg) override; |
| 35 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfaceEmptyA
rg) override; | 35 void voidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterfaceEmptyA
rg) override; |
| 36 void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty* testInterface
EmptyArg, const String& stringArg) override; | 36 void voidMethodTestInterfaceEmptyStringArg(TestInterfaceEmpty* testInterface
EmptyArg, const String& stringArg) override; |
| 37 void callbackWithThisValueVoidMethodStringArg(ScriptValue thisValue, const S
tring& stringArg) override; | 37 void callbackWithThisValueVoidMethodStringArg(ScriptValue thisValue, const S
tring& stringArg) override; |
| 38 void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterface
EmptyArg) override; | 38 void customVoidMethodTestInterfaceEmptyArg(TestInterfaceEmpty* testInterface
EmptyArg) override; |
| 39 private: | 39 private: |
| 40 CORE_EXPORT V8TestCallbackInterface(v8::Local<v8::Function>, ScriptState*); | 40 CORE_EXPORT V8TestCallbackInterface(v8::Local<v8::Function>, ScriptState*); |
| 41 | 41 |
| 42 ScopedPersistent<v8::Function> m_callback; | 42 ScopedPersistent<v8::Function> m_callback; |
| 43 RefPtr<ScriptState> m_scriptState; | 43 RefPtr<ScriptState> m_scriptState; |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 } | 46 } |
| 47 #endif // V8TestCallbackInterface_h | 47 #endif // V8TestCallbackInterface_h |
| OLD | NEW |