2009-02-05 Dimitri Glazkov <dglazkov@chromium.org>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=23767
Add custom V8 bindings for HTML5 database.
* bindings/v8/custom/V8CustomSQLStatementCallback.cpp: Added.
(WebCore::V8CustomSQLStatementCallback::V8CustomSQLStatementCallback):
(WebCore::V8CustomSQLStatementCallback::~V8CustomSQLStatementCallback):
(WebCore::V8CustomSQLStatementCallback::handleEvent):
* bindings/v8/custom/V8CustomSQLStatementCallback.h: Added.
(WebCore::V8CustomSQLStatementCallback::create):
* bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp: Added.
(WebCore::V8CustomSQLStatementErrorCallback::V8CustomSQLStatementErrorCallback):
(WebCore::V8CustomSQLStatementErrorCallback::~V8CustomSQLStatementErrorCallback):
(WebCore::V8CustomSQLStatementErrorCallback::handleEvent):
* bindings/v8/custom/V8CustomSQLStatementErrorCallback.h: Added.
(WebCore::V8CustomSQLStatementErrorCallback::create):
* bindings/v8/custom/V8CustomSQLTransactionCallback.cpp: Added.
(WebCore::V8CustomSQLTransactionCallback::V8CustomSQLTransactionCallback):
(WebCore::V8CustomSQLTransactionCallback::~V8CustomSQLTransactionCallback):
(WebCore::V8CustomSQLTransactionCallback::handleEvent):
* bindings/v8/custom/V8CustomSQLTransactionCallback.h: Added.
(WebCore::V8CustomSQLTransactionCallback::create):
* bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp: Added.
(WebCore::V8CustomSQLTransactionErrorCallback::V8CustomSQLTransactionErrorCallback):
(WebCore::V8CustomSQLTransactionErrorCallback::~V8CustomSQLTransactionErrorCallback):
(WebCore::V8CustomSQLTransactionErrorCallback::handleEvent):
* bindings/v8/custom/V8CustomSQLTransactionErrorCallback.h: Added.
(WebCore::V8CustomSQLTransactionErrorCallback::create):
* bindings/v8/custom/V8CustomVoidCallback.cpp: Added.
(WebCore::V8CustomVoidCallback::V8CustomVoidCallback):
(WebCore::V8CustomVoidCallback::~V8CustomVoidCallback):
(WebCore::V8CustomVoidCallback::handleEvent):
(WebCore::invokeCallback):
* bindings/v8/custom/V8CustomVoidCallback.h: Added.
(WebCore::V8CustomVoidCallback::create):
* bindings/v8/custom/V8DatabaseCustom.cpp: Added.
(WebCore::CALLBACK_FUNC_DECL):
* bindings/v8/custom/V8SQLResultSetRowListCustom.cpp: Added.
(WebCore::CALLBACK_FUNC_DECL):
* bindings/v8/custom/V8SQLTransactionCustom.cpp: Added.
(WebCore::CALLBACK_FUNC_DECL):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@40687
268f45cc-cd09-0410-ab3c-
d52691b4dbfc