From 0bf48ef3be53ddaa52bbead65dfd75bf90e7a2b5 Mon Sep 17 00:00:00 2001 From: Ben Murdoch Date: Tue, 11 Aug 2009 17:01:47 +0100 Subject: Merge in WebKit r47029. --- WebKitTools/DumpRenderTree/win/PolicyDelegate.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'WebKitTools/DumpRenderTree/win/PolicyDelegate.h') 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 +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 -- cgit v1.1