[webkit-changes] [WebKit/WebKit] 637d7c: Update LinkDecorationFilteringObserver/Controller ...

Matthew Finkel noreply at github.com
Sat Dec 9 15:45:39 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 637d7cfc3cdca28c6342dd30a2788e146f10203c
      https://github.com/WebKit/WebKit/commit/637d7cfc3cdca28c6342dd30a2788e146f10203c
  Author: Matthew Finkel <sysrqb at apple.com>
  Date:   2023-12-09 (Sat, 09 Dec 2023)

  Changed paths:
    M Source/WebKit/Platform/cocoa/WebPrivacyHelpers.h
    M Source/WebKit/Platform/cocoa/WebPrivacyHelpers.mm

  Log Message:
  -----------
  Update LinkDecorationFilteringObserver/Controller with review feedback
https://bugs.webkit.org/show_bug.cgi?id=266076
rdar://119380680

Reviewed by Wenson Hsieh.

I received review feedback on some similar changes that followed how
LinkDecorationObserver/Controller is defined and implemented. This patch makes
the relevant changes that are appropriate for these classes.

We can simplify and reduce duplication in another patch.

* Source/WebKit/Platform/cocoa/WebPrivacyHelpers.h:
(WebKit::LinkDecorationFilteringDataObserver::LinkDecorationFilteringDataObserver):
* Source/WebKit/Platform/cocoa/WebPrivacyHelpers.mm:
(WebKit::LinkDecorationFilteringController::shared):
(WebKit::LinkDecorationFilteringController::observeUpdates):
(WebKit::LinkDecorationFilteringController::updateStrings):

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




More information about the webkit-changes mailing list