[webkit-changes] [WebKit/WebKit] 07a9bc: [GTK] Deprecate event parameter of WebKitWebView::...

Carlos Garcia Campos noreply at github.com
Sun Nov 20 02:22:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 07a9bc7be85d6549f876018d1886a8b4335acc25
      https://github.com/WebKit/WebKit/commit/07a9bc7be85d6549f876018d1886a8b4335acc25
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2022-11-20 (Sun, 20 Nov 2022)

  Changed paths:
    M Source/WebKit/Shared/API/glib/WebKitContextMenu.cpp
    M Source/WebKit/Shared/API/glib/WebKitContextMenuPrivate.h
    M Source/WebKit/UIProcess/API/glib/WebKitContextMenu.h.in
    M Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
    M Tools/TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp
    M Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp

  Log Message:
  -----------
  [GTK] Deprecate event parameter of WebKitWebView::context-menu signal
https://bugs.webkit.org/show_bug.cgi?id=248078

Reviewed by Michael Catanzaro.

Deprecate it in current API and remove it for GTK4 API. Add
webkit_context_menu_get_event() instead.

* Source/WebKit/Shared/API/glib/WebKitContextMenu.cpp:
(webkitContextMenuSetEvent):
(webkit_context_menu_get_event):
* Source/WebKit/Shared/API/glib/WebKitContextMenuPrivate.h:
* Source/WebKit/UIProcess/API/glib/WebKitContextMenu.h.in:
* Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:
(webkit_web_view_class_init):
(webkitWebViewPopulateContextMenu):
(gValueGetEvent): Deleted.
(webkitWebViewContextMenuMarshal): Deleted.
(webkitWebViewContextMenuMarshalVa): Deleted.
* Tools/TestWebKitAPI/Tests/WebKitGLib/WebExtensionTest.cpp:
(contextMenuCallback):
* Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:
(beforeAll):

Canonical link: https://commits.webkit.org/256886@main




More information about the webkit-changes mailing list