diff options
Diffstat (limited to 'WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp')
-rw-r--r-- | WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp b/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp index 579295f..819c7cf 100644 --- a/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp +++ b/WebCore/bindings/scripts/test/CPP/WebDOMTestObj.cpp @@ -24,9 +24,11 @@ #include "HTMLNames.h" #include "IDBKey.h" #include "KURL.h" +#include "OptionsObject.h" #include "SerializedScriptValue.h" #include "TestObj.h" #include "WebDOMIDBKey.h" +#include "WebDOMOptionsObject.h" #include "WebDOMString.h" #include "WebExceptionHandler.h" #include "WebNativeEventListener.h" @@ -103,6 +105,38 @@ WebDOMTestObj WebDOMTestObj::readOnlyTestObjAttr() const return toWebKit(WTF::getPtr(impl()->readOnlyTestObjAttr())); } +short WebDOMTestObj::shortAttr() const +{ + if (!impl()) + return 0; + + return impl()->shortAttr(); +} + +void WebDOMTestObj::setShortAttr(short newShortAttr) +{ + if (!impl()) + return; + + impl()->setShortAttr(newShortAttr); +} + +unsigned short WebDOMTestObj::unsignedShortAttr() const +{ + if (!impl()) + return 0; + + return impl()->unsignedShortAttr(); +} + +void WebDOMTestObj::setUnsignedShortAttr(unsigned short newUnsignedShortAttr) +{ + if (!impl()) + return; + + impl()->setUnsignedShortAttr(newUnsignedShortAttr); +} + int WebDOMTestObj::intAttr() const { if (!impl()) @@ -630,6 +664,14 @@ void WebDOMTestObj::idbKey(const WebDOMIDBKey& key) impl()->idbKey(toWebCore(key)); } +void WebDOMTestObj::optionsObject(const WebDOMOptionsObject& oo, const WebDOMOptionsObject& ooo) +{ + if (!impl()) + return; + + impl()->optionsObject(toWebCore(oo), toWebCore(ooo)); +} + void WebDOMTestObj::methodWithException() { if (!impl()) |