[webkit-changes] [WebKit/WebKit] 73e0d4: Create a combined GTK/WPE PlatformEnablement file

Brent Fulgham noreply at github.com
Wed Sep 27 16:07:55 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 73e0d4c74d1baaeb169b9bbc3f1adcfe71579bcc
      https://github.com/WebKit/WebKit/commit/73e0d4c74d1baaeb169b9bbc3f1adcfe71579bcc
  Author: Brent Fulgham <bfulgham at apple.com>
  Date:   2023-09-27 (Wed, 27 Sep 2023)

  Changed paths:
    M Source/WTF/WTF.xcodeproj/project.pbxproj
    M Source/WTF/wtf/CMakeLists.txt
    M Source/WTF/wtf/PlatformEnable.h
    M Source/WTF/wtf/PlatformEnableCocoa.h
    A Source/WTF/wtf/PlatformEnableGlib.h
    M Source/WTF/wtf/PlatformEnablePlayStation.h
    M Source/WTF/wtf/PlatformEnableWinCairo.h
    M Source/WebCore/platform/PlatformWheelEvent.h

  Log Message:
  -----------
  Create a combined GTK/WPE PlatformEnablement file
https://bugs.webkit.org/show_bug.cgi?id=261960
<rdar://problem/115902210>

Reviewed by Chris Dumez.

PlatformEnable.h is meant to hold the default state of compile-time feature enablement
flag. Specific platform-related files are meant to override these values.

No PlatformEnableGTK or PlatformEnableWPE file was ever created, leading to conditional
macros being added to the default file.

This patch moves the GTK and WPE-specific rules to their own file, to match other platforms.
It also corrects the alphabetical ordering of the files.

* Source/WTF/wtf/CMakeFiles.txt: Add new header file.
* Source/WTF/WTF.xcodeproj/project.pbxproj:
* Source/WTF/wtf/PlatformEnable.h:
* Source/WTF/wtf/PlatformEnableCocoa.h:
* Source/WTF/wtf/PlatformEnableGlib.h: Added.
* Source/WTF/wtf/PlatformEnablePlayStation.h:
* Source/WTF/wtf/PlatformEnableWinCairo.h:
* Source/WebCore/platform/PlatformWheelEvent.h: Correct the enum definition for the
case where KINETIC_SCROLLING has been enabled, but ASYNC_SCROLLING is not.

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




More information about the webkit-changes mailing list