Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c0f7f82bf6f1f2a32e52806d3bd24f6e6a4a7b11
      
https://github.com/WebKit/WebKit/commit/c0f7f82bf6f1f2a32e52806d3bd24f6e6a4a7b11
  Author: Gerald Squelart <[email protected]>
  Date:   2025-03-13 (Thu, 13 Mar 2025)

  Changed paths:
    M Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm
    M Source/WebKit/UIProcess/WebProcessPool.h
    M Source/WebKit/UIProcess/mac/WebViewImpl.h
    M Source/WebKit/UIProcess/mac/WebViewImpl.mm
    M Source/WebKit/WebProcess/WebProcess.cpp
    M Source/WebKit/WebProcess/WebProcess.h
    M Source/WebKit/WebProcess/WebProcess.messages.in

  Log Message:
  -----------
  Merge macOS suppress-HDR notification handlers
https://bugs.webkit.org/show_bug.cgi?id=289151
rdar://146236713

Reviewed by Mike Wyrzykowski.

Follow-up to https://bugs.webkit.org/show_bug.cgi?id=288690 :
Instead of observing suppress-HDR notifications in the web process
pool, observe from the web view, which was already present thanks to
https://bugs.webkit.org/show_bug.cgi?id=283314 , and notify the
WebPage about it.

* Source/WebKit/UIProcess/Cocoa/WebProcessPoolCocoa.mm:
(WebKit::WebProcessPool::registerNotificationObservers):
(WebKit::WebProcessPool::unregisterNotificationObservers):
* Source/WebKit/UIProcess/WebProcessPool.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.h:
* Source/WebKit/UIProcess/mac/WebViewImpl.mm:
(WebKit::WebViewImpl::updateHDRState):
* Source/WebKit/WebProcess/WebProcess.cpp:
(WebKit::WebProcess::createWebPage):
(WebKit::WebProcess::setShouldSuppressHDR): Deleted.
* Source/WebKit/WebProcess/WebProcess.h:
* Source/WebKit/WebProcess/WebProcess.messages.in:

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