summaryrefslogtreecommitdiffstats
path: root/WebKitTools/DumpRenderTree/win/PolicyDelegate.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebKitTools/DumpRenderTree/win/PolicyDelegate.h')
-rw-r--r--WebKitTools/DumpRenderTree/win/PolicyDelegate.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/WebKitTools/DumpRenderTree/win/PolicyDelegate.h b/WebKitTools/DumpRenderTree/win/PolicyDelegate.h
index 29574ee..c808dc9 100644
--- a/WebKitTools/DumpRenderTree/win/PolicyDelegate.h
+++ b/WebKitTools/DumpRenderTree/win/PolicyDelegate.h
@@ -1,5 +1,5 @@
/*
- * Copyright (C) 2007 Apple Inc. All rights reserved.
+ * Copyright (C) 2007, 2009 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
@@ -31,6 +31,8 @@
#include <WebKit/WebKit.h>
+class LayoutTestController;
+
class PolicyDelegate : public IWebPolicyDelegate {
public:
PolicyDelegate();
@@ -65,14 +67,16 @@ public:
virtual HRESULT STDMETHODCALLTYPE unableToImplementPolicyWithError(
/* [in] */ IWebView *webView,
/* [in] */ IWebError *error,
- /* [in] */ IWebFrame *frame){ return E_NOTIMPL; }
+ /* [in] */ IWebFrame *frame);
// PolicyDelegate
void setPermissive(bool permissive) { m_permissiveDelegate = permissive; }
+ void setControllerToNotifyDone(LayoutTestController* controller) { m_controllerToNotifyDone = controller; }
private:
ULONG m_refCount;
bool m_permissiveDelegate;
+ LayoutTestController* m_controllerToNotifyDone;
};
#endif // PolicyDelegate_h