[Webkit-unassigned] [Bug 41441] Add a target URL parameter to the createView and createWindow method

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jul 1 20:45:11 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=41441





--- Comment #9 from Johnny Ding <jnd at chromium.org>  2010-07-01 20:45:11 PST ---
(In reply to comment #7)
> (From update of attachment 60230 [details])
> WebKit/chromium/public/WebViewClient.h:43
>  +  #include <wtf/UnusedParam.h>
> you cannot have wtf includes from webkit api headers.
> please just leave the parameter unnamed down below.
> 
Done

> WebCore/page/ChromeClient.h:97
>  +          virtual Page* createWindow(Frame* frame, const FrameLoadRequest& request, const WindowFeatures& features, const KURL& targetURL)
> although it is painful, Sam reminded me recently that we should
> make all ChromeClient and FrameLoaderClient methods pure virtual.
> that way ports will fail to compile if they do not implement the
> new methods.  this can help ports not get out of sync with the
> methods that they need to be implementing.  arguably, they don't
> need to be implementing this function, but it is better for us to
> have a consistent policy that is easy to enforce.

I understand the reason to make all ChromeClient and FrameLoaderClient methods pure virtual, but since The ChromeClient is important interface which is already used by all WebKit ports, it cold make the compilation failed. Should I changed all ports? (Making the callers to all call the new one createWindow also cause compilation failed)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list