summaryrefslogtreecommitdiffstats
path: root/WebKitTools/WebKitTestRunner/TestInvocation.h
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2010-07-08 12:51:48 +0100
committerSteve Block <steveblock@google.com>2010-07-09 15:33:40 +0100
commitca9cb53ed1119a3fd98fafa0972ffeb56dee1c24 (patch)
treebb45155550ec013adc0ad10f4d7d354c6469b022 /WebKitTools/WebKitTestRunner/TestInvocation.h
parentd4b24d9a829ed7de70381c8b99fb75a07ab40466 (diff)
downloadexternal_webkit-ca9cb53ed1119a3fd98fafa0972ffeb56dee1c24.zip
external_webkit-ca9cb53ed1119a3fd98fafa0972ffeb56dee1c24.tar.gz
external_webkit-ca9cb53ed1119a3fd98fafa0972ffeb56dee1c24.tar.bz2
Merge WebKit at r62496: Initial merge by git
Change-Id: Ie3da0770eca22a70a632e3571f31cfabc80facb2
Diffstat (limited to 'WebKitTools/WebKitTestRunner/TestInvocation.h')
-rw-r--r--WebKitTools/WebKitTestRunner/TestInvocation.h28
1 files changed, 6 insertions, 22 deletions
diff --git a/WebKitTools/WebKitTestRunner/TestInvocation.h b/WebKitTools/WebKitTestRunner/TestInvocation.h
index 4552203..fb03150 100644
--- a/WebKitTools/WebKitTestRunner/TestInvocation.h
+++ b/WebKitTools/WebKitTestRunner/TestInvocation.h
@@ -26,47 +26,31 @@
#ifndef TestInvocation_h
#define TestInvocation_h
-#include "PlatformWebView.h"
#include <WebKit2/WKRetainPtr.h>
-#include <JavaScriptCore/Noncopyable.h>
+#include <wtf/Noncopyable.h>
namespace WTR {
-class TestInvocation : Noncopyable {
+class TestInvocation : public Noncopyable {
public:
TestInvocation(const char*);
~TestInvocation();
void invoke();
+ void didRecieveMessageFromInjectedBundle(WKStringRef message);
private:
- void initializeMainWebView();
void dump(const char*);
// Helper
static void runUntil(bool& done);
- // PageLoaderClient
- static void didStartProvisionalLoadForFrame(WKPageRef page, WKFrameRef, const void*);
- static void didReceiveServerRedirectForProvisionalLoadForFrame(WKPageRef, WKFrameRef, const void*);
- static void didFailProvisionalLoadWithErrorForFrame(WKPageRef, WKFrameRef, const void*);
- static void didCommitLoadForFrame(WKPageRef, WKFrameRef, const void*);
- static void didFinishLoadForFrame(WKPageRef, WKFrameRef, const void*);
- static void didFailLoadForFrame(WKPageRef, WKFrameRef, const void*);
-
- // RenderTreeExternalRepresentation callbacks
- static void renderTreeExternalRepresentationFunction(WKStringRef, void*);
- static void renderTreeExternalRepresentationDisposeFunction(void*);
-
- WKStringRef injectedBundlePath();
-
WKRetainPtr<WKURLRef> m_url;
- PlatformWebView* m_mainWebView;
// Invocation state
- bool m_loadDone;
- bool m_renderTreeFetchDone;
- bool m_failed;
+ bool m_gotInitialResponse;
+ bool m_gotFinalMessage;
+ bool m_error;
};
} // namespace WTR