Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f7a3ebfba198162725dd8c1517add1ccacdfcd5b
      
https://github.com/WebKit/WebKit/commit/f7a3ebfba198162725dd8c1517add1ccacdfcd5b
  Author: Megan Gardner <megan_gard...@apple.com>
  Date:   2023-02-01 (Wed, 01 Feb 2023)

  Changed paths:
    M Source/WTF/wtf/PlatformEnableCocoa.h
    M 
Source/WebCore/Modules/modern-media-controls/controls/watchos-layout-traits.js
    M Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm
    M Source/WebKit/UIProcess/ios/forms/WKAirPlayRoutePicker.h
    M Source/WebKit/UIProcess/ios/forms/WKAirPlayRoutePicker.mm

  Log Message:
  -----------
  Remove airplay code for Watch and ATV.
https://bugs.webkit.org/show_bug.cgi?id=251473
rdar://104893264

Reviewed by Eric Carlson.

We don't actually even use Airplay on these platforms, and this
code is old and confusing because it references iPhone and iPad
and this code is run on neither of those platforms.

* Source/WTF/wtf/PlatformEnableCocoa.h:
* 
Source/WebCore/Modules/modern-media-controls/controls/watchos-layout-traits.js:
(WatchOSLayoutTraits.prototype.supportsAirPlay):
* Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView 
_showPlaybackTargetPicker:fromRect:routeSharingPolicy:routingContextUID:]):
* Source/WebKit/UIProcess/ios/forms/WKAirPlayRoutePicker.h:
* Source/WebKit/UIProcess/ios/forms/WKAirPlayRoutePicker.mm:
(SOFT_LINK_CLASS): Deleted.
(-[WKAirPlayRoutePicker initWithView:]): Deleted.
(-[WKAirPlayRoutePicker popoverControllerDidDismissPopover:]): Deleted.
(-[WKAirPlayRoutePicker _presentAirPlayPopoverAnimated:fromRect:]): Deleted.
(-[WKAirPlayRoutePicker _windowWillRotate:]): Deleted.
(-[WKAirPlayRoutePicker _windowDidRotate:]): Deleted.
(-[WKAirPlayRoutePicker _dismissAirPlayRoutePickerIPad]): Deleted.
(-[WKAirPlayRoutePicker showAirPlayPickerIPad:fromRect:]): Deleted.
(-[WKAirPlayRoutePicker showAirPlayPickerIPhone:]): Deleted.
(-[WKAirPlayRoutePicker show:fromRect:]): Deleted.

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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to