Move soft-linking of ManagedConfiguration.framework out of ManagedConfigurationSPI.h
authorddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Jan 2019 00:58:13 +0000 (00:58 +0000)
committerddkilzer@apple.com <ddkilzer@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Jan 2019 00:58:13 +0000 (00:58 +0000)
commita1e0bedca9306cdbf47a5d7c3427f24088a20a40
treef8526137279c5d0ad1d8a1721c788e593a903373
parent4433e10167252223b6ec2679ce81607b86d33099
Move soft-linking of ManagedConfiguration.framework out of ManagedConfigurationSPI.h
<https://webkit.org/b/193868>

Reviewed by Daniel Bates.

* Platform/spi/ios/ManagedConfigurationSPI.h:
- Remove soft-linking code from header.
- Add PLATFORM(IOS_FAMILY) && !PLATFORM(IOSMAC) guard.

* UIProcess/ios/WKContentViewInteraction.mm:
(-[WKContentView canPerformActionForWebView:withSender:]):
(-[WKContentView _defineForWebView:]):
- Add soft-linking code formerly in ManagedConfigurationSPI.h.
- Change MCFeatureDefinitionLookupAllowed to use soft-link
  function getMCFeatureDefinitionLookupAllowed() to remove the
  #define.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@240621 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/ChangeLog
Source/WebKit/Platform/spi/ios/ManagedConfigurationSPI.h
Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm