[webkit-changes] [WebKit/WebKit] 3eac88: [macOS] Present SCKit picker with `-[SCContentShar...

Eric Carlson noreply at github.com
Mon Aug 7 10:34:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3eac88b8c6c7480b19d42446a58284fa8b4439b2
      https://github.com/WebKit/WebKit/commit/3eac88b8c6c7480b19d42446a58284fa8b4439b2
  Author: Eric Carlson <eric.carlson at apple.com>
  Date:   2023-08-07 (Mon, 07 Aug 2023)

  Changed paths:
    M Source/WebCore/platform/mediastream/mac/ScreenCaptureKitSharingSessionManager.mm

  Log Message:
  -----------
  [macOS] Present SCKit picker with `-[SCContentSharingPicker presentPickerUsingContentStyle:]`
https://bugs.webkit.org/show_bug.cgi?id=259851
rdar://113424298

Reviewed by Andy Estes.

* Source/WebCore/platform/mediastream/mac/ScreenCaptureKitSharingSessionManager.mm:
(WebCore::ScreenCaptureKitSharingSessionManager::promptWithSCContentSharingPicker): Call
`-[SCContentSharingPicker presentPickerUsingContentStyle:]` when it is available and we
are supposed to limit picking to either window or screen.

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




More information about the webkit-changes mailing list