2009-02-05 Dimitri Glazkov <dglazkov@chromium.org>
authordglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Feb 2009 23:12:11 +0000 (23:12 +0000)
committerdglazkov@chromium.org <dglazkov@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 5 Feb 2009 23:12:11 +0000 (23:12 +0000)
commitd66ed59debb9e65e60116b9c61e309b5f680f95f
tree97cfa23cf837217c9e285212a8350ebe65571553
parentc7720d4d43ac4a38275a17b789241b4b0966d5ae
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
14 files changed:
WebCore/ChangeLog
WebCore/bindings/v8/custom/V8CustomSQLStatementCallback.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8CustomSQLStatementCallback.h [new file with mode: 0644]
WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8CustomSQLStatementErrorCallback.h [new file with mode: 0644]
WebCore/bindings/v8/custom/V8CustomSQLTransactionCallback.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8CustomSQLTransactionCallback.h [new file with mode: 0644]
WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8CustomSQLTransactionErrorCallback.h [new file with mode: 0644]
WebCore/bindings/v8/custom/V8CustomVoidCallback.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8CustomVoidCallback.h [new file with mode: 0644]
WebCore/bindings/v8/custom/V8DatabaseCustom.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8SQLResultSetRowListCustom.cpp [new file with mode: 0644]
WebCore/bindings/v8/custom/V8SQLTransactionCustom.cpp [new file with mode: 0644]