Bug 243846 - [WPE] wpe_input_keyboard_event in public API
Summary: [WPE] wpe_input_keyboard_event in public API
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: WPE WebKit (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-08-11 14:00 PDT by Michael Catanzaro
Modified: 2022-08-11 14:00 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2022-08-11 14:00:23 PDT
There is a comment in WebKitWebView.h:

    gboolean   (* context_menu)                (WebKitWebView               *web_view,
                                                WebKitContextMenu           *context_menu,
                                                void                        *event, /* FIXME: Use a wpe thing here. I'm not sure we want to expose libwpe in the API. */
                                                WebKitHitTestResult         *hit_test_result);

which indicates hesitation to expose libwpe types in the public API, a worthy goal since that results in the function being non-introspectable. Sadly, struct wpe_input_keyboard_event is actually exposed in two places in WebKitInputMethodContext.