diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2008-12-17 18:05:15 -0800 |
commit | 1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353 (patch) | |
tree | 4457a7306ea5acb43fe05bfe0973b1f7faf97ba2 /WebCore/bindings/js/JSCustomSQLStatementCallback.h | |
parent | 9364f22aed35e1a1e9d07c121510f80be3ab0502 (diff) | |
download | external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.zip external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.gz external_webkit-1cbdecfa9fc428ac2d8aca0fa91c9580b3d57353.tar.bz2 |
Code drop from //branches/cupcake/...@124589
Diffstat (limited to 'WebCore/bindings/js/JSCustomSQLStatementCallback.h')
-rw-r--r-- | WebCore/bindings/js/JSCustomSQLStatementCallback.h | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/WebCore/bindings/js/JSCustomSQLStatementCallback.h b/WebCore/bindings/js/JSCustomSQLStatementCallback.h index 27bca7b..d4fd6ec 100644 --- a/WebCore/bindings/js/JSCustomSQLStatementCallback.h +++ b/WebCore/bindings/js/JSCustomSQLStatementCallback.h @@ -31,11 +31,11 @@ #include "SQLStatementCallback.h" -#include <kjs/object.h> +#include <runtime/JSObject.h> #include <kjs/protect.h> #include <wtf/Forward.h> -namespace KJS { +namespace JSC { class JSObject; } @@ -46,11 +46,14 @@ class SQLResultSet; class JSCustomSQLStatementCallback : public SQLStatementCallback { public: - JSCustomSQLStatementCallback(KJS::JSObject* callback, Frame*); - + static PassRefPtr<JSCustomSQLStatementCallback> create(JSC::JSObject* callback, Frame* frame) { return adoptRef(new JSCustomSQLStatementCallback(callback, frame)); } + virtual void handleEvent(SQLTransaction*, SQLResultSet*, bool& raisedException); + private: - KJS::ProtectedPtr<KJS::JSObject> m_callback; + JSCustomSQLStatementCallback(JSC::JSObject* callback, Frame*); + + JSC::ProtectedPtr<JSC::JSObject> m_callback; RefPtr<Frame> m_frame; }; |