[webkit-changes] [WebKit/WebKit] bc8aee: [GLib] Move UA quirks file to platform/glib

Philippe Normand noreply at github.com
Sun Mar 19 15:39:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bc8aee2a7776dc029caa77dea926181cd68d39c8
      https://github.com/WebKit/WebKit/commit/bc8aee2a7776dc029caa77dea926181cd68d39c8
  Author: Philippe Normand <philn at igalia.com>
  Date:   2023-03-19 (Sun, 19 Mar 2023)

  Changed paths:
    M Source/WebCore/SourcesGTK.txt
    M Source/WebCore/SourcesWPE.txt
    M Source/WebCore/platform/SourcesGLib.txt
    R Source/WebCore/platform/UserAgentQuirks.cpp
    R Source/WebCore/platform/UserAgentQuirks.h
    A Source/WebCore/platform/glib/UserAgentQuirks.cpp
    A Source/WebCore/platform/glib/UserAgentQuirks.h

  Log Message:
  -----------
  [GLib] Move UA quirks file to platform/glib
https://bugs.webkit.org/show_bug.cgi?id=254138

Reviewed by Michael Catanzaro.

UserAgentQuirks is specific to GLib ports and should thus be located in platform/glib.

* Source/WebCore/SourcesGTK.txt:
* Source/WebCore/SourcesWPE.txt:
* Source/WebCore/platform/SourcesGLib.txt:
* Source/WebCore/platform/glib/UserAgentQuirks.cpp: Renamed from Source/WebCore/platform/UserAgentQuirks.cpp.
(WebCore::urlRequiresChromeBrowser):
(WebCore::urlRequiresFirefoxBrowser):
(WebCore::urlRequiresMacintoshPlatform):
(WebCore::urlRequiresUnbrandedUserAgent):
(WebCore::UserAgentQuirks::quirksForURL):
(WebCore::UserAgentQuirks::stringForQuirk):
* Source/WebCore/platform/glib/UserAgentQuirks.h: Renamed from Source/WebCore/platform/UserAgentQuirks.h.
(WebCore::UserAgentQuirks::UserAgentQuirks):
(WebCore::UserAgentQuirks::add):
(WebCore::UserAgentQuirks::contains const):
(WebCore::UserAgentQuirks::isEmpty const):

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




More information about the webkit-changes mailing list