[webkit-changes] [WebKit/WebKit] 8844e5: Enablement flag clean-ups
Brent Fulgham
noreply at github.com
Thu Sep 21 20:06:26 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8844e5028d10063aaf5ff4d20c3e96906ca7a18c
https://github.com/WebKit/WebKit/commit/8844e5028d10063aaf5ff4d20c3e96906ca7a18c
Author: Brent Fulgham <bfulgham at apple.com>
Date: 2023-09-21 (Thu, 21 Sep 2023)
Changed paths:
M Source/WTF/wtf/PlatformEnable.h
M Source/WTF/wtf/PlatformEnableCocoa.h
M Source/WTF/wtf/PlatformHave.h
M Source/WebCore/platform/ios/UserAgentIOS.mm
Log Message:
-----------
Enablement flag clean-ups
https://bugs.webkit.org/show_bug.cgi?id=261843
<rdar://problem/115807440>
Reviewed by Tim Horton and Elliott Williams.
This patch moves a few more enablement flags into Open Source, and corrects
some mistakes where some HAVE_ macros were placed in ENABLE_ header files.
* Source/WTF/wtf/PlatformEnable.h:
- Add WEBXR enablement flags for visionOS.
- Move a Cocoa-specific feature flag to PlatformEnableCocoa.h
* Source/WTF/wtf/PlatformEnableCocoa.h:
- Move some visionOS HAVE_ macros to PlatformHave.h.
- Move some visionOS ENABLE_ macros to this Open Source file.
- Add ENABLE_IMAGE_ANALYSIS_ENHANCEMENTS flag from PlatformEnable.h
* Source/WTF/wtf/PlatformHave.h:
- Add HAVE_UI_FOCUS_EFFECT to Open Source.
- Add visionOS HAVE_ macros previously in PlatformEnableCocoa.h
* Source/WebCore/platform/ios/UserAgentIOS.mm:
- Switch definition to ENABLE_STATIC_IPAD_USER_AGENT_VALUE, and move to Open Source.
Canonical link: https://commits.webkit.org/268299@main
More information about the webkit-changes
mailing list