[webkit-changes] [WebKit/WebKit] 981b5d: [GTK] Remove TouchEventsEnabled from DeprecatedGlo...

Tim Nguyen noreply at github.com
Fri Jan 6 16:05:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 981b5db5676d9ca1945b2bd8c8e0bbebf7fb9dcf
      https://github.com/WebKit/WebKit/commit/981b5db5676d9ca1945b2bd8c8e0bbebf7fb9dcf
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml
    M Source/WebCore/dom/GlobalEventHandlers.idl
    M Source/WebCore/page/DeprecatedGlobalSettings.cpp
    M Source/WebCore/page/DeprecatedGlobalSettings.h

  Log Message:
  -----------
  [GTK] Remove TouchEventsEnabled from DeprecatedGlobalSettings
https://bugs.webkit.org/show_bug.cgi?id=250188
rdar://103963408

Reviewed by Wenson Hsieh.

This setting is only relevant to GTK which implements `WebCore::screenHasTouchDevice()`.
Other platforms always return true for this function.

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:
* Source/WebCore/dom/GlobalEventHandlers.idl:
* Source/WebCore/page/DeprecatedGlobalSettings.cpp:
(WebCore::DeprecatedGlobalSettings::touchEventsEnabled): Deleted.
* Source/WebCore/page/DeprecatedGlobalSettings.h:
(WebCore::DeprecatedGlobalSettings::setTouchEventsEnabled): Deleted.

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




More information about the webkit-changes mailing list