Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dfb25580b759e3595b4af2f546ed66451668f0ae
      
https://github.com/WebKit/WebKit/commit/dfb25580b759e3595b4af2f546ed66451668f0ae
  Author: Lily Spiniolas <[email protected]>
  Date:   2025-03-03 (Mon, 03 Mar 2025)

  Changed paths:
    M Source/WebCore/platform/Theme.h
    M Source/WebCore/platform/mac/ThemeMac.h
    M Source/WebCore/platform/mac/ThemeMac.mm

  Log Message:
  -----------
  [macOS] Add method for determining if accessibility setting "Differentiate 
without color" is enabled
https://bugs.webkit.org/show_bug.cgi?id=289029
rdar://146065406

Reviewed by Aditya Keerthi.

Add method `userPrefersDifferentiationWithoutColor` to `Theme` and
override it in `ThemeMac` to return the value of the accessibility
setting.

* Source/WebCore/platform/Theme.h:
(WebCore::Theme::userPrefersDifferentiationWithoutColor const):
* Source/WebCore/platform/mac/ThemeMac.h:
* Source/WebCore/platform/mac/ThemeMac.mm:
(WebCore::ThemeMac::userPrefersDifferentiationWithoutColor const):

Canonical link: https://commits.webkit.org/291545@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

Reply via email to