Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7001fa5dd9b3a8b817870ddd0ea5246532ec094e
      
https://github.com/WebKit/WebKit/commit/7001fa5dd9b3a8b817870ddd0ea5246532ec094e
  Author: Carlos Garcia Campos <[email protected]>
  Date:   2025-10-13 (Mon, 13 Oct 2025)

  Changed paths:
    M Source/WebCore/platform/PlatformKeyboardEvent.h
    M Source/WebCore/platform/gtk/PlatformKeyboardEventGtk.cpp
    M Source/WebKit/Shared/WebKeyboardEvent.h
    M Source/WebKit/Shared/gtk/WebEventFactory.cpp
    A Source/WebKit/Shared/gtk/WebKeyboardEventGtk.cpp
    M Source/WebKit/SourcesGTK.txt
    M Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp

  Log Message:
  -----------
  [GTK] Move keyboard event conversion utilities from WebCore to WebKit
https://bugs.webkit.org/show_bug.cgi?id=300627

Reviewed by Adrian Perez de Castro.

They are only used in WebKit.

* Source/WebCore/platform/PlatformKeyboardEvent.h:
* Source/WebCore/platform/gtk/PlatformKeyboardEventGtk.cpp:
(WebCore::PlatformKeyboardEvent::keyValueForGdkKeyCode): Deleted.
(WebCore::PlatformKeyboardEvent::keyCodeForHardwareKeyCode): Deleted.
(WebCore::PlatformKeyboardEvent::keyIdentifierForGdkKeyCode): Deleted.
(WebCore::PlatformKeyboardEvent::windowsKeyCodeForGdkKeyCode): Deleted.
(WebCore::PlatformKeyboardEvent::singleCharacterString): Deleted.
* Source/WebKit/Shared/WebKeyboardEvent.h:
* Source/WebKit/Shared/gtk/WebEventFactory.cpp:
(WebKit::WebEventFactory::createWebKeyboardEvent):
* Source/WebKit/Shared/gtk/WebKeyboardEventGtk.cpp: Copied from 
Source/WebCore/platform/gtk/PlatformKeyboardEventGtk.cpp.
(WebKit::WebKeyboardEvent::keyValueStringForGdkKeyval):
(WebKit::WebKeyboardEvent::keyCodeStringForGdkKeycode):
(WebKit::WebKeyboardEvent::keyIdentifierForGdkKeyval):
(WebKit::WebKeyboardEvent::windowsKeyCodeForGdkKeyval):
(WebKit::WebKeyboardEvent::singleCharacterStringForGdkKeyval):
* Source/WebKit/SourcesGTK.txt:
* Source/WebKit/UIProcess/API/gtk/WebKitWebViewBase.cpp:
(webkitWebViewBaseSynthesizeKeyEvent):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to