[Webkit-unassigned] [Bug 178900] [WPE] Add gtk-doc

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 21 03:50:27 PST 2018


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

--- Comment #17 from Carlos Eduardo Ramalho <cadubentzen at gmail.com> ---
(In reply to Michael Catanzaro from comment #16)
> Actually I don't think it's required for WPE, since we have so few DOM
> headers. Probably easier to keep them together, unlike GTK. So you can
> remove this FIXME.
> 
> (GTK has a huge legacy DOM API that is not exposed by WPE.)

Ok.

> > Source/WebKit/PlatformWPE.cmake:339
> > +# FIXME: WebExtension APIs are not included yet. The list of headers for WebExtension also has DOM headers.
> 
> We should create a separate documentation bundle for WebExtension/DOM.

Actually this comment sneaked in from while the patch was WIP. I added WebExtensions/DOM already, but it is in the same bundle as the UIProcess APIs.

I will move it to a different bundle then.

> > Source/WebKit/UIProcess/API/wpe/WebKitWebContext.h:252
> > +WEBKIT_API void
> > +webkit_web_context_set_sandbox_enabled              (WebKitWebContext               *context,
> > +                                                     gboolean                       enabled);
> 
> Why was this moved?

To be in the same relative position as in the WebKitGTK+ API. They are the only functions not in the same order as WebKitGTK+.

> 
> The spacing is off by one (enabled should be aligned with the c of context.)

Ok.

> 
> > Source/WebKit/UIProcess/API/wpe/docs/wpe-0.1-sections.txt:1467
> > +<SECTION>
> > +<FILE>WebKitDOMObject</FILE>
> > +<TITLE>WebKitDOMObject</TITLE>
> > +WebKitDOMObject
> 
> It should be simple to split the web process APIs into separate
> documentation, right?
> 
> > Source/WebKit/UIProcess/API/wpe/docs/wpe-docs.sgml:70
> > +  <!-- FIXME: Move WebKitDOM to its own documentation if the number of DOM APIs increases -->
> 
> Let's just have one manual for UI process, and a second manual for web
> extensions (including DOM).
> 
> > Source/WebKit/WebProcess/InjectedBundle/API/wpe/WebKitWebPage.h:79
> > +WEBKIT_API WebKitDOMDocument *
> > +webkit_web_page_get_dom_document (WebKitWebPage *web_page);
> > +
> 
> Why is this moved?

To be in the same relative position as in the WebKitGTK+ API. It is the only function not in the same order as WebKitGTK+.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181121/29f95d8c/attachment.html>


More information about the webkit-unassigned mailing list