diff options
Diffstat (limited to 'WebCore/bindings/scripts/test/CPP')
-rw-r--r-- | WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp | 10 | ||||
-rw-r--r-- | WebCore/bindings/scripts/test/CPP/WebDOMTestObj.h | 2 |
2 files changed, 12 insertions, 0 deletions
diff --git a/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp b/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp index 65bc9f3..ee8afcf 100644 --- a/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp +++ b/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp @@ -23,9 +23,11 @@ #include "AtomicString.h" #include "HTMLNames.h" +#include "IDBKey.h" #include "KURL.h" #include "SerializedScriptValue.h" #include "TestObj.h" +#include "WebDOMIDBKey.h" #include "WebDOMString.h" #include "WebExceptionHandler.h" #include "WebNativeEventListener.h" @@ -549,6 +551,14 @@ void WebDOMTestObj::serializedValue(const WebDOMString& serializedArg) impl()->serializedValue(WebCore::SerializedScriptValue::create(WebCore::String(serializedArg))); } +void WebDOMTestObj::idbKey(const WebDOMIDBKey& key) +{ + if (!impl()) + return; + + impl()->idbKey(toWebCore(key)); +} + void WebDOMTestObj::methodWithException() { if (!impl()) diff --git a/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.h b/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.h index 33bc7fb..cdd47ed 100644 --- a/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.h +++ b/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.h @@ -31,6 +31,7 @@ class TestObj; }; class WebDOMEventListener; +class WebDOMIDBKey; class WebDOMString; class WebDOMTestObj; @@ -101,6 +102,7 @@ public: WebDOMTestObj methodThatRequiresAllArgs(const WebDOMString& strArg, const WebDOMTestObj& objArg); WebDOMTestObj methodThatRequiresAllArgsAndThrows(const WebDOMString& strArg, const WebDOMTestObj& objArg); void serializedValue(const WebDOMString& serializedArg); + void idbKey(const WebDOMIDBKey& key); void methodWithException(); void customMethod(); void customMethodWithArgs(int intArg, const WebDOMString& strArg, const WebDOMTestObj& objArg); |