[Webkit-unassigned] [Bug 57820] [GTK] Export an API similar to WebKit1

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue May 3 23:38:35 PDT 2011


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





--- Comment #15 from Carlos Garcia Campos <cgarcia at igalia.com>  2011-05-03 23:38:35 PST ---
(In reply to comment #13)
> (From update of attachment 92059 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=92059&action=review
> 
> > Source/WebKit2/UIProcess/API/gtk/WebKitWebView.cpp:21
> > +#include "WebKitWebView.h"
> 
> Why not just put the WebKit1 header in the include path instead of completely duplicating the header?

Because headers might be different in the future. The existing API in webkit1 will be kept in webkit2 to ensure the compatibility, but we might want to add new methods to the API that don't make sense in webkit1. For example, when we add a wrapper for WKContext, we could add webkit_web_view_new_with_context() to the webkit2 API.

-- 
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