On Sat, Apr 22, 2017 at 1:14 AM, Carlos Garcia Campos <[email protected]> wrote:
The easiest way would be to reuse the GTK+ API. WPE has the same
dependencies than the GTK+ port except for GTK+ itself. The GTK+ API of
course depend on GTK+, but only for the WebView, and a few other
fallback implementations like the file chooser, color chooser,
printing, etc, that are, in any case, optional. So, we could move 95%
of the GTK+ API to a common glib dir and reuse all that in WPE, only
adding a WebView implementation for WPE.

I'm sure reimplementing WebKitWebView without GTK+ will be a lot of work, and I'm pretty sure it's a lot more than 5% of the current API. But I like this plan. It will result in a dramatically better API for WPE than what we have now. The cross-platform C API is not very good. Our GObject-based GTK+ API is. Why didn't we consider this before? :)

Michael

_______________________________________________
webkit-dev mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-dev

Reply via email to