| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 virtual ~V8TestCallback(); | 43 virtual ~V8TestCallback(); |
| 44 | 44 |
| 45 // Functions | 45 // Functions |
| 46 virtual bool callbackWithNoParam(); | 46 virtual bool callbackWithNoParam(); |
| 47 virtual bool callbackWithTestObjectParam(TestObj* class1Param); | 47 virtual bool callbackWithTestObjectParam(TestObj* class1Param); |
| 48 virtual bool callbackWithTestObjectParam(TestObj* class2Param, const String&
strArg); | 48 virtual bool callbackWithTestObjectParam(TestObj* class2Param, const String&
strArg); |
| 49 virtual int customCallback(TestObj* testObjParam, TestObj* testObjParam); | 49 virtual int customCallback(TestObj* testObjParam, TestObj* testObjParam); |
| 50 virtual bool callbackWithStringList(RefPtr<DOMStringList> listParam); | 50 virtual bool callbackWithStringList(RefPtr<DOMStringList> listParam); |
| 51 virtual bool callbackWithBoolean(bool boolParam); | 51 virtual bool callbackWithBoolean(bool boolParam); |
| 52 virtual bool callbackWithSequence(const Vector<RefPtr<TestObj> >& sequencePa
ram); | 52 virtual bool callbackWithSequence(const Vector<RefPtr<TestObj> >& sequencePa
ram); |
| 53 virtual bool callbackWithFloat(float floatParam); |
| 53 virtual bool callbackWithThisArg(ScriptValue thisValue, int param); | 54 virtual bool callbackWithThisArg(ScriptValue thisValue, int param); |
| 54 | 55 |
| 55 virtual ScriptExecutionContext* scriptExecutionContext() const { return Cont
extLifecycleObserver::scriptExecutionContext(); } | 56 virtual ScriptExecutionContext* scriptExecutionContext() const { return Cont
extLifecycleObserver::scriptExecutionContext(); } |
| 56 | 57 |
| 57 private: | 58 private: |
| 58 V8TestCallback(v8::Handle<v8::Object>, ScriptExecutionContext*); | 59 V8TestCallback(v8::Handle<v8::Object>, ScriptExecutionContext*); |
| 59 | 60 |
| 60 ScopedPersistent<v8::Object> m_callback; | 61 ScopedPersistent<v8::Object> m_callback; |
| 61 RefPtr<DOMWrapperWorld> m_world; | 62 RefPtr<DOMWrapperWorld> m_world; |
| 62 }; | 63 }; |
| 63 | 64 |
| 64 } | 65 } |
| 65 | 66 |
| 66 #endif // V8TestCallback_h | 67 #endif // V8TestCallback_h |
| 67 | 68 |
| OLD | NEW |