OLD | NEW |
1 /* | 1 /* |
2 This file is part of the Blink open source project. | 2 This file is part of the Blink open source project. |
3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! | 3 This file has been auto-generated by CodeGeneratorV8.pm. DO NOT MODIFY! |
4 | 4 |
5 This library is free software; you can redistribute it and/or | 5 This library is free software; you can redistribute it and/or |
6 modify it under the terms of the GNU Library General Public | 6 modify it under the terms of the GNU Library General Public |
7 License as published by the Free Software Foundation; either | 7 License as published by the Free Software Foundation; either |
8 version 2 of the License, or (at your option) any later version. | 8 version 2 of the License, or (at your option) any later version. |
9 | 9 |
10 This library is distributed in the hope that it will be useful, | 10 This library is distributed in the hope that it will be useful, |
(...skipping 27 matching lines...) Expand all Loading... |
38 { | 38 { |
39 ASSERT(value->IsObject()); | 39 ASSERT(value->IsObject()); |
40 ASSERT(context); | 40 ASSERT(context); |
41 return adoptRef(new V8TestCallback(v8::Handle<v8::Object>::Cast(value),
context)); | 41 return adoptRef(new V8TestCallback(v8::Handle<v8::Object>::Cast(value),
context)); |
42 } | 42 } |
43 | 43 |
44 virtual ~V8TestCallback(); | 44 virtual ~V8TestCallback(); |
45 | 45 |
46 // Functions | 46 // Functions |
47 virtual bool callbackWithNoParam(); | 47 virtual bool callbackWithNoParam(); |
48 virtual bool callbackWithTestObjParam(TestObj* class1Param); | 48 virtual bool callbackWithTestObjectParam(TestObj* class1Param); |
49 virtual bool callbackWithTestObjParam(TestObj* class2Param, const String& st
rArg); | 49 virtual bool callbackWithTestObjectParam(TestObj* class2Param, const String&
strArg); |
50 COMPILE_ASSERT(false) virtual int callbackWithNonBoolReturnType(TestObj*
class3Param); | 50 COMPILE_ASSERT(false) virtual int callbackWithNonBoolReturnType(TestObj*
class3Param); |
51 virtual int customCallback(TestObj* testObjParam, TestObj* testObjParam); | 51 virtual int customCallback(TestObj* testObjParam, TestObj* testObjParam); |
52 virtual bool callbackWithStringList(RefPtr<DOMStringList> listParam); | 52 virtual bool callbackWithStringList(RefPtr<DOMStringList> listParam); |
53 virtual bool callbackWithBoolean(bool boolParam); | 53 virtual bool callbackWithBoolean(bool boolParam); |
54 | 54 |
55 virtual ScriptExecutionContext* scriptExecutionContext() const { return Cont
extDestructionObserver::scriptExecutionContext(); } | 55 virtual ScriptExecutionContext* scriptExecutionContext() const { return Cont
extDestructionObserver::scriptExecutionContext(); } |
56 | 56 |
57 private: | 57 private: |
58 V8TestCallback(v8::Handle<v8::Object>, ScriptExecutionContext*); | 58 V8TestCallback(v8::Handle<v8::Object>, ScriptExecutionContext*); |
59 | 59 |
60 ScopedPersistent<v8::Object> m_callback; | 60 ScopedPersistent<v8::Object> m_callback; |
61 RefPtr<DOMWrapperWorld> m_world; | 61 RefPtr<DOMWrapperWorld> m_world; |
62 }; | 62 }; |
63 | 63 |
64 } | 64 } |
65 | 65 |
66 #endif // V8TestCallback_h | 66 #endif // V8TestCallback_h |
67 | 67 |
OLD | NEW |