Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 32bbc113a554ff8c364641a73cf88fc1cab481e8
https://github.com/WebKit/WebKit/commit/32bbc113a554ff8c364641a73cf88fc1cab481e8
Author: Carlos Garcia Campos <[email protected]>
Date: 2025-04-08 (Tue, 08 Apr 2025)
Changed paths:
M Source/WebKit/WPEPlatform/wpe/WPESettings.cpp
M Source/WebKit/WPEPlatform/wpe/WPESettings.h
M Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp
M Source/WebKit/WPEPlatform/wpe/headless/WPEDisplayHeadless.cpp
M Source/WebKit/WPEPlatform/wpe/wayland/WPEDisplayWayland.cpp
Log Message:
-----------
[WPE] WPE Platform: add a setting to allow applications handle the toplevels
https://bugs.webkit.org/show_bug.cgi?id=291076
Reviewed by Patrick Griffis.
We currently always create a WPEToplevel for every WPEView when it's
created. However, applications might want to handle the WPEToplevel, for
example to add multiple views to the same toplevel. This patch adds
WPE_SETTING_CREATE_VIEWS_WITH_A_TOPLEVEL and creates the toplevel
conditionally after WPEView creation depending on this setting.
* Source/WebKit/WPEPlatform/wpe/WPESettings.cpp:
(_WPESettingsPrivate::_WPESettingsPrivate):
* Source/WebKit/WPEPlatform/wpe/WPESettings.h:
* Source/WebKit/WPEPlatform/wpe/drm/WPEDisplayDRM.cpp:
(wpeDisplayDRMCreateView):
* Source/WebKit/WPEPlatform/wpe/headless/WPEDisplayHeadless.cpp:
(wpeDisplayHeadlessCreateView):
* Source/WebKit/WPEPlatform/wpe/wayland/WPEDisplayWayland.cpp:
(wpeDisplayWaylandCreateView):
Canonical link: https://commits.webkit.org/293399@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