Hi, the TestRunner library used by chromium's DumpRenderTree is now a component (i.e. it builds as a DLL on Windows). It defines all the test runner objects such as testRunner or eventSender and is implemented entirely in terms of the public chromium WebKit API (i.e. it has no dependencies on WTF or WebCore, nor chromium's webkit_support for that matter).
If you need to add a method to e.g. eventSender, and it's only using the public WebKit API, you can just add it to Tools/DumpRenderTree/chromium/TestRunner/src/EventSender.cpp. If your method needs to interact with a WebFrameClient or WebViewClient callback or return a mock from such a callback, you can modify the WebTestProxy, a template that is injected between the WebView / WebFrame and the actual implementation in TestShell / ContentShell. If you want to add something that depends on interactions with the embedder (TestShell / ContentShell), you should add a callback to the WebTestDelegate. best -jochen
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org https://lists.webkit.org/mailman/listinfo/webkit-dev