diff options
Diffstat (limited to 'Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp')
| -rw-r--r-- | Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp b/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp index 3d5b0de3e..632d9664b 100644 --- a/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp +++ b/Tools/DumpRenderTree/chromium/TestRunner/src/WebTestInterfaces.cpp @@ -63,6 +63,10 @@ public: virtual void setEditCommand(const std::string& name, const std::string& value); virtual WebContextMenuData* lastContextMenuData() const; virtual void setGamepadData(const WebGamepads&); + virtual void printMessage(const std::string& message) const; + virtual void postTask(WebTask*); + virtual void postDelayedTask(WebTask*, long long ms); + virtual WebString registerIsolatedFileSystem(const WebVector<WebString>& absoluteFilenames); private: TestInterfaces m_interfaces; @@ -123,6 +127,26 @@ void WebTestInterfaces::Internal::setGamepadData(const WebGamepads& pads) m_delegate->setGamepadData(pads); } +void WebTestInterfaces::Internal::printMessage(const std::string& message) const +{ + m_delegate->printMessage(message); +} + +void WebTestInterfaces::Internal::postTask(WebTask* task) +{ + m_delegate->postTask(task); +} + +void WebTestInterfaces::Internal::postDelayedTask(WebTask* task, long long ms) +{ + m_delegate->postDelayedTask(task, ms); +} + +WebString WebTestInterfaces::Internal::registerIsolatedFileSystem(const WebVector<WebString>& absoluteFilenames) +{ + return m_delegate->registerIsolatedFileSystem(absoluteFilenames); +} + WebTestInterfaces::WebTestInterfaces() { m_internal = new Internal; |
