[webkit-changes] [WebKit/WebKit] 01f11d: Add a platform specific method to call when "gamep...

Brady Eidson noreply at github.com
Thu May 16 13:19:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 01f11ddb6c104c73d97f7ba1a879b38be925e2c6
      https://github.com/WebKit/WebKit/commit/01f11ddb6c104c73d97f7ba1a879b38be925e2c6
  Author: Brady Eidson <beidson at apple.com>
  Date:   2024-05-16 (Thu, 16 May 2024)

  Changed paths:
    M Source/WebCore/platform/gamepad/cocoa/GameControllerSoftLink.h
    M Source/WebCore/platform/gamepad/cocoa/GameControllerSoftLink.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h
    M Source/WebKit/UIProcess/Cocoa/PageClientImplCocoa.h
    M Source/WebKit/UIProcess/Cocoa/PageClientImplCocoa.mm
    M Source/WebKit/UIProcess/PageClient.h
    M Source/WebKit/UIProcess/WebPageProxy.cpp

  Log Message:
  -----------
  Add a platform specific method to call when "gamepads recently accessed" state changes
rdar://128171648
https://bugs.webkit.org/show_bug.cgi?id=274238

Reviewed by Aditya Keerthi.

Some Apple builds will implement this for now, and it can remain a no-op for others.

* Source/WebCore/platform/gamepad/cocoa/GameControllerSoftLink.h:
* Source/WebCore/platform/gamepad/cocoa/GameControllerSoftLink.mm:

* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
(-[WKWebView _setGamepadsRecentlyAccessed:]):
* Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h:

* Source/WebKit/UIProcess/Cocoa/PageClientImplCocoa.h:
* Source/WebKit/UIProcess/Cocoa/PageClientImplCocoa.mm:
(WebKit::PageClientImplCocoa::setGamepadsRecentlyAccessed):
* Source/WebKit/UIProcess/PageClient.h:
(WebKit::PageClient::setGamepadsRecentlyAccessed):

* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::recentGamepadAccessStateChanged):

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



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


More information about the webkit-changes mailing list