[webkit-changes] [WebKit/WebKit] e21334: [GTK][WPE] Remove common code to get the a11y bus ...

Carlos Garcia Campos noreply at github.com
Fri Aug 16 01:35:53 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: e21334567540b56505d57741166cc20796dfdb08
      https://github.com/WebKit/WebKit/commit/e21334567540b56505d57741166cc20796dfdb08
  Author: Carlos Garcia Campos <cgarcia at igalia.com>
  Date:   2024-08-16 (Fri, 16 Aug 2024)

  Changed paths:
    M Source/WTF/wtf/glib/Sandbox.cpp
    M Source/WTF/wtf/glib/Sandbox.h
    M Source/WebCore/platform/graphics/PlatformDisplay.cpp
    M Source/WebCore/platform/graphics/PlatformDisplay.h
    M Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp
    M Source/WebCore/platform/graphics/x11/PlatformDisplayX11.h
    M Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
    M Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.cpp
    M Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.h
    M Source/WebKit/UIProcess/WebProcessPool.h
    M Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp
    M Source/WebKit/UIProcess/glib/WebProcessProxyGLib.cpp

  Log Message:
  -----------
  [GTK][WPE] Remove common code to get the a11y bus address from PlatformDisplay
https://bugs.webkit.org/show_bug.cgi?id=278164

Reviewed by Adrian Perez de Castro.

Keeping only the GTK platform specific code that will be moved in a
follow up. The a11y bus address is now handled by WebProcessPool, that
passes both the host and the sandboxed dbus addresses to the launcher
as extra initialization data of the launch options.

* Source/WTF/wtf/glib/Sandbox.cpp:
(WTF::sandboxedUserRuntimeDirectory):
(WTF::sandboxedAccessibilityBusAddress): Deleted.
(WTF::setSandboxedAccessibilityBusAddress): Deleted.
* Source/WTF/wtf/glib/Sandbox.h:
* Source/WebCore/platform/graphics/PlatformDisplay.cpp:
(WebCore::PlatformDisplay::PlatformDisplay):
(WebCore::PlatformDisplay::accessibilityBusAddress const):
* Source/WebCore/platform/graphics/PlatformDisplay.h:
(WebCore::PlatformDisplay::platformAccessibilityBusAddress const): Deleted.
* Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:
(WebCore::PlatformDisplayX11::accessibilityBusAddress const):
(WebCore::PlatformDisplayX11::platformAccessibilityBusAddress const): Deleted.
* Source/WebCore/platform/graphics/x11/PlatformDisplayX11.h:
* Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp:
(WebKit::bindDBusSession):
(WebKit::bindA11y):
(WebKit::bubblewrapSpawn):
(WebKit::dbusProxyDirectory): Deleted.
* Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.cpp:
(WebKit::XDGDBusProxy::accessibilityProxy):
(WebKit::XDGDBusProxy::launch):
* Source/WebKit/UIProcess/Launcher/glib/XDGDBusProxy.h:
* Source/WebKit/UIProcess/WebProcessPool.h:
* Source/WebKit/UIProcess/glib/WebProcessPoolGLib.cpp:
(WebKit::WebProcessPool::platformInitializeWebProcess):
(WebKit::WebProcessPool::setSandboxEnabled):
(WebKit::queryAccessibilityBusAddress):
(WebKit::WebProcessPool::accessibilityBusAddress const):
(WebKit::WebProcessPool::sandboxedAccessibilityBusAddress const):
* Source/WebKit/UIProcess/glib/WebProcessProxyGLib.cpp:
(WebKit::WebProcessProxy::platformGetLaunchOptions):

Canonical link: https://commits.webkit.org/282339@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