| OLD | NEW |
| 1 /* | 1 /* |
| 2 This file is part of the WebKit open source project. | 2 This file is part of the WebKit open source project. |
| 3 This file has been generated by generate-bindings.pl. DO NOT MODIFY! | 3 This file has been generated by generate-bindings.pl. 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, |
| 11 but WITHOUT ANY WARRANTY; without even the implied warranty of | 11 but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 13 Library General Public License for more details. | 13 Library General Public License for more details. |
| 14 | 14 |
| 15 You should have received a copy of the GNU Library General Public License | 15 You should have received a copy of the GNU Library General Public License |
| 16 along with this library; see the file COPYING.LIB. If not, write to | 16 along with this library; see the file COPYING.LIB. If not, write to |
| 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 17 the Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
| 18 Boston, MA 02111-1307, USA. | 18 Boston, MA 02111-1307, USA. |
| 19 */ | 19 */ |
| 20 | 20 |
| 21 #ifndef V8TestCallback_h | 21 #ifndef V8TestCallback_h |
| 22 #define V8TestCallback_h | 22 #define V8TestCallback_h |
| 23 | 23 |
| 24 #include <v8.h> | 24 #include "bindings/bindings/tests/idls/TestCallback.h" |
| 25 #include "TestCallback.h" | |
| 26 #include "bindings/v8/ActiveDOMCallback.h" | 25 #include "bindings/v8/ActiveDOMCallback.h" |
| 27 #include "bindings/v8/DOMWrapperWorld.h" | 26 #include "bindings/v8/DOMWrapperWorld.h" |
| 28 #include "bindings/v8/ScopedPersistent.h" | 27 #include "bindings/v8/ScopedPersistent.h" |
| 28 #include <v8.h> |
| 29 #include <wtf/Forward.h> | 29 #include <wtf/Forward.h> |
| 30 | 30 |
| 31 namespace WebCore { | 31 namespace WebCore { |
| 32 | 32 |
| 33 class ScriptExecutionContext; | 33 class ScriptExecutionContext; |
| 34 | 34 |
| 35 class V8TestCallback : public TestCallback, public ActiveDOMCallback { | 35 class V8TestCallback : public TestCallback, public ActiveDOMCallback { |
| 36 public: | 36 public: |
| 37 static PassRefPtr<V8TestCallback> create(v8::Handle<v8::Value> value, Script
ExecutionContext* context) | 37 static PassRefPtr<V8TestCallback> create(v8::Handle<v8::Value> value, Script
ExecutionContext* context) |
| 38 { | 38 { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 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 |