Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: d585739018e693a01ff8972b8adcf693fdd9be38
      
https://github.com/WebKit/WebKit/commit/d585739018e693a01ff8972b8adcf693fdd9be38
  Author: Kate Lee <[email protected]>
  Date:   2026-01-12 (Mon, 12 Jan 2026)

  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 Source/WebKit/UIProcess/WebContextMenuProxy.h
    M Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp

  Log Message:
  -----------
  [GLib] Add webkit_context_menu_get_position API
https://bugs.webkit.org/show_bug.cgi?id=305137

Reviewed by Carlos Garcia Campos.

Added webkit_context_menu_get_position() to retrieve the click coordinates
(x, y) in view coordinates when a context menu is triggered. This allows
applications to know the exact position where the user right-clicked.

* Source/WebKit/Shared/API/glib/WebKitContextMenu.cpp:
* Source/WebKit/Shared/API/glib/WebKitContextMenuPrivate.h:
* Source/WebKit/UIProcess/API/glib/WebKitContextMenu.h.in:
* Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp:
* Source/WebKit/UIProcess/WebContextMenuProxy.h:
* Tools/TestWebKitAPI/Tests/WebKitGtk/TestContextMenu.cpp:"

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to