Chromium Code Reviews| 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 29 matching lines...) Expand all Loading... | |
| 40 return adoptRef(new V8TestCallback(v8::Handle<v8::Object>::Cast(jsValue) , context)); | 40 return adoptRef(new V8TestCallback(v8::Handle<v8::Object>::Cast(jsValue) , context)); |
| 41 } | 41 } |
| 42 | 42 |
| 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); | |
|
jsbell
2013/10/30 18:01:13
Technically there's no reason to remove this, it h
| |
| 51 virtual bool callbackWithBoolean(bool boolParam); | 50 virtual bool callbackWithBoolean(bool boolParam); |
| 52 virtual bool callbackWithSequence(const Vector<RefPtr<TestObj> >& sequencePa ram); | 51 virtual bool callbackWithSequence(const Vector<RefPtr<TestObj> >& sequencePa ram); |
| 53 virtual bool callbackWithFloat(float floatParam); | 52 virtual bool callbackWithFloat(float floatParam); |
| 54 virtual bool callbackWithThisArg(ScriptValue thisValue, int param); | 53 virtual bool callbackWithThisArg(ScriptValue thisValue, int param); |
| 55 | 54 |
| 56 virtual ExecutionContext* executionContext() const { return ContextLifecycle Observer::executionContext(); } | 55 virtual ExecutionContext* executionContext() const { return ContextLifecycle Observer::executionContext(); } |
| 57 | 56 |
| 58 private: | 57 private: |
| 59 V8TestCallback(v8::Handle<v8::Object>, ExecutionContext*); | 58 V8TestCallback(v8::Handle<v8::Object>, ExecutionContext*); |
| 60 | 59 |
| 61 ScopedPersistent<v8::Object> m_callback; | 60 ScopedPersistent<v8::Object> m_callback; |
| 62 RefPtr<DOMWrapperWorld> m_world; | 61 RefPtr<DOMWrapperWorld> m_world; |
| 63 }; | 62 }; |
| 64 | 63 |
| 65 } | 64 } |
| 66 | 65 |
| 67 #endif // V8TestCallback_h | 66 #endif // V8TestCallback_h |
| 68 | 67 |
| OLD | NEW |