Use #import instead of #include in Objective-C and don't use #pragma once
authordarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Apr 2020 15:32:36 +0000 (15:32 +0000)
committerdarin@apple.com <darin@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Apr 2020 15:32:36 +0000 (15:32 +0000)
https://bugs.webkit.org/show_bug.cgi?id=210724

Reviewed by David Kilzer.

Source/JavaScriptCore:

* API/JSAPIWrapperObject.mm:
* API/JSContext.h:
* API/JSContext.mm:
* API/JSScriptInternal.h:
* API/JSValue.mm:
* API/JSVirtualMachine.mm:
* API/JSVirtualMachinePrivate.h:
* API/JSWrapperMap.mm:
* API/ObjCCallbackFunction.mm:
* API/tests/CurrentThisInsideBlockGetterTest.mm:
More #import, less #pragma once.

Source/WebCore:

* page/cocoa/SettingsBaseCocoa.mm:
(WebCore::sansSerifTraditionalHanFontFamily): Deleted.
(WebCore::sansSerifSimplifiedHanFontFamily): Deleted.
(WebCore::SettingsBase::initializeDefaultFontFamilies): Just use font name
strings directly since there are no conditionals any more.

* Modules/applepay/PaymentRequestValidator.mm:
* Modules/applepay/cocoa/PaymentContactCocoa.mm:
* accessibility/ios/WebAccessibilityObjectWrapperIOS.h:
* accessibility/mac/AXObjectCacheMac.mm:
* accessibility/mac/WebAccessibilityObjectWrapperBase.h:
* accessibility/mac/WebAccessibilityObjectWrapperMac.h:
* bridge/objc/WebScriptObjectPrivate.h:
* bridge/objc/objc_class.mm:
* bridge/testbindings.mm:
* crypto/mac/SerializedCryptoKeyWrapMac.mm:
* editing/cocoa/WebArchiveResourceFromNSAttributedString.h:
* editing/cocoa/WebArchiveResourceWebResourceHandler.h:
* editing/cocoa/WebContentReaderCocoa.mm:
* history/mac/HistoryItemMac.mm:
* loader/cocoa/DiskCacheMonitorCocoa.mm:
* loader/cocoa/SubresourceLoaderCocoa.mm:
* loader/mac/ResourceLoaderMac.mm:
* page/cocoa/MemoryReleaseCocoa.mm:
* page/cocoa/ResourceUsageOverlayCocoa.mm:
* page/cocoa/ResourceUsageThreadCocoa.mm:
* page/ios/WebEventRegion.h:
* page/mac/ChromeMac.mm:
* page/mac/EventHandlerMac.mm:
* page/mac/WheelEventDeltaFilterMac.mm:
* page/scrolling/cocoa/ScrollingStateNode.mm:
* page/scrolling/mac/ScrollingCoordinatorMac.mm:
* page/scrolling/mac/ScrollingMomentumCalculatorMac.mm:
* page/scrolling/mac/ScrollingStateScrollingNodeMac.mm:
* page/scrolling/mac/ScrollingThreadMac.mm:
* page/scrolling/mac/ScrollingTreeMac.mm:
* platform/audio/cocoa/MediaSessionManagerCocoa.mm:
* platform/audio/mac/AudioSampleDataSource.mm:
* platform/cocoa/DataDetectorsCoreSoftLink.mm:
* platform/cocoa/PasteboardCocoa.mm:
* platform/cocoa/ScrollSnapAnimatorState.mm:
* platform/cocoa/SystemVersion.mm:
* platform/gamepad/cocoa/GameControllerGamepad.mm:
* platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm:
* platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.mm:
* platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
* platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
* platform/graphics/avfoundation/objc/VideoLayerManagerObjC.mm:
* platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
* platform/graphics/ca/cocoa/WebSystemBackdropLayer.h:
* platform/graphics/ca/cocoa/WebTiledBackingLayer.h:
* platform/graphics/ca/cocoa/WebVideoContainerLayer.h:
* platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm:
* platform/graphics/cocoa/IOSurfacePoolCocoa.mm:
* platform/graphics/cocoa/TextTrackRepresentationCocoa.mm:
* platform/graphics/cocoa/WebGLLayer.h:
* platform/graphics/cocoa/WebGLLayer.mm:
* platform/graphics/cocoa/WebGPULayer.h:
* platform/graphics/cocoa/WebGPULayer.mm:
* platform/graphics/cv/ImageRotationSessionVT.mm:
* platform/graphics/cv/ImageTransferSessionVT.mm:
* platform/graphics/cv/TextureCacheCV.mm:
* platform/graphics/gpu/cocoa/GPUBufferMetal.mm:
* platform/graphics/gpu/cocoa/GPUComputePassEncoderMetal.mm:
* platform/graphics/mac/ComplexTextControllerCoreText.mm:
* platform/graphics/mac/FloatPointMac.mm:
* platform/graphics/mac/FloatSizeMac.mm:
* platform/graphics/mac/IntPointMac.mm:
* platform/graphics/mac/IntSizeMac.mm:
* platform/graphics/mac/WebLayer.h:
* platform/graphics/mac/WebLayer.mm:
* platform/ios/LegacyTileCache.mm:
* platform/ios/LegacyTileGrid.mm:
* platform/ios/LegacyTileGridTile.mm:
* platform/ios/LegacyTileLayer.h:
* platform/ios/LegacyTileLayer.mm:
* platform/ios/LegacyTileLayerPool.mm:
* platform/ios/LocalCurrentTraitCollection.mm:
* platform/ios/LocalizedDeviceModel.mm:
* platform/ios/ScrollbarThemeIOS.mm:
* platform/ios/WebCoreMotionManager.h:
* platform/ios/WebItemProviderPasteboard.mm:
* platform/ios/WebVideoFullscreenControllerAVKit.h:
* platform/mac/LocalCurrentGraphicsContext.mm:
* platform/mac/LocalDefaultSystemAppearance.mm:
* platform/mac/LoggingMac.mm:
* platform/mac/PlatformEventFactoryMac.mm:
* platform/mac/RemoteCommandListenerMac.mm:
* platform/mac/ScrollAnimatorMac.mm:
* platform/mac/SerializedPlatformDataCueMac.mm:
* platform/mac/WebCoreFullScreenPlaceholderView.mm:
* platform/mac/WebCoreFullScreenWarningView.h:
* platform/mac/WebCoreFullScreenWarningView.mm:
* platform/mac/WebCoreFullScreenWindow.h:
* platform/mac/WebCoreObjCExtras.mm:
* platform/mediarecorder/cocoa/MediaRecorderPrivateWriterCocoa.mm:
* platform/mediasession/mac/MediaSessionInterruptionProviderMac.mm:
* platform/mediastream/ios/AVAudioSessionCaptureDevice.mm:
* platform/mediastream/ios/CoreAudioCaptureSourceIOS.mm:
* platform/mediastream/mac/RealtimeIncomingVideoSourceCocoa.mm:
* platform/mediastream/mac/RealtimeMediaSourceCenterMac.mm:
* platform/mediastream/mac/RealtimeVideoUtilities.mm:
* platform/mediastream/mac/ScreenDisplayCaptureSourceMac.mm:
* platform/network/cocoa/CertificateInfoCocoa.mm:
* platform/network/cocoa/WebCoreNSURLSession.h:
* platform/network/mac/BlobDataFileReferenceMac.mm:
* platform/network/mac/CredentialStorageMac.mm:
* platform/network/mac/SynchronousLoaderClient.mm:
* platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.h:
* platform/text/cocoa/LocaleCocoa.mm:
* testing/ServiceWorkerInternals.mm:
* testing/cocoa/WebViewVisualIdentificationOverlay.h:
More #import, less #pragma once.

Source/WebCore/PAL:

* pal/cocoa/AppSSOSoftLink.mm:
* pal/cocoa/FileSizeFormatterCocoa.mm:
* pal/cocoa/UsageTrackingSoftLink.mm:
* pal/ios/ManagedConfigurationSoftLink.mm:
* pal/ios/UIKitSoftLink.mm:
* pal/mac/LookupSoftLink.mm:
* pal/spi/cocoa/AVFoundationSPI.h:
* pal/spi/cocoa/AccessibilitySupportSoftLink.cpp:
* pal/spi/cocoa/AppSSOSPI.h:
* pal/spi/cocoa/AuthKitSPI.h:
* pal/spi/cocoa/DataDetectorsCoreSPI.h:
* pal/spi/cocoa/LaunchServicesSPI.h:
* pal/spi/cocoa/NSAccessibilitySPI.h:
* pal/spi/cocoa/NSAttributedStringSPI.h:
* pal/spi/cocoa/NSProgressSPI.h:
* pal/spi/cocoa/NSURLDownloadSPI.h:
* pal/spi/cocoa/NSUserDefaultsSPI.h:
* pal/spi/cocoa/NSXPCConnectionSPI.h:
* pal/spi/cocoa/PassKitSPI.h:
* pal/spi/cocoa/SecKeyProxySPI.h:
* pal/spi/ios/CelestialSPI.h:
* pal/spi/mac/DataDetectorsSPI.h:
* pal/spi/mac/NSColorWellSPI.h:
* pal/spi/mac/NSGraphicsSPI.h:
* pal/spi/mac/NSPopoverColorWellSPI.h:
* pal/spi/mac/NSScrollerImpSPI.h:
More #import, less #pragma once.

Source/WebKit:

* mac/MigrateHeadersFromWebKitLegacy.make: Delete stale MemoryMeasure.h
forwarding header from incremental WebKit builds and ignore when generating
new forwarding headers.

* Platform/foundation/LoggingFoundation.mm:
(WebKit::logLevelString): Use string directly instead of a named constant.

* UIProcess/mac/WebColorPickerMac.h: Mark class final.

* GPUProcess/webrtc/LibWebRTCCodecsProxy.mm:
* NetworkProcess/WebStorage/ios/LocalStorageDatabaseTrackerIOS.mm:
* NetworkProcess/cache/NetworkCacheDataCocoa.mm:
* NetworkProcess/cache/NetworkCacheIOChannelCocoa.mm:
* NetworkProcess/cocoa/NetworkActivityTrackerCocoa.mm:
* NetworkProcess/cocoa/NetworkSessionCocoa.mm:
* NetworkProcess/webrtc/NetworkRTCProvider.mm:
* Platform/spi/Cocoa/DeviceManagementSPI.h:
* Platform/spi/Cocoa/LocalAuthenticationSPI.h:
* Platform/spi/Cocoa/NearFieldSPI.h:
* Platform/spi/Cocoa/SafeBrowsingSPI.h:
* Platform/spi/mac/AppKitSPI.h:
* Shared/API/Cocoa/RemoteObjectInvocation.mm:
* Shared/API/Cocoa/WKMain.mm:
* Shared/APIWebArchive.mm:
* Shared/APIWebArchiveResource.mm:
* Shared/Authentication/cocoa/AuthenticationChallengeDispositionCocoa.mm:
* Shared/Cocoa/LoadParametersCocoa.mm:
* Shared/Cocoa/SandboxInitialiationParametersCocoa.mm:
* Shared/Cocoa/WKNSData.mm:
* Shared/DocumentEditingContext.mm:
* Shared/Plugins/mac/PluginSandboxProfile.mm:
* Shared/RemoteLayerTree/WKAnimationDelegate.h:
* Shared/UserInterfaceIdiom.mm:
* Shared/ios/WebIconUtilities.mm:
* Shared/mac/CodeSigning.mm:
* Shared/mac/ColorSpaceData.mm:
* Shared/mac/HangDetectionDisablerMac.mm:
* Shared/mac/PDFKitImports.mm:
* UIProcess/API/Cocoa/APIContentRuleListStoreCocoa.mm:
* UIProcess/API/Cocoa/APIHTTPCookieStoreCocoa.mm:
* UIProcess/API/Cocoa/APISerializedScriptValueCocoa.mm:
* UIProcess/API/Cocoa/WKContentRuleList.mm:
* UIProcess/API/Cocoa/WKMenuItemIdentifiers.mm:
* UIProcess/API/Cocoa/WKNavigationActionPrivate.h:
* UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.mm:
* UIProcess/API/Cocoa/WKWebViewInternal.h:
* UIProcess/API/Cocoa/WKWebpagePreferencesInternal.h:
* UIProcess/API/Cocoa/_WKApplicationManifest.h:
* UIProcess/API/Cocoa/_WKAttachment.h:
* UIProcess/API/Cocoa/_WKResourceLoadInfoInternal.h:
* UIProcess/API/Cocoa/_WKResourceLoadStatisticsFirstPartyInternal.h:
* UIProcess/API/Cocoa/_WKResourceLoadStatisticsThirdPartyInternal.h:
* UIProcess/API/Cocoa/_WKTextManipulationExclusionRule.mm:
* UIProcess/API/Cocoa/_WKUserContentFilter.mm:
* UIProcess/API/Cocoa/_WKWebAuthenticationAssertionResponseInternal.h:
* UIProcess/API/Cocoa/_WKWebAuthenticationPanelInternal.h:
* UIProcess/API/Cocoa/_WKWebsiteDataStoreDelegate.h:
* UIProcess/Authentication/mac/WebCredentialMac.mm:
* UIProcess/Automation/cocoa/WebAutomationSessionCocoa.mm:
* UIProcess/Cocoa/IconLoadingDelegate.mm:
* UIProcess/Cocoa/MediaUtilities.mm:
* UIProcess/Cocoa/PreferenceObserver.h:
* UIProcess/Cocoa/PreferenceObserver.mm:
* UIProcess/Cocoa/SOAuthorization/NavigationSOAuthorizationSession.mm:
* UIProcess/Cocoa/SOAuthorization/SOAuthorizationNSURLExtras.h:
* UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm:
* UIProcess/Cocoa/SOAuthorization/WKSOAuthorizationDelegate.h:
* UIProcess/Cocoa/WKEditCommand.h:
* UIProcess/Cocoa/WKFullKeyboardAccessWatcher.h:
* UIProcess/Cocoa/WebPageProxyCocoa.mm:
* UIProcess/Gamepad/cocoa/UIGamepadProviderCocoa.mm:
* UIProcess/Inspector/mac/WKInspectorViewController.h:
* UIProcess/Inspector/mac/WKInspectorWKWebView.h:
* UIProcess/RemoteLayerTree/ios/RemoteLayerTreeViews.h:
* UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.h:
* UIProcess/RemoteLayerTree/mac/ScrollerMac.mm:
* UIProcess/RemoteLayerTree/mac/ScrollerPairMac.mm:
* UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm:
* UIProcess/WebAuthentication/Cocoa/WKNFReaderSessionDelegate.h:
* UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:
* UIProcess/ios/WKDeferringGestureRecognizer.h:
* UIProcess/ios/WKHighlightLongPressGestureRecognizer.h:
* UIProcess/ios/WebDataListSuggestionsDropdownIOS.h:
* UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm:
* UIProcess/ios/forms/WKDatePickerViewController.h:
* UIProcess/ios/forms/WKDatePickerViewController.mm:
* UIProcess/ios/forms/WKFocusedFormControlView.h:
* UIProcess/ios/forms/WKFocusedFormControlView.mm:
* UIProcess/ios/forms/WKFormColorPicker.mm:
* UIProcess/ios/forms/WKNumberPadViewController.h:
* UIProcess/ios/forms/WKNumberPadViewController.mm:
* UIProcess/ios/forms/WKQuickboardListViewController.h:
* UIProcess/ios/forms/WKQuickboardListViewController.mm:
* UIProcess/ios/forms/WKSelectMenuListViewController.h:
* UIProcess/ios/forms/WKTimePickerViewController.h:
* UIProcess/ios/forms/WKTimePickerViewController.mm:
* UIProcess/ios/fullscreen/WKFullScreenViewController.h:
* UIProcess/ios/fullscreen/WKFullscreenStackView.h:
* UIProcess/ios/fullscreen/WKFullscreenStackView.mm:
* UIProcess/mac/PageClientImplMac.mm:
* UIProcess/mac/WKSharingServicePickerDelegate.h:
* WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm:
* WebProcess/GPU/media/cocoa/VideoLayerRemoteCocoa.h:
* WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm:
* WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm:
* WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm:
* WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.cpp:
* WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteCustom.mm:
* WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteTiledBacking.cpp:
* WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.h:
* WebProcess/WebPage/mac/PageBannerMac.mm:
* WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.h:
* WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.h:
* WebProcess/cocoa/WebProcessCocoa.mm:
More #import, less #pragma once.

Source/WebKitLegacy:

* WebKitLegacy.xcodeproj/project.pbxproj: Removed MemoryMeasure.h/mm.

Source/WebKitLegacy/ios:

* Misc/MemoryMeasure.h: Removed.
* Misc/MemoryMeasure.mm: Removed.
* WebKit.iOS.exp: Removed MemoryMeasure symbols.

Source/WebKitLegacy/mac:

* Configurations/WebKitLegacy.xcconfig: Removed MemoryMeasure.h from
EXCLUDED_SOURCE_FILE_NAMES.

* Misc/WebCache.mm:
(+[WebCache emptyInMemoryResources]): Removed invocation of MemoryMeasure.
This is no longer used for anything.

* History/BackForwardList.mm:
* Plugins/Hosted/ProxyRuntimeObject.mm:
* Plugins/Hosted/WebHostedNetscapePluginView.mm:
* WebCoreSupport/SearchPopupMenuMac.mm:
* WebCoreSupport/WebAlternativeTextClient.mm:
* WebCoreSupport/WebSecurityOriginInternal.h:
* WebInspector/WebInspector.mm:
* WebView/WebFramePrivate.h:
* WebView/WebScriptWorld.h:
* WebView/WebView.mm:
More #import, less #pragma once.

Source/WTF:

* wtf/cocoa/Entitlements.mm:
* wtf/cocoa/FileSystemCocoa.mm:
* wtf/cocoa/MainThreadCocoa.mm:
* wtf/cocoa/SystemTracingCocoa.cpp:
* wtf/mac/DeprecatedSymbolsUsedBySafari.mm:
* wtf/mac/SchedulePairMac.mm:
* wtf/text/cocoa/StringCocoa.mm:
* wtf/text/cocoa/TextStreamCocoa.mm:
More #import.

Tools:

* DumpRenderTree/TestNetscapePlugIn/PluginObjectMac.mm:
* DumpRenderTree/ios/DumpRenderTreeAppMain.mm:
* DumpRenderTree/mac/AccessibilityCommonMac.h:
* DumpRenderTree/mac/DumpRenderTreeMain.mm:
* TestRunnerShared/cocoa/ClassMethodSwizzler.mm:
* TestRunnerShared/cocoa/InstanceMethodSwizzler.mm:
* TestRunnerShared/cocoa/LayoutTestSpellChecker.h:
* TestRunnerShared/mac/NSPasteboardAdditions.h:
* TestRunnerShared/spi/AppKitTestSPI.h:
* TestRunnerShared/spi/PencilKitTestSPI.h:
* TestWebKitAPI/DataDetectorsCoreSPI.h:
* TestWebKitAPI/EditingTestHarness.h:
* TestWebKitAPI/EditingTestHarness.mm:
* TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm:
* TestWebKitAPI/Tests/WebCore/LineBreaking.mm:
* TestWebKitAPI/Tests/WebCore/cocoa/AVFoundationSoftLinkTest.mm:
* TestWebKitAPI/Tests/WebCore/cocoa/DatabaseTrackerTest.mm:
* TestWebKitAPI/Tests/WebKit/AGXCompilerService.mm:
* TestWebKitAPI/Tests/WebKit/AccessibilityRemoteUIApp.mm:
* TestWebKitAPI/Tests/WebKit/BacklightLevelNotification.mm:
* TestWebKitAPI/Tests/WebKit/Battery.mm:
* TestWebKitAPI/Tests/WebKit/DeferredViewInWindowStateChange.mm:
* TestWebKitAPI/Tests/WebKit/EnableAccessibility.mm:
* TestWebKitAPI/Tests/WebKit/FindMatches.mm:
* TestWebKitAPI/Tests/WebKit/GrantAccessToMobileAssets.mm:
* TestWebKitAPI/Tests/WebKit/GrantAccessToPreferencesService.mm:
* TestWebKitAPI/Tests/WebKit/LocalizedDeviceModel.mm:
* TestWebKitAPI/Tests/WebKit/MimeTypes.mm:
* TestWebKitAPI/Tests/WebKit/NoHistoryItemScrollToFragment.mm:
* TestWebKitAPI/Tests/WebKit/PasteboardNotifications.mm:
* TestWebKitAPI/Tests/WebKit/PictureInPictureSupport.mm:
* TestWebKitAPI/Tests/WebKit/PreferenceChanges.mm:
* TestWebKitAPI/Tests/WebKit/SleepDisabler.mm:
* TestWebKitAPI/Tests/WebKit/ViewportSizeForViewportUnits.mm:
* TestWebKitAPI/Tests/WebKit/WKThumbnailView.mm:
* TestWebKitAPI/Tests/WebKit/WebFilter.mm:
* TestWebKitAPI/Tests/WebKit/mac/AttributedSubstringForProposedRangeWithImage.mm:
* TestWebKitAPI/Tests/WebKit/mac/ContextMenuDownload.mm:
* TestWebKitAPI/Tests/WebKit/mac/CustomBundleObject.h:
* TestWebKitAPI/Tests/WebKit/mac/CustomBundleParameter.mm:
* TestWebKitAPI/Tests/WebKit/mac/CustomBundleParameter_Bundle.mm:
* TestWebKitAPI/Tests/WebKit/mac/EditorCommands.mm:
* TestWebKitAPI/Tests/WebKit/mac/ForceLightAppearanceInBundle.mm:
* TestWebKitAPI/Tests/WebKit/mac/ForceLightAppearanceInBundle_Bundle.mm:
* TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm:
* TestWebKitAPI/Tests/WebKitCocoa/AutoLayoutIntegration.mm:
* TestWebKitAPI/Tests/WebKitCocoa/CloseWebViewAfterEnterFullscreen.mm:
* TestWebKitAPI/Tests/WebKitCocoa/CloseWebViewDuringEnterFullscreen.mm:
* TestWebKitAPI/Tests/WebKitCocoa/CookieAcceptPolicy.mm:
* TestWebKitAPI/Tests/WebKitCocoa/CookiePrivateBrowsing.mm:
* TestWebKitAPI/Tests/WebKitCocoa/CopyHTML.mm:
* TestWebKitAPI/Tests/WebKitCocoa/CopyRTF.mm:
* TestWebKitAPI/Tests/WebKitCocoa/CopyURL.mm:
* TestWebKitAPI/Tests/WebKitCocoa/CustomUserAgent.mm:
* TestWebKitAPI/Tests/WebKitCocoa/DataDetection.mm:
* TestWebKitAPI/Tests/WebKitCocoa/DecidePolicyForNavigationAction.mm:
* TestWebKitAPI/Tests/WebKitCocoa/DeviceManagementRestrictions.mm:
* TestWebKitAPI/Tests/WebKitCocoa/DoAfterNextPresentationUpdateAfterCrash.mm:
* TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm:
* TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm:
* TestWebKitAPI/Tests/WebKitCocoa/FindInPageAPI.mm:
* TestWebKitAPI/Tests/WebKitCocoa/FirstVisuallyNonEmptyMilestone.mm:
* TestWebKitAPI/Tests/WebKitCocoa/FixedLayoutSize.mm:
* TestWebKitAPI/Tests/WebKitCocoa/FullscreenAlert.mm:
* TestWebKitAPI/Tests/WebKitCocoa/FullscreenDelegate.mm:
* TestWebKitAPI/Tests/WebKitCocoa/FullscreenLayoutConstraints.mm:
* TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm:
* TestWebKitAPI/Tests/WebKitCocoa/InteractionDeadlockAfterCrash.mm:
* TestWebKitAPI/Tests/WebKitCocoa/JavaScriptDuringNavigation.mm:
* TestWebKitAPI/Tests/WebKitCocoa/LoadFileThenReload.mm:
* TestWebKitAPI/Tests/WebKitCocoa/LoadFileURL.mm:
* TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm:
* TestWebKitAPI/Tests/WebKitCocoa/MediaBufferingPolicy.mm:
* TestWebKitAPI/Tests/WebKitCocoa/MediaType.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ModalAlerts.mm:
* TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm:
* TestWebKitAPI/Tests/WebKitCocoa/NavigationAction.mm:
* TestWebKitAPI/Tests/WebKitCocoa/NetworkProcess.mm:
* TestWebKitAPI/Tests/WebKitCocoa/NetworkProcessCrashNonPersistentDataStore.mm:
* TestWebKitAPI/Tests/WebKitCocoa/NoPauseWhenSwitchingTabs.mm:
* TestWebKitAPI/Tests/WebKitCocoa/NowPlaying.mm:
* TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ObservedRenderingProgressEventsAfterCrash.mm:
* TestWebKitAPI/Tests/WebKitCocoa/OpenAndCloseWindow.mm:
* TestWebKitAPI/Tests/WebKitCocoa/OverrideViewportArguments.mm:
* TestWebKitAPI/Tests/WebKitCocoa/PageZoom.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ParserYieldTokenTests.mm:
* TestWebKitAPI/Tests/WebKitCocoa/PasteHTML.mm:
* TestWebKitAPI/Tests/WebKitCocoa/PasteImage.mm:
* TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm:
* TestWebKitAPI/Tests/WebKitCocoa/PasteRTFD.mm:
* TestWebKitAPI/Tests/WebKitCocoa/PasteWebArchive.mm:
* TestWebKitAPI/Tests/WebKitCocoa/PictureInPictureDelegate.mm:
* TestWebKitAPI/Tests/WebKitCocoa/PreferredAudioBufferSize.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ProcessSuspendMediaBuffering.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ReparentWebViewTimeout.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ResponsivenessTimer.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ResponsivenessTimerDoesntFireEarly.mm:
* TestWebKitAPI/Tests/WebKitCocoa/RestoreSessionStateWithoutNavigation.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ShouldGoToBackForwardListItem.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ShouldOpenExternalURLsInNewWindowActions.mm:
* TestWebKitAPI/Tests/WebKitCocoa/ShrinkToFit.mm:
* TestWebKitAPI/Tests/WebKitCocoa/StopSuspendResumeAllMedia.mm:
* TestWebKitAPI/Tests/WebKitCocoa/StorageQuota.mm:
* TestWebKitAPI/Tests/WebKitCocoa/SystemColors.mm:
* TestWebKitAPI/Tests/WebKitCocoa/TLSDeprecation.mm:
* TestWebKitAPI/Tests/WebKitCocoa/TabOutOfWebView.mm:
* TestWebKitAPI/Tests/WebKitCocoa/TestURLSchemeHandler.h:
* TestWebKitAPI/Tests/WebKitCocoa/TestURLSchemeHandler.mm:
* TestWebKitAPI/Tests/WebKitCocoa/TextManipulation.mm:
* TestWebKitAPI/Tests/WebKitCocoa/TextSize.mm:
* TestWebKitAPI/Tests/WebKitCocoa/TextWidth.mm:
* TestWebKitAPI/Tests/WebKitCocoa/TopContentInset.mm:
* TestWebKitAPI/Tests/WebKitCocoa/UserInitiatedActionInNavigationAction.mm:
* TestWebKitAPI/Tests/WebKitCocoa/VideoControlsManager.mm:
* TestWebKitAPI/Tests/WebKitCocoa/VideoQualityDisplayCompositing.mm:
* TestWebKitAPI/Tests/WebKitCocoa/WKHTTPCookieStore.mm:
* TestWebKitAPI/Tests/WebKitCocoa/WKPDFView.mm:
* TestWebKitAPI/Tests/WebKitCocoa/WKRequestActivatedElementInfo.mm:
* TestWebKitAPI/Tests/WebKitCocoa/WKWebViewFindString.mm:
* TestWebKitAPI/Tests/WebKitCocoa/WebContentProcessDidTerminate.mm:
* TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm:
* TestWebKitAPI/Tests/WebKitCocoa/_WKInputDelegate.mm:
* TestWebKitAPI/Tests/WebKitLegacy/ios/ScrollingDoesNotPauseMedia.mm:
* TestWebKitAPI/Tests/WebKitLegacy/mac/AccessingPastedImage.mm:
* TestWebKitAPI/Tests/ios/AccessibilityTestsIOS.mm:
* TestWebKitAPI/Tests/ios/DataDetectorsTestIOS.mm:
* TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm:
* TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm:
* TestWebKitAPI/Tests/ios/OverflowScrollViewTests.mm:
* TestWebKitAPI/Tests/ios/RenderingProgressTests.mm:
* TestWebKitAPI/Tests/ios/ScrollViewInsetTests.mm:
* TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm:
* TestWebKitAPI/Tests/ios/SelectionByWord.mm:
* TestWebKitAPI/Tests/ios/SelectionModifyByParagraphBoundary.mm:
* TestWebKitAPI/Tests/ios/TestInputDelegate.h:
* TestWebKitAPI/Tests/ios/TestInputDelegate.mm:
* TestWebKitAPI/Tests/ios/TextAutosizingBoost.mm:
* TestWebKitAPI/Tests/ios/UIPasteboardTests.mm:
* TestWebKitAPI/Tests/ios/WKScrollViewTests.mm:
* TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm:
* TestWebKitAPI/Tests/ios/WKWebViewPausePlayingAudioTests.mm:
* TestWebKitAPI/Tests/mac/AcceptsFirstMouse.mm:
* TestWebKitAPI/Tests/mac/AdditionalSupportedImageTypes.mm:
* TestWebKitAPI/Tests/mac/BackForwardList.mm:
* TestWebKitAPI/Tests/mac/BackgroundColor.mm:
* TestWebKitAPI/Tests/mac/CandidateTests.mm:
* TestWebKitAPI/Tests/mac/DOMHTMLTableCellCellAbove.mm:
* TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm:
* TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm:
* TestWebKitAPI/Tests/mac/HTMLCollectionNamedItem.mm:
* TestWebKitAPI/Tests/mac/HTMLFormCollectionNamedItem.mm:
* TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.mm:
* TestWebKitAPI/Tests/mac/LegacyDragAndDropTests.mm:
* TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm:
* TestWebKitAPI/Tests/mac/SSLKeyGenerator.mm:
* TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm:
* TestWebKitAPI/Tests/mac/SetDocumentURI.mm:
* TestWebKitAPI/Tests/mac/SimplifyMarkup.mm:
* TestWebKitAPI/Tests/mac/SubresourceErrorCrash.mm:
* TestWebKitAPI/Tests/mac/TypingStyleCrash.mm:
* TestWebKitAPI/Tests/mac/WKWebViewMacEditingTests.mm:
* TestWebKitAPI/Tests/mac/WebScriptObjectDescription.mm:
* TestWebKitAPI/Tests/mac/WindowlessWebViewWithMedia.mm:
* TestWebKitAPI/cocoa/DragAndDropSimulator.h:
* TestWebKitAPI/cocoa/NSItemProviderAdditions.h:
* TestWebKitAPI/cocoa/PlatformUtilitiesCocoa.mm:
* TestWebKitAPI/cocoa/TestContextMenuDriver.h:
* TestWebKitAPI/cocoa/TestNavigationDelegate.h:
* TestWebKitAPI/cocoa/TestProtocol.mm:
* TestWebKitAPI/cocoa/TestUIDelegate.h:
* TestWebKitAPI/cocoa/UtilitiesCocoa.mm:
* TestWebKitAPI/ios/PencilKitTestSPI.h:
* TestWebKitAPI/mac/JavaScriptTestMac.mm:
* TestWebKitAPI/mac/NSFontPanelTesting.h:
* TestWebKitAPI/mac/NSFontPanelTesting.mm:
* TestWebKitAPI/mac/OffscreenWindow.h:
* TestWebKitAPI/mac/PlatformUtilitiesMac.mm:
* TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.mm:
* TestWebKitAPI/mac/TestDraggingInfo.h:
* TestWebKitAPI/mac/TestFilePromiseReceiver.h:
* TestWebKitAPI/mac/TestFontOptions.h:
* TestWebKitAPI/mac/TestInspectorBar.h:
* TestWebKitAPI/mac/WebKitAgnosticTest.mm:
* WebKitTestRunner/InjectedBundle/mac/AccessibilityCommonMac.h:
* WebKitTestRunner/cocoa/TestWebsiteDataStoreDelegate.h:
* WebKitTestRunner/mac/PoseAsClass.mm:
More #import, less #pragma once.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@260366 268f45cc-cd09-0410-ab3c-d52691b4dbfc

473 files changed:
Source/JavaScriptCore/API/JSAPIWrapperObject.mm
Source/JavaScriptCore/API/JSContext.h
Source/JavaScriptCore/API/JSContext.mm
Source/JavaScriptCore/API/JSScriptInternal.h
Source/JavaScriptCore/API/JSValue.mm
Source/JavaScriptCore/API/JSVirtualMachine.mm
Source/JavaScriptCore/API/JSVirtualMachinePrivate.h
Source/JavaScriptCore/API/JSWrapperMap.mm
Source/JavaScriptCore/API/ObjCCallbackFunction.mm
Source/JavaScriptCore/API/tests/CurrentThisInsideBlockGetterTest.mm
Source/JavaScriptCore/ChangeLog
Source/WTF/ChangeLog
Source/WTF/wtf/cocoa/Entitlements.mm
Source/WTF/wtf/cocoa/FileSystemCocoa.mm
Source/WTF/wtf/cocoa/MainThreadCocoa.mm
Source/WTF/wtf/cocoa/SystemTracingCocoa.cpp
Source/WTF/wtf/mac/DeprecatedSymbolsUsedBySafari.mm
Source/WTF/wtf/mac/SchedulePairMac.mm
Source/WTF/wtf/text/cocoa/StringCocoa.mm
Source/WTF/wtf/text/cocoa/TextStreamCocoa.mm
Source/WebCore/ChangeLog
Source/WebCore/Modules/applepay/PaymentRequestValidator.mm
Source/WebCore/Modules/applepay/cocoa/PaymentContactCocoa.mm
Source/WebCore/PAL/ChangeLog
Source/WebCore/PAL/pal/cocoa/AppSSOSoftLink.mm
Source/WebCore/PAL/pal/cocoa/FileSizeFormatterCocoa.mm
Source/WebCore/PAL/pal/cocoa/UsageTrackingSoftLink.mm
Source/WebCore/PAL/pal/ios/ManagedConfigurationSoftLink.mm
Source/WebCore/PAL/pal/ios/UIKitSoftLink.mm
Source/WebCore/PAL/pal/mac/LookupSoftLink.mm
Source/WebCore/PAL/pal/spi/cocoa/AVFoundationSPI.h
Source/WebCore/PAL/pal/spi/cocoa/AccessibilitySupportSoftLink.cpp
Source/WebCore/PAL/pal/spi/cocoa/AppSSOSPI.h
Source/WebCore/PAL/pal/spi/cocoa/AuthKitSPI.h
Source/WebCore/PAL/pal/spi/cocoa/DataDetectorsCoreSPI.h
Source/WebCore/PAL/pal/spi/cocoa/LaunchServicesSPI.h
Source/WebCore/PAL/pal/spi/cocoa/NSAccessibilitySPI.h
Source/WebCore/PAL/pal/spi/cocoa/NSAttributedStringSPI.h
Source/WebCore/PAL/pal/spi/cocoa/NSProgressSPI.h
Source/WebCore/PAL/pal/spi/cocoa/NSURLDownloadSPI.h
Source/WebCore/PAL/pal/spi/cocoa/NSUserDefaultsSPI.h
Source/WebCore/PAL/pal/spi/cocoa/NSXPCConnectionSPI.h
Source/WebCore/PAL/pal/spi/cocoa/PassKitSPI.h
Source/WebCore/PAL/pal/spi/cocoa/SecKeyProxySPI.h
Source/WebCore/PAL/pal/spi/ios/CelestialSPI.h
Source/WebCore/PAL/pal/spi/mac/DataDetectorsSPI.h
Source/WebCore/PAL/pal/spi/mac/NSColorWellSPI.h
Source/WebCore/PAL/pal/spi/mac/NSGraphicsSPI.h
Source/WebCore/PAL/pal/spi/mac/NSPopoverColorWellSPI.h
Source/WebCore/PAL/pal/spi/mac/NSScrollerImpSPI.h
Source/WebCore/accessibility/ios/WebAccessibilityObjectWrapperIOS.h
Source/WebCore/accessibility/mac/AXObjectCacheMac.mm
Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperBase.h
Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.h
Source/WebCore/bridge/objc/WebScriptObjectPrivate.h
Source/WebCore/bridge/objc/objc_class.mm
Source/WebCore/bridge/testbindings.mm
Source/WebCore/crypto/mac/SerializedCryptoKeyWrapMac.mm
Source/WebCore/editing/cocoa/WebArchiveResourceFromNSAttributedString.h
Source/WebCore/editing/cocoa/WebArchiveResourceWebResourceHandler.h
Source/WebCore/editing/cocoa/WebContentReaderCocoa.mm
Source/WebCore/history/mac/HistoryItemMac.mm
Source/WebCore/loader/cocoa/DiskCacheMonitorCocoa.mm
Source/WebCore/loader/cocoa/SubresourceLoaderCocoa.mm
Source/WebCore/loader/mac/ResourceLoaderMac.mm
Source/WebCore/page/cocoa/MemoryReleaseCocoa.mm
Source/WebCore/page/cocoa/ResourceUsageOverlayCocoa.mm
Source/WebCore/page/cocoa/ResourceUsageThreadCocoa.mm
Source/WebCore/page/cocoa/SettingsBaseCocoa.mm
Source/WebCore/page/ios/WebEventRegion.h
Source/WebCore/page/mac/ChromeMac.mm
Source/WebCore/page/mac/EventHandlerMac.mm
Source/WebCore/page/mac/WheelEventDeltaFilterMac.mm
Source/WebCore/page/scrolling/cocoa/ScrollingStateNode.mm
Source/WebCore/page/scrolling/mac/ScrollingCoordinatorMac.mm
Source/WebCore/page/scrolling/mac/ScrollingMomentumCalculatorMac.mm
Source/WebCore/page/scrolling/mac/ScrollingStateScrollingNodeMac.mm
Source/WebCore/page/scrolling/mac/ScrollingThreadMac.mm
Source/WebCore/page/scrolling/mac/ScrollingTreeMac.mm
Source/WebCore/platform/audio/cocoa/MediaSessionManagerCocoa.mm
Source/WebCore/platform/audio/mac/AudioSampleDataSource.mm
Source/WebCore/platform/cocoa/DataDetectorsCoreSoftLink.mm
Source/WebCore/platform/cocoa/PasteboardCocoa.mm
Source/WebCore/platform/cocoa/ScrollSnapAnimatorState.mm
Source/WebCore/platform/cocoa/SystemVersion.mm
Source/WebCore/platform/gamepad/cocoa/GameControllerGamepad.mm
Source/WebCore/platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm
Source/WebCore/platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.mm
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm
Source/WebCore/platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm
Source/WebCore/platform/graphics/avfoundation/objc/VideoLayerManagerObjC.mm
Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm
Source/WebCore/platform/graphics/ca/cocoa/WebSystemBackdropLayer.h
Source/WebCore/platform/graphics/ca/cocoa/WebTiledBackingLayer.h
Source/WebCore/platform/graphics/ca/cocoa/WebVideoContainerLayer.h
Source/WebCore/platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm
Source/WebCore/platform/graphics/cocoa/IOSurfacePoolCocoa.mm
Source/WebCore/platform/graphics/cocoa/TextTrackRepresentationCocoa.mm
Source/WebCore/platform/graphics/cocoa/WebGLLayer.h
Source/WebCore/platform/graphics/cocoa/WebGLLayer.mm
Source/WebCore/platform/graphics/cocoa/WebGPULayer.h
Source/WebCore/platform/graphics/cocoa/WebGPULayer.mm
Source/WebCore/platform/graphics/cv/ImageRotationSessionVT.mm
Source/WebCore/platform/graphics/cv/ImageTransferSessionVT.mm
Source/WebCore/platform/graphics/cv/TextureCacheCV.mm
Source/WebCore/platform/graphics/gpu/cocoa/GPUBufferMetal.mm
Source/WebCore/platform/graphics/gpu/cocoa/GPUComputePassEncoderMetal.mm
Source/WebCore/platform/graphics/mac/ComplexTextControllerCoreText.mm
Source/WebCore/platform/graphics/mac/FloatPointMac.mm
Source/WebCore/platform/graphics/mac/FloatSizeMac.mm
Source/WebCore/platform/graphics/mac/IntPointMac.mm
Source/WebCore/platform/graphics/mac/IntSizeMac.mm
Source/WebCore/platform/graphics/mac/WebLayer.h
Source/WebCore/platform/graphics/mac/WebLayer.mm
Source/WebCore/platform/ios/LegacyTileCache.mm
Source/WebCore/platform/ios/LegacyTileGrid.mm
Source/WebCore/platform/ios/LegacyTileGridTile.mm
Source/WebCore/platform/ios/LegacyTileLayer.h
Source/WebCore/platform/ios/LegacyTileLayer.mm
Source/WebCore/platform/ios/LegacyTileLayerPool.mm
Source/WebCore/platform/ios/LocalCurrentTraitCollection.mm
Source/WebCore/platform/ios/LocalizedDeviceModel.mm
Source/WebCore/platform/ios/ScrollbarThemeIOS.mm
Source/WebCore/platform/ios/WebCoreMotionManager.h
Source/WebCore/platform/ios/WebItemProviderPasteboard.mm
Source/WebCore/platform/ios/WebVideoFullscreenControllerAVKit.h
Source/WebCore/platform/mac/LocalCurrentGraphicsContext.mm
Source/WebCore/platform/mac/LocalDefaultSystemAppearance.mm
Source/WebCore/platform/mac/LoggingMac.mm
Source/WebCore/platform/mac/PlatformEventFactoryMac.mm
Source/WebCore/platform/mac/RemoteCommandListenerMac.mm
Source/WebCore/platform/mac/ScrollAnimatorMac.mm
Source/WebCore/platform/mac/SerializedPlatformDataCueMac.mm
Source/WebCore/platform/mac/WebCoreFullScreenPlaceholderView.mm
Source/WebCore/platform/mac/WebCoreFullScreenWarningView.h
Source/WebCore/platform/mac/WebCoreFullScreenWarningView.mm
Source/WebCore/platform/mac/WebCoreFullScreenWindow.h
Source/WebCore/platform/mac/WebCoreObjCExtras.mm
Source/WebCore/platform/mediarecorder/cocoa/MediaRecorderPrivateWriterCocoa.mm
Source/WebCore/platform/mediasession/mac/MediaSessionInterruptionProviderMac.mm
Source/WebCore/platform/mediastream/ios/AVAudioSessionCaptureDevice.mm
Source/WebCore/platform/mediastream/ios/CoreAudioCaptureSourceIOS.mm
Source/WebCore/platform/mediastream/mac/RealtimeIncomingVideoSourceCocoa.mm
Source/WebCore/platform/mediastream/mac/RealtimeMediaSourceCenterMac.mm
Source/WebCore/platform/mediastream/mac/RealtimeVideoUtilities.mm
Source/WebCore/platform/mediastream/mac/ScreenDisplayCaptureSourceMac.mm
Source/WebCore/platform/network/cocoa/CertificateInfoCocoa.mm
Source/WebCore/platform/network/cocoa/WebCoreNSURLSession.h
Source/WebCore/platform/network/mac/BlobDataFileReferenceMac.mm
Source/WebCore/platform/network/mac/CredentialStorageMac.mm
Source/WebCore/platform/network/mac/SynchronousLoaderClient.mm
Source/WebCore/platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.h
Source/WebCore/platform/text/cocoa/LocaleCocoa.mm
Source/WebCore/testing/ServiceWorkerInternals.mm
Source/WebCore/testing/cocoa/WebViewVisualIdentificationOverlay.h
Source/WebKit/ChangeLog
Source/WebKit/GPUProcess/webrtc/LibWebRTCCodecsProxy.mm
Source/WebKit/NetworkProcess/WebStorage/ios/LocalStorageDatabaseTrackerIOS.mm
Source/WebKit/NetworkProcess/cache/NetworkCacheDataCocoa.mm
Source/WebKit/NetworkProcess/cache/NetworkCacheIOChannelCocoa.mm
Source/WebKit/NetworkProcess/cocoa/NetworkActivityTrackerCocoa.mm
Source/WebKit/NetworkProcess/cocoa/NetworkSessionCocoa.mm
Source/WebKit/NetworkProcess/webrtc/NetworkRTCProvider.mm
Source/WebKit/Platform/foundation/LoggingFoundation.mm
Source/WebKit/Platform/spi/Cocoa/DeviceManagementSPI.h
Source/WebKit/Platform/spi/Cocoa/LocalAuthenticationSPI.h
Source/WebKit/Platform/spi/Cocoa/NearFieldSPI.h
Source/WebKit/Platform/spi/Cocoa/SafeBrowsingSPI.h
Source/WebKit/Platform/spi/mac/AppKitSPI.h
Source/WebKit/Shared/API/Cocoa/RemoteObjectInvocation.mm
Source/WebKit/Shared/API/Cocoa/WKMain.mm
Source/WebKit/Shared/APIWebArchive.mm
Source/WebKit/Shared/APIWebArchiveResource.mm
Source/WebKit/Shared/Authentication/cocoa/AuthenticationChallengeDispositionCocoa.mm
Source/WebKit/Shared/Cocoa/LoadParametersCocoa.mm
Source/WebKit/Shared/Cocoa/SandboxInitialiationParametersCocoa.mm
Source/WebKit/Shared/Cocoa/WKNSData.mm
Source/WebKit/Shared/DocumentEditingContext.mm
Source/WebKit/Shared/Plugins/mac/PluginSandboxProfile.mm
Source/WebKit/Shared/RemoteLayerTree/WKAnimationDelegate.h
Source/WebKit/Shared/UserInterfaceIdiom.mm
Source/WebKit/Shared/ios/WebIconUtilities.mm
Source/WebKit/Shared/mac/CodeSigning.mm
Source/WebKit/Shared/mac/ColorSpaceData.mm
Source/WebKit/Shared/mac/HangDetectionDisablerMac.mm
Source/WebKit/Shared/mac/PDFKitImports.mm
Source/WebKit/UIProcess/API/Cocoa/APIContentRuleListStoreCocoa.mm
Source/WebKit/UIProcess/API/Cocoa/APIHTTPCookieStoreCocoa.mm
Source/WebKit/UIProcess/API/Cocoa/APISerializedScriptValueCocoa.mm
Source/WebKit/UIProcess/API/Cocoa/WKContentRuleList.mm
Source/WebKit/UIProcess/API/Cocoa/WKMenuItemIdentifiers.mm
Source/WebKit/UIProcess/API/Cocoa/WKNavigationActionPrivate.h
Source/WebKit/UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.mm
Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h
Source/WebKit/UIProcess/API/Cocoa/WKWebpagePreferencesInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKApplicationManifest.h
Source/WebKit/UIProcess/API/Cocoa/_WKAttachment.h
Source/WebKit/UIProcess/API/Cocoa/_WKResourceLoadInfoInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKResourceLoadStatisticsFirstPartyInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKResourceLoadStatisticsThirdPartyInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKTextManipulationExclusionRule.mm
Source/WebKit/UIProcess/API/Cocoa/_WKUserContentFilter.mm
Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationAssertionResponseInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKWebAuthenticationPanelInternal.h
Source/WebKit/UIProcess/API/Cocoa/_WKWebsiteDataStoreDelegate.h
Source/WebKit/UIProcess/Authentication/mac/WebCredentialMac.mm
Source/WebKit/UIProcess/Automation/cocoa/WebAutomationSessionCocoa.mm
Source/WebKit/UIProcess/Cocoa/IconLoadingDelegate.mm
Source/WebKit/UIProcess/Cocoa/MediaUtilities.mm
Source/WebKit/UIProcess/Cocoa/PreferenceObserver.h
Source/WebKit/UIProcess/Cocoa/PreferenceObserver.mm
Source/WebKit/UIProcess/Cocoa/SOAuthorization/NavigationSOAuthorizationSession.mm
Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationNSURLExtras.h
Source/WebKit/UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm
Source/WebKit/UIProcess/Cocoa/SOAuthorization/WKSOAuthorizationDelegate.h
Source/WebKit/UIProcess/Cocoa/WKEditCommand.h
Source/WebKit/UIProcess/Cocoa/WKFullKeyboardAccessWatcher.h
Source/WebKit/UIProcess/Cocoa/WebPageProxyCocoa.mm
Source/WebKit/UIProcess/Gamepad/cocoa/UIGamepadProviderCocoa.mm
Source/WebKit/UIProcess/Inspector/mac/WKInspectorViewController.h
Source/WebKit/UIProcess/Inspector/mac/WKInspectorWKWebView.h
Source/WebKit/UIProcess/RemoteLayerTree/ios/RemoteLayerTreeViews.h
Source/WebKit/UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.h
Source/WebKit/UIProcess/RemoteLayerTree/mac/ScrollerMac.mm
Source/WebKit/UIProcess/RemoteLayerTree/mac/ScrollerPairMac.mm
Source/WebKit/UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm
Source/WebKit/UIProcess/WebAuthentication/Cocoa/WKNFReaderSessionDelegate.h
Source/WebKit/UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm
Source/WebKit/UIProcess/ios/WKDeferringGestureRecognizer.h
Source/WebKit/UIProcess/ios/WKHighlightLongPressGestureRecognizer.h
Source/WebKit/UIProcess/ios/WebDataListSuggestionsDropdownIOS.h
Source/WebKit/UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm
Source/WebKit/UIProcess/ios/forms/WKDatePickerViewController.h
Source/WebKit/UIProcess/ios/forms/WKDatePickerViewController.mm
Source/WebKit/UIProcess/ios/forms/WKFocusedFormControlView.h
Source/WebKit/UIProcess/ios/forms/WKFocusedFormControlView.mm
Source/WebKit/UIProcess/ios/forms/WKFormColorPicker.mm
Source/WebKit/UIProcess/ios/forms/WKNumberPadViewController.h
Source/WebKit/UIProcess/ios/forms/WKNumberPadViewController.mm
Source/WebKit/UIProcess/ios/forms/WKQuickboardListViewController.h
Source/WebKit/UIProcess/ios/forms/WKQuickboardListViewController.mm
Source/WebKit/UIProcess/ios/forms/WKSelectMenuListViewController.h
Source/WebKit/UIProcess/ios/forms/WKTimePickerViewController.h
Source/WebKit/UIProcess/ios/forms/WKTimePickerViewController.mm
Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.h
Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.h
Source/WebKit/UIProcess/ios/fullscreen/WKFullscreenStackView.mm
Source/WebKit/UIProcess/mac/PageClientImplMac.mm
Source/WebKit/UIProcess/mac/WKSharingServicePickerDelegate.h
Source/WebKit/UIProcess/mac/WebColorPickerMac.h
Source/WebKit/WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm
Source/WebKit/WebProcess/GPU/media/cocoa/VideoLayerRemoteCocoa.h
Source/WebKit/WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm
Source/WebKit/WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm
Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm
Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.cpp
Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteCustom.mm
Source/WebKit/WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteTiledBacking.cpp
Source/WebKit/WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.h
Source/WebKit/WebProcess/WebPage/mac/PageBannerMac.mm
Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.h
Source/WebKit/WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.h
Source/WebKit/WebProcess/cocoa/WebProcessCocoa.mm
Source/WebKit/mac/MigrateHeadersFromWebKitLegacy.make
Source/WebKitLegacy/ChangeLog
Source/WebKitLegacy/WebKitLegacy.xcodeproj/project.pbxproj
Source/WebKitLegacy/ios/ChangeLog
Source/WebKitLegacy/ios/Misc/MemoryMeasure.h [deleted file]
Source/WebKitLegacy/ios/Misc/MemoryMeasure.mm [deleted file]
Source/WebKitLegacy/ios/WebKit.iOS.exp
Source/WebKitLegacy/mac/ChangeLog
Source/WebKitLegacy/mac/Configurations/WebKitLegacy.xcconfig
Source/WebKitLegacy/mac/History/BackForwardList.mm
Source/WebKitLegacy/mac/Misc/WebCache.mm
Source/WebKitLegacy/mac/Plugins/Hosted/ProxyRuntimeObject.mm
Source/WebKitLegacy/mac/Plugins/Hosted/WebHostedNetscapePluginView.mm
Source/WebKitLegacy/mac/WebCoreSupport/SearchPopupMenuMac.mm
Source/WebKitLegacy/mac/WebCoreSupport/WebAlternativeTextClient.mm
Source/WebKitLegacy/mac/WebCoreSupport/WebSecurityOriginInternal.h
Source/WebKitLegacy/mac/WebInspector/WebInspector.mm
Source/WebKitLegacy/mac/WebView/WebFramePrivate.h
Source/WebKitLegacy/mac/WebView/WebScriptWorld.h
Source/WebKitLegacy/mac/WebView/WebView.mm
Tools/ChangeLog
Tools/DumpRenderTree/TestNetscapePlugIn/PluginObjectMac.mm
Tools/DumpRenderTree/ios/DumpRenderTreeAppMain.mm
Tools/DumpRenderTree/mac/AccessibilityCommonMac.h
Tools/DumpRenderTree/mac/DumpRenderTreeMain.mm
Tools/TestRunnerShared/cocoa/ClassMethodSwizzler.mm
Tools/TestRunnerShared/cocoa/InstanceMethodSwizzler.mm
Tools/TestRunnerShared/cocoa/LayoutTestSpellChecker.h
Tools/TestRunnerShared/mac/NSPasteboardAdditions.h
Tools/TestRunnerShared/spi/AppKitTestSPI.h
Tools/TestRunnerShared/spi/PencilKitTestSPI.h
Tools/TestWebKitAPI/DataDetectorsCoreSPI.h
Tools/TestWebKitAPI/EditingTestHarness.h
Tools/TestWebKitAPI/EditingTestHarness.mm
Tools/TestWebKitAPI/Tests/WTF/ns/RetainPtr.mm
Tools/TestWebKitAPI/Tests/WebCore/LineBreaking.mm
Tools/TestWebKitAPI/Tests/WebCore/cocoa/AVFoundationSoftLinkTest.mm
Tools/TestWebKitAPI/Tests/WebCore/cocoa/DatabaseTrackerTest.mm
Tools/TestWebKitAPI/Tests/WebKit/AGXCompilerService.mm
Tools/TestWebKitAPI/Tests/WebKit/AccessibilityRemoteUIApp.mm
Tools/TestWebKitAPI/Tests/WebKit/BacklightLevelNotification.mm
Tools/TestWebKitAPI/Tests/WebKit/Battery.mm
Tools/TestWebKitAPI/Tests/WebKit/DeferredViewInWindowStateChange.mm
Tools/TestWebKitAPI/Tests/WebKit/EnableAccessibility.mm
Tools/TestWebKitAPI/Tests/WebKit/FindMatches.mm
Tools/TestWebKitAPI/Tests/WebKit/GrantAccessToMobileAssets.mm
Tools/TestWebKitAPI/Tests/WebKit/GrantAccessToPreferencesService.mm
Tools/TestWebKitAPI/Tests/WebKit/LocalizedDeviceModel.mm
Tools/TestWebKitAPI/Tests/WebKit/MimeTypes.mm
Tools/TestWebKitAPI/Tests/WebKit/NoHistoryItemScrollToFragment.mm
Tools/TestWebKitAPI/Tests/WebKit/PasteboardNotifications.mm
Tools/TestWebKitAPI/Tests/WebKit/PictureInPictureSupport.mm
Tools/TestWebKitAPI/Tests/WebKit/PreferenceChanges.mm
Tools/TestWebKitAPI/Tests/WebKit/SleepDisabler.mm
Tools/TestWebKitAPI/Tests/WebKit/ViewportSizeForViewportUnits.mm
Tools/TestWebKitAPI/Tests/WebKit/WKThumbnailView.mm
Tools/TestWebKitAPI/Tests/WebKit/WebFilter.mm
Tools/TestWebKitAPI/Tests/WebKit/mac/AttributedSubstringForProposedRangeWithImage.mm
Tools/TestWebKitAPI/Tests/WebKit/mac/ContextMenuDownload.mm
Tools/TestWebKitAPI/Tests/WebKit/mac/CustomBundleObject.h
Tools/TestWebKitAPI/Tests/WebKit/mac/CustomBundleParameter.mm
Tools/TestWebKitAPI/Tests/WebKit/mac/CustomBundleParameter_Bundle.mm
Tools/TestWebKitAPI/Tests/WebKit/mac/EditorCommands.mm
Tools/TestWebKitAPI/Tests/WebKit/mac/ForceLightAppearanceInBundle.mm
Tools/TestWebKitAPI/Tests/WebKit/mac/ForceLightAppearanceInBundle_Bundle.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/AutoLayoutIntegration.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CloseWebViewAfterEnterFullscreen.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CloseWebViewDuringEnterFullscreen.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CookieAcceptPolicy.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CookiePrivateBrowsing.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CopyHTML.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CopyRTF.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CopyURL.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/CustomUserAgent.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DataDetection.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DecidePolicyForNavigationAction.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DeviceManagementRestrictions.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/DoAfterNextPresentationUpdateAfterCrash.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FindInPageAPI.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FirstVisuallyNonEmptyMilestone.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FixedLayoutSize.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FullscreenAlert.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FullscreenDelegate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/FullscreenLayoutConstraints.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/InAppBrowserPrivacy.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/InteractionDeadlockAfterCrash.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/JavaScriptDuringNavigation.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadFileThenReload.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadFileURL.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/LoadInvalidURLRequest.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/MediaBufferingPolicy.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/MediaType.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ModalAlerts.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/Navigation.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/NavigationAction.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/NetworkProcess.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/NetworkProcessCrashNonPersistentDataStore.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/NoPauseWhenSwitchingTabs.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/NowPlaying.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ObservedRenderingProgressEventsAfterCrash.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/OpenAndCloseWindow.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/OverrideViewportArguments.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PageZoom.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ParserYieldTokenTests.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteHTML.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteImage.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteRTFD.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PasteWebArchive.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PictureInPictureDelegate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/PreferredAudioBufferSize.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ProcessSuspendMediaBuffering.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ReparentWebViewTimeout.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ResourceLoadStatistics.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ResponsivenessTimer.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ResponsivenessTimerDoesntFireEarly.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/RestoreSessionStateWithoutNavigation.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ShouldGoToBackForwardListItem.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ShouldOpenExternalURLsInNewWindowActions.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/ShrinkToFit.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/StopSuspendResumeAllMedia.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/StorageQuota.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/SystemColors.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/TLSDeprecation.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/TabOutOfWebView.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/TestURLSchemeHandler.h
Tools/TestWebKitAPI/Tests/WebKitCocoa/TestURLSchemeHandler.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/TextManipulation.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/TextSize.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/TextWidth.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/TopContentInset.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/UserInitiatedActionInNavigationAction.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/VideoControlsManager.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/VideoQualityDisplayCompositing.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKHTTPCookieStore.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKPDFView.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKRequestActivatedElementInfo.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WKWebViewFindString.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WebContentProcessDidTerminate.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm
Tools/TestWebKitAPI/Tests/WebKitCocoa/_WKInputDelegate.mm
Tools/TestWebKitAPI/Tests/WebKitLegacy/ios/ScrollingDoesNotPauseMedia.mm
Tools/TestWebKitAPI/Tests/WebKitLegacy/mac/AccessingPastedImage.mm
Tools/TestWebKitAPI/Tests/ios/AccessibilityTestsIOS.mm
Tools/TestWebKitAPI/Tests/ios/DataDetectorsTestIOS.mm
Tools/TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm
Tools/TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm
Tools/TestWebKitAPI/Tests/ios/OverflowScrollViewTests.mm
Tools/TestWebKitAPI/Tests/ios/RenderingProgressTests.mm
Tools/TestWebKitAPI/Tests/ios/ScrollViewInsetTests.mm
Tools/TestWebKitAPI/Tests/ios/ScrollViewScrollabilityTests.mm
Tools/TestWebKitAPI/Tests/ios/SelectionByWord.mm
Tools/TestWebKitAPI/Tests/ios/SelectionModifyByParagraphBoundary.mm
Tools/TestWebKitAPI/Tests/ios/TestInputDelegate.h
Tools/TestWebKitAPI/Tests/ios/TestInputDelegate.mm
Tools/TestWebKitAPI/Tests/ios/TextAutosizingBoost.mm
Tools/TestWebKitAPI/Tests/ios/UIPasteboardTests.mm
Tools/TestWebKitAPI/Tests/ios/WKScrollViewTests.mm
Tools/TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm
Tools/TestWebKitAPI/Tests/ios/WKWebViewPausePlayingAudioTests.mm
Tools/TestWebKitAPI/Tests/mac/AcceptsFirstMouse.mm
Tools/TestWebKitAPI/Tests/mac/AdditionalSupportedImageTypes.mm
Tools/TestWebKitAPI/Tests/mac/BackForwardList.mm
Tools/TestWebKitAPI/Tests/mac/BackgroundColor.mm
Tools/TestWebKitAPI/Tests/mac/CandidateTests.mm
Tools/TestWebKitAPI/Tests/mac/DOMHTMLTableCellCellAbove.mm
Tools/TestWebKitAPI/Tests/mac/DeviceScaleFactorOnBack.mm
Tools/TestWebKitAPI/Tests/mac/DynamicDeviceScaleFactor.mm
Tools/TestWebKitAPI/Tests/mac/HTMLCollectionNamedItem.mm
Tools/TestWebKitAPI/Tests/mac/HTMLFormCollectionNamedItem.mm
Tools/TestWebKitAPI/Tests/mac/IsNavigationActionTrusted.mm
Tools/TestWebKitAPI/Tests/mac/LegacyDragAndDropTests.mm
Tools/TestWebKitAPI/Tests/mac/LoadInvalidURLRequest.mm
Tools/TestWebKitAPI/Tests/mac/SSLKeyGenerator.mm
Tools/TestWebKitAPI/Tests/mac/SetAndUpdateCacheModel.mm
Tools/TestWebKitAPI/Tests/mac/SetDocumentURI.mm
Tools/TestWebKitAPI/Tests/mac/SimplifyMarkup.mm
Tools/TestWebKitAPI/Tests/mac/SubresourceErrorCrash.mm
Tools/TestWebKitAPI/Tests/mac/TypingStyleCrash.mm
Tools/TestWebKitAPI/Tests/mac/WKWebViewMacEditingTests.mm
Tools/TestWebKitAPI/Tests/mac/WebScriptObjectDescription.mm
Tools/TestWebKitAPI/Tests/mac/WindowlessWebViewWithMedia.mm
Tools/TestWebKitAPI/cocoa/DragAndDropSimulator.h
Tools/TestWebKitAPI/cocoa/NSItemProviderAdditions.h
Tools/TestWebKitAPI/cocoa/PlatformUtilitiesCocoa.mm
Tools/TestWebKitAPI/cocoa/TestContextMenuDriver.h
Tools/TestWebKitAPI/cocoa/TestNavigationDelegate.h
Tools/TestWebKitAPI/cocoa/TestProtocol.mm
Tools/TestWebKitAPI/cocoa/TestUIDelegate.h
Tools/TestWebKitAPI/cocoa/UtilitiesCocoa.mm
Tools/TestWebKitAPI/ios/PencilKitTestSPI.h
Tools/TestWebKitAPI/mac/JavaScriptTestMac.mm
Tools/TestWebKitAPI/mac/NSFontPanelTesting.h
Tools/TestWebKitAPI/mac/NSFontPanelTesting.mm
Tools/TestWebKitAPI/mac/OffscreenWindow.h
Tools/TestWebKitAPI/mac/PlatformUtilitiesMac.mm
Tools/TestWebKitAPI/mac/TestBrowsingContextLoadDelegate.mm
Tools/TestWebKitAPI/mac/TestDraggingInfo.h
Tools/TestWebKitAPI/mac/TestFilePromiseReceiver.h
Tools/TestWebKitAPI/mac/TestFontOptions.h
Tools/TestWebKitAPI/mac/TestInspectorBar.h
Tools/TestWebKitAPI/mac/WebKitAgnosticTest.mm
Tools/WebKitTestRunner/InjectedBundle/mac/AccessibilityCommonMac.h
Tools/WebKitTestRunner/cocoa/TestWebsiteDataStoreDelegate.h
Tools/WebKitTestRunner/mac/PoseAsClass.mm

index 0b22057..91bcca5 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "JSAPIWrapperObject.h"
-
-#include "JSCInlines.h"
-#include "JSCallbackObject.h"
-#include "JSVirtualMachineInternal.h"
-#include "Structure.h"
-#include <wtf/NeverDestroyed.h>
+#import "config.h"
+#import "JSAPIWrapperObject.h"
+
+#import "JSCInlines.h"
+#import "JSCallbackObject.h"
+#import "JSVirtualMachineInternal.h"
+#import "Structure.h"
+#import <wtf/NeverDestroyed.h>
 
 #if JSC_OBJC_API_ENABLED
 
index 6b9c5d4..d4e71ca 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef JSContext_h
-#define JSContext_h
-
-#include <JavaScriptCore/JavaScript.h>
-#include <JavaScriptCore/WebKitAvailability.h>
+#import <JavaScriptCore/JavaScript.h>
+#import <JavaScriptCore/WebKitAvailability.h>
 
 #if JSC_OBJC_API_ENABLED
 
@@ -234,5 +231,3 @@ JSC_CLASS_AVAILABLE(macos(10.9), ios(7.0))
 @end
 
 #endif
-
-#endif // JSContext_h
index b853b81..e0f63a3 100644 (file)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 
 #import "APICast.h"
 #import "Completion.h"
index 4a9427d..951438d 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
+#if JSC_OBJC_API_ENABLED
 
 #import "JSScript.h"
 #import "SourceCode.h"
 #import <wtf/RefPtr.h>
 
-#if JSC_OBJC_API_ENABLED
-
 NS_ASSUME_NONNULL_BEGIN
 
 namespace JSC {
index c91e6ea..eb230ca 100644 (file)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 
 #import "APICast.h"
 #import "DateInstance.h"
index c4736af..79b081d 100644 (file)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
+#import "config.h"
 
 #import "JavaScriptCore.h"
 
index 950afc7..2113ec9 100644 (file)
@@ -23,8 +23,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "JSExportMacros.h"
-#include <JavaScriptCore/JavaScript.h>
+#import "JSExportMacros.h"
+#import <JavaScriptCore/JavaScript.h>
 
 #if JSC_OBJC_API_ENABLED
 
index 39ebb7c..1a6dc35 100644 (file)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
+#import "config.h"
 #import "JavaScriptCore.h"
 
 #if JSC_OBJC_API_ENABLED
@@ -45,7 +45,7 @@
 #import <wtf/cocoa/RuntimeApplicationChecksCocoa.h>
 #endif
 
-#include <mach-o/dyld.h>
+#import <mach-o/dyld.h>
 
 #if PLATFORM(APPLETV)
 #else
index 32f0b21..115e51d 100644 (file)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
+#import "config.h"
 #import "JavaScriptCore.h"
 
 #if JSC_OBJC_API_ENABLED
index bd7e8a6..0d91747 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "CurrentThisInsideBlockGetterTest.h"
+#import "config.h"
+#import "CurrentThisInsideBlockGetterTest.h"
 
 #if JSC_OBJC_API_ENABLED
 
index fe86818..c5e964c 100644 (file)
@@ -1,3 +1,22 @@
+2020-04-20  Darin Adler  <darin@apple.com>
+
+        Use #import instead of #include in Objective-C and don't use #pragma once
+        https://bugs.webkit.org/show_bug.cgi?id=210724
+
+        Reviewed by David Kilzer.
+
+        * API/JSAPIWrapperObject.mm:
+        * API/JSContext.h:
+        * API/JSContext.mm:
+        * API/JSScriptInternal.h:
+        * API/JSValue.mm:
+        * API/JSVirtualMachine.mm:
+        * API/JSVirtualMachinePrivate.h:
+        * API/JSWrapperMap.mm:
+        * API/ObjCCallbackFunction.mm:
+        * API/tests/CurrentThisInsideBlockGetterTest.mm:
+        More #import, less #pragma once.
+
 2020-04-20  Yusuke Suzuki  <ysuzuki@apple.com>
 
         StructuredClone algorithm should be aware of BigInt
index 0be21d2..81008ca 100644 (file)
@@ -1,3 +1,20 @@
+2020-04-20  Darin Adler  <darin@apple.com>
+
+        Use #import instead of #include in Objective-C and don't use #pragma once
+        https://bugs.webkit.org/show_bug.cgi?id=210724
+
+        Reviewed by David Kilzer.
+
+        * wtf/cocoa/Entitlements.mm:
+        * wtf/cocoa/FileSystemCocoa.mm:
+        * wtf/cocoa/MainThreadCocoa.mm:
+        * wtf/cocoa/SystemTracingCocoa.cpp:
+        * wtf/mac/DeprecatedSymbolsUsedBySafari.mm:
+        * wtf/mac/SchedulePairMac.mm:
+        * wtf/text/cocoa/StringCocoa.mm:
+        * wtf/text/cocoa/TextStreamCocoa.mm:
+        More #import.
+
 2020-04-19  Brady Eidson  <beidson@apple.com>
 
         Add WKScriptMessageHandler API that asynchronously responds with a promise.
index f798fd0..165dd5b 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include <wtf/cocoa/Entitlements.h>
+#import "config.h"
+#import <wtf/cocoa/Entitlements.h>
 
-#include <wtf/OSObjectPtr.h>
-#include <wtf/RetainPtr.h>
-#include <wtf/spi/cocoa/SecuritySPI.h>
+#import <wtf/OSObjectPtr.h>
+#import <wtf/RetainPtr.h>
+#import <wtf/spi/cocoa/SecuritySPI.h>
 
 namespace WTF {
 
index aac0e2d..acedf5f 100644 (file)
@@ -29,7 +29,7 @@
 #import "config.h"
 #import <wtf/FileSystem.h>
 
-#include <wtf/SoftLinking.h>
+#import <wtf/SoftLinking.h>
 
 typedef struct _BOMCopier* BOMCopier;
 
index 746468d..a3c496f 100644 (file)
@@ -40,7 +40,7 @@
 #import <wtf/Threading.h>
 
 #if USE(WEB_THREAD)
-#include <wtf/ios/WebCoreThread.h>
+#import <wtf/ios/WebCoreThread.h>
 #endif
 
 @interface JSWTFMainThreadCaller : NSObject
index 7263e7a..009d1a3 100644 (file)
@@ -26,9 +26,9 @@
 #import "config.h"
 #import <wtf/SystemTracing.h>
 
-#include <cstdlib>
-#include <dispatch/dispatch.h>
-#include <wtf/spi/darwin/OSVariantSPI.h>
+#import <cstdlib>
+#import <dispatch/dispatch.h>
+#import <wtf/spi/darwin/OSVariantSPI.h>
 
 bool WTFSignpostsEnabled()
 {
index c1da161..a722d67 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-
-#include <stdint.h>
-#include <wtf/HashMap.h>
-#include <wtf/HashSet.h>
-#include <wtf/Lock.h>
-#include <wtf/MainThread.h>
-#include <wtf/NeverDestroyed.h>
-#include <wtf/StdLibExtras.h>
+#import "config.h"
+
+#import <stdint.h>
+#import <wtf/HashMap.h>
+#import <wtf/HashSet.h>
+#import <wtf/Lock.h>
+#import <wtf/MainThread.h>
+#import <wtf/NeverDestroyed.h>
+#import <wtf/StdLibExtras.h>
 
 // This file contains deprecated symbols that the last released version of Safari uses.
 // Once Safari stops using them, we should remove them.
index 62261ad..1978f63 100644 (file)
@@ -26,8 +26,8 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include <wtf/SchedulePair.h>
+#import "config.h"
+#import <wtf/SchedulePair.h>
 
 namespace WTF {
 
index 958bcf0..7ed0518 100644 (file)
  *
  */
 
-#include "config.h"
-#include <wtf/text/WTFString.h>
+#import "config.h"
+#import <wtf/text/WTFString.h>
 
-#include <CoreFoundation/CFString.h>
+#import <CoreFoundation/CFString.h>
 
 namespace WTF {
 
index 93ce77d..c74bf9c 100644 (file)
@@ -18,8 +18,8 @@
  *
  */
 
-#include "config.h"
-#include <wtf/text/TextStream.h>
+#import "config.h"
+#import <wtf/text/TextStream.h>
 
 namespace WTF {
 
index e07155d..211636a 100644 (file)
@@ -1,3 +1,124 @@
+2020-04-20  Darin Adler  <darin@apple.com>
+
+        Use #import instead of #include in Objective-C and don't use #pragma once
+        https://bugs.webkit.org/show_bug.cgi?id=210724
+
+        Reviewed by David Kilzer.
+
+        * page/cocoa/SettingsBaseCocoa.mm:
+        (WebCore::sansSerifTraditionalHanFontFamily): Deleted.
+        (WebCore::sansSerifSimplifiedHanFontFamily): Deleted.
+        (WebCore::SettingsBase::initializeDefaultFontFamilies): Just use font name
+        strings directly since there are no conditionals any more.
+
+        * Modules/applepay/PaymentRequestValidator.mm:
+        * Modules/applepay/cocoa/PaymentContactCocoa.mm:
+        * accessibility/ios/WebAccessibilityObjectWrapperIOS.h:
+        * accessibility/mac/AXObjectCacheMac.mm:
+        * accessibility/mac/WebAccessibilityObjectWrapperBase.h:
+        * accessibility/mac/WebAccessibilityObjectWrapperMac.h:
+        * bridge/objc/WebScriptObjectPrivate.h:
+        * bridge/objc/objc_class.mm:
+        * bridge/testbindings.mm:
+        * crypto/mac/SerializedCryptoKeyWrapMac.mm:
+        * editing/cocoa/WebArchiveResourceFromNSAttributedString.h:
+        * editing/cocoa/WebArchiveResourceWebResourceHandler.h:
+        * editing/cocoa/WebContentReaderCocoa.mm:
+        * history/mac/HistoryItemMac.mm:
+        * loader/cocoa/DiskCacheMonitorCocoa.mm:
+        * loader/cocoa/SubresourceLoaderCocoa.mm:
+        * loader/mac/ResourceLoaderMac.mm:
+        * page/cocoa/MemoryReleaseCocoa.mm:
+        * page/cocoa/ResourceUsageOverlayCocoa.mm:
+        * page/cocoa/ResourceUsageThreadCocoa.mm:
+        * page/ios/WebEventRegion.h:
+        * page/mac/ChromeMac.mm:
+        * page/mac/EventHandlerMac.mm:
+        * page/mac/WheelEventDeltaFilterMac.mm:
+        * page/scrolling/cocoa/ScrollingStateNode.mm:
+        * page/scrolling/mac/ScrollingCoordinatorMac.mm:
+        * page/scrolling/mac/ScrollingMomentumCalculatorMac.mm:
+        * page/scrolling/mac/ScrollingStateScrollingNodeMac.mm:
+        * page/scrolling/mac/ScrollingThreadMac.mm:
+        * page/scrolling/mac/ScrollingTreeMac.mm:
+        * platform/audio/cocoa/MediaSessionManagerCocoa.mm:
+        * platform/audio/mac/AudioSampleDataSource.mm:
+        * platform/cocoa/DataDetectorsCoreSoftLink.mm:
+        * platform/cocoa/PasteboardCocoa.mm:
+        * platform/cocoa/ScrollSnapAnimatorState.mm:
+        * platform/cocoa/SystemVersion.mm:
+        * platform/gamepad/cocoa/GameControllerGamepad.mm:
+        * platform/graphics/avfoundation/AVTrackPrivateAVFObjCImpl.mm:
+        * platform/graphics/avfoundation/MediaSelectionGroupAVFObjC.mm:
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm:
+        * platform/graphics/avfoundation/objc/MediaSourcePrivateAVFObjC.mm:
+        * platform/graphics/avfoundation/objc/VideoLayerManagerObjC.mm:
+        * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
+        * platform/graphics/ca/cocoa/WebSystemBackdropLayer.h:
+        * platform/graphics/ca/cocoa/WebTiledBackingLayer.h:
+        * platform/graphics/ca/cocoa/WebVideoContainerLayer.h:
+        * platform/graphics/cocoa/GraphicsContextGLOpenGLCocoa.mm:
+        * platform/graphics/cocoa/IOSurfacePoolCocoa.mm:
+        * platform/graphics/cocoa/TextTrackRepresentationCocoa.mm:
+        * platform/graphics/cocoa/WebGLLayer.h:
+        * platform/graphics/cocoa/WebGLLayer.mm:
+        * platform/graphics/cocoa/WebGPULayer.h:
+        * platform/graphics/cocoa/WebGPULayer.mm:
+        * platform/graphics/cv/ImageRotationSessionVT.mm:
+        * platform/graphics/cv/ImageTransferSessionVT.mm:
+        * platform/graphics/cv/TextureCacheCV.mm:
+        * platform/graphics/gpu/cocoa/GPUBufferMetal.mm:
+        * platform/graphics/gpu/cocoa/GPUComputePassEncoderMetal.mm:
+        * platform/graphics/mac/ComplexTextControllerCoreText.mm:
+        * platform/graphics/mac/FloatPointMac.mm:
+        * platform/graphics/mac/FloatSizeMac.mm:
+        * platform/graphics/mac/IntPointMac.mm:
+        * platform/graphics/mac/IntSizeMac.mm:
+        * platform/graphics/mac/WebLayer.h:
+        * platform/graphics/mac/WebLayer.mm:
+        * platform/ios/LegacyTileCache.mm:
+        * platform/ios/LegacyTileGrid.mm:
+        * platform/ios/LegacyTileGridTile.mm:
+        * platform/ios/LegacyTileLayer.h:
+        * platform/ios/LegacyTileLayer.mm:
+        * platform/ios/LegacyTileLayerPool.mm:
+        * platform/ios/LocalCurrentTraitCollection.mm:
+        * platform/ios/LocalizedDeviceModel.mm:
+        * platform/ios/ScrollbarThemeIOS.mm:
+        * platform/ios/WebCoreMotionManager.h:
+        * platform/ios/WebItemProviderPasteboard.mm:
+        * platform/ios/WebVideoFullscreenControllerAVKit.h:
+        * platform/mac/LocalCurrentGraphicsContext.mm:
+        * platform/mac/LocalDefaultSystemAppearance.mm:
+        * platform/mac/LoggingMac.mm:
+        * platform/mac/PlatformEventFactoryMac.mm:
+        * platform/mac/RemoteCommandListenerMac.mm:
+        * platform/mac/ScrollAnimatorMac.mm:
+        * platform/mac/SerializedPlatformDataCueMac.mm:
+        * platform/mac/WebCoreFullScreenPlaceholderView.mm:
+        * platform/mac/WebCoreFullScreenWarningView.h:
+        * platform/mac/WebCoreFullScreenWarningView.mm:
+        * platform/mac/WebCoreFullScreenWindow.h:
+        * platform/mac/WebCoreObjCExtras.mm:
+        * platform/mediarecorder/cocoa/MediaRecorderPrivateWriterCocoa.mm:
+        * platform/mediasession/mac/MediaSessionInterruptionProviderMac.mm:
+        * platform/mediastream/ios/AVAudioSessionCaptureDevice.mm:
+        * platform/mediastream/ios/CoreAudioCaptureSourceIOS.mm:
+        * platform/mediastream/mac/RealtimeIncomingVideoSourceCocoa.mm:
+        * platform/mediastream/mac/RealtimeMediaSourceCenterMac.mm:
+        * platform/mediastream/mac/RealtimeVideoUtilities.mm:
+        * platform/mediastream/mac/ScreenDisplayCaptureSourceMac.mm:
+        * platform/network/cocoa/CertificateInfoCocoa.mm:
+        * platform/network/cocoa/WebCoreNSURLSession.h:
+        * platform/network/mac/BlobDataFileReferenceMac.mm:
+        * platform/network/mac/CredentialStorageMac.mm:
+        * platform/network/mac/SynchronousLoaderClient.mm:
+        * platform/network/mac/WebCoreResourceHandleAsOperationQueueDelegate.h:
+        * platform/text/cocoa/LocaleCocoa.mm:
+        * testing/ServiceWorkerInternals.mm:
+        * testing/cocoa/WebViewVisualIdentificationOverlay.h:
+        More #import, less #pragma once.
+
 2020-04-20  Youenn Fablet  <youenn@apple.com>
 
         Safari doesn't apply frameRate limit when request stream from Camera
index 0cdcca1..5fd1aff 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "PaymentRequestValidator.h"
+#import "config.h"
+#import "PaymentRequestValidator.h"
 
 #if ENABLE(APPLE_PAY)
 
-#include "ApplePaySessionPaymentRequest.h"
-#include <unicode/ucurr.h>
-#include <unicode/uloc.h>
+#import "ApplePaySessionPaymentRequest.h"
+#import <unicode/ucurr.h>
+#import <unicode/uloc.h>
 
 namespace WebCore {
 
index 09be21b..cfc5291 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "PaymentContact.h"
+#import "config.h"
+#import "PaymentContact.h"
 
 #if ENABLE(APPLE_PAY)
 
index c9709f6..e422f1b 100644 (file)
@@ -1,3 +1,38 @@
+2020-04-20  Darin Adler  <darin@apple.com>
+
+        Use #import instead of #include in Objective-C and don't use #pragma once
+        https://bugs.webkit.org/show_bug.cgi?id=210724
+
+        Reviewed by David Kilzer.
+
+        * pal/cocoa/AppSSOSoftLink.mm:
+        * pal/cocoa/FileSizeFormatterCocoa.mm:
+        * pal/cocoa/UsageTrackingSoftLink.mm:
+        * pal/ios/ManagedConfigurationSoftLink.mm:
+        * pal/ios/UIKitSoftLink.mm:
+        * pal/mac/LookupSoftLink.mm:
+        * pal/spi/cocoa/AVFoundationSPI.h:
+        * pal/spi/cocoa/AccessibilitySupportSoftLink.cpp:
+        * pal/spi/cocoa/AppSSOSPI.h:
+        * pal/spi/cocoa/AuthKitSPI.h:
+        * pal/spi/cocoa/DataDetectorsCoreSPI.h:
+        * pal/spi/cocoa/LaunchServicesSPI.h:
+        * pal/spi/cocoa/NSAccessibilitySPI.h:
+        * pal/spi/cocoa/NSAttributedStringSPI.h:
+        * pal/spi/cocoa/NSProgressSPI.h:
+        * pal/spi/cocoa/NSURLDownloadSPI.h:
+        * pal/spi/cocoa/NSUserDefaultsSPI.h:
+        * pal/spi/cocoa/NSXPCConnectionSPI.h:
+        * pal/spi/cocoa/PassKitSPI.h:
+        * pal/spi/cocoa/SecKeyProxySPI.h:
+        * pal/spi/ios/CelestialSPI.h:
+        * pal/spi/mac/DataDetectorsSPI.h:
+        * pal/spi/mac/NSColorWellSPI.h:
+        * pal/spi/mac/NSGraphicsSPI.h:
+        * pal/spi/mac/NSPopoverColorWellSPI.h:
+        * pal/spi/mac/NSScrollerImpSPI.h:
+        More #import, less #pragma once.
+
 2020-04-16  Eric Carlson  <eric.carlson@apple.com>
 
         [macOS] Update ScreenTime as playback state changes
index 1ba2929..90723db 100644 (file)
@@ -23,7 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 
 #if HAVE(APP_SSO)
 
index 8c38627..36454a9 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "FileSizeFormatter.h"
+#import "config.h"
+#import "FileSizeFormatter.h"
 
 #import "NSFileSizeFormatterSPI.h"
 
index 688730e..0cdf794 100644 (file)
@@ -23,7 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 
 #import <wtf/SoftLinking.h>
 
index 6d61a78..8d1cdb6 100644 (file)
@@ -23,7 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 
 #if PLATFORM(IOS_FAMILY) && !PLATFORM(MACCATALYST)
 
index 842ce38..9d96d59 100644 (file)
@@ -23,7 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 
 #if PLATFORM(IOS_FAMILY)
 
index 1366e8a..fb5b4f4 100644 (file)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 
 #if PLATFORM(MAC)
 
index 9e482bb..27c3c80 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #import <objc/runtime.h>
 #import <wtf/Platform.h>
 #import <wtf/SoftLinking.h>
@@ -367,7 +365,7 @@ typedef NS_ENUM(NSInteger, AVPlayerResourceConservationLevel) {
 
 #if HAVE(AVSAMPLEBUFFERVIDEOOUTPUT)
 #if USE(APPLE_INTERNAL_SDK)
-#include <AVFoundation/AVSampleBufferVideoOutput.h>
+#import <AVFoundation/AVSampleBufferVideoOutput.h>
 #else
 
 NS_ASSUME_NONNULL_BEGIN
index c0bcb05..8f765e9 100644 (file)
@@ -23,8 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-
+#import "config.h"
 #import "AccessibilitySupportSoftLink.h"
 
 #if ENABLE(ACCESSIBILITY_ISOLATED_TREE)
index b04bf2a..85ea6b4 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if HAVE(APP_SSO)
 
 #if USE(APPLE_INTERNAL_SDK)
index 6c82ec9..8c7b88b 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if HAVE(APP_SSO)
 
 #if USE(APPLE_INTERNAL_SDK)
index cc3443d..cd70bfa 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if ENABLE(DATA_DETECTION)
 
 typedef struct __DDResult *DDResultRef;
index 6e84d5d..2e16566 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #import <Foundation/Foundation.h>
 
 #if USE(APPLE_INTERNAL_SDK)
index 1c1aaab..6c4b4ef 100644 (file)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if USE(APPKIT)
 
 #if USE(APPLE_INTERNAL_SDK)
index 3122325..c64a6ee 100644 (file)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #import <wtf/SoftLinking.h>
 
 #if PLATFORM(IOS_FAMILY)
index 149bb14..fb1b0fe 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if USE(APPLE_INTERNAL_SDK)
 
 #import <Foundation/NSProgress_Private.h>
index 7bc27e7..52446e9 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if PLATFORM(MAC) || USE(APPLE_INTERNAL_SDK)
 
 #import <Foundation/NSURLDownload.h>
index d657f76..ba46ce2 100644 (file)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 @interface NSObject (PrivateKVOMethods)
 - (void)_notifyObserversOfChangeFromValuesForKeys:(NSDictionary<NSString *, id> *)oldValues toValuesForKeys:(NSDictionary<NSString *, id> *)newValues;
 @end
index 86dcd91..64584fd 100644 (file)
@@ -23,9 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
-#include <wtf/spi/darwin/XPCSPI.h>
+#import <wtf/spi/darwin/XPCSPI.h>
 
 #if USE(APPLE_INTERNAL_SDK)
 
index ed3d216..8b9c114 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if !PLATFORM(MAC) || USE(APPLE_INTERNAL_SDK)
 
 // FIXME: PassKit does not declare its NSString constant symbols with C linkage, so we end up with
index 85b2837..1e214e4 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if HAVE(SEC_KEY_PROXY)
 
 #if USE(APPLE_INTERNAL_SDK)
@@ -34,8 +32,8 @@
 #else
 
 #import <Foundation/Foundation.h>
-#include <Security/SecBase.h>
-#include <Security/SecKey.h>
+#import <Security/SecBase.h>
+#import <Security/SecKey.h>
 
 NS_ASSUME_NONNULL_BEGIN
 @interface SecKeyProxy : NSObject {
index c2c087b..018bc68 100644 (file)
@@ -25,8 +25,6 @@
 
 #if HAVE(CELESTIAL)
 
-#pragma once
-
 #import <Foundation/Foundation.h>
 
 #if USE(APPLE_INTERNAL_SDK)
@@ -37,7 +35,7 @@
 
 @interface AVSystemController : NSObject
 
-+(AVSystemController*)sharedAVSystemController;
++ (AVSystemController*)sharedAVSystemController;
 
 - (id)attributeForKey:(NSString *)attributeKey;
 - (BOOL)setAttribute:(id)value forKey:(NSString *)attributeKey error:(NSError **)errorPtr;
index f441555..43baab0 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #import <wtf/Platform.h>
 
 #if ENABLE(DATA_DETECTION)
index 6164e01..129366a 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if USE(APPKIT)
 
 @interface NSColorWell ()
index 371046f..1d675b5 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if PLATFORM(MAC)
 
 #import <AppKit/AppKit.h>
index 193b1c1..9150ae8 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if USE(APPKIT)
 
 @interface NSPopoverColorWell : NSColorWell<NSPopoverDelegate>
index 9d630d8..8a52f33 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if USE(APPKIT)
 
 #if USE(APPLE_INTERNAL_SDK)
index b66717d..87c0259 100644 (file)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if ENABLE(ACCESSIBILITY) && PLATFORM(IOS_FAMILY)
 
 #import "AXObjectCache.h"
index b15cd05..4fedfa5 100644 (file)
@@ -37,7 +37,7 @@
 #import <pal/spi/mac/HIServicesSPI.h>
 
 #if USE(APPLE_INTERNAL_SDK)
-#include <ApplicationServices/ApplicationServicesPriv.h>
+#import <ApplicationServices/ApplicationServicesPriv.h>
 #endif
 
 #ifndef NSAccessibilityLiveRegionChangedNotification
index 9e1604a..259bdb4 100644 (file)
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#ifndef WebAccessibilityObjectWrapperBase_h
-#define WebAccessibilityObjectWrapperBase_h
-
-#include "AccessibilityObjectInterface.h"
-#include <CoreGraphics/CoreGraphics.h>
-#include <wtf/RefPtr.h>
-#include <wtf/Variant.h>
-#include <wtf/WeakPtr.h>
+#import "AccessibilityObjectInterface.h"
+#import <CoreGraphics/CoreGraphics.h>
+#import <wtf/RefPtr.h>
+#import <wtf/Variant.h>
+#import <wtf/WeakPtr.h>
 
 namespace WebCore {
 struct AccessibilitySearchCriteria;
@@ -99,5 +96,3 @@ extern NSArray *convertToNSArray(const WebCore::AXCoreObject::AccessibilityChild
 #endif
 
 @end
-
-#endif // WebAccessibilityObjectWrapperBase_h
index d3504af..8b58c57 100644 (file)
@@ -26,8 +26,6 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #import "WebAccessibilityObjectWrapperBase.h"
 
 #if PLATFORM(MAC)
 
 namespace WebCore {
 
-// TextMarker utility functions.
-
 id textMarkerRangeFromMarkers(id textMarker1, id textMarker2);
 id textMarkerForVisiblePosition(AXObjectCache*, const VisiblePosition&);
 id textMarkerRangeFromVisiblePositions(AXObjectCache*, const VisiblePosition&, const VisiblePosition&);
 
 }
-
index d69ea1c..ea529f2 100644 (file)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#pragma once
-
 #import "WebScriptObject.h"
 #import <JavaScriptCore/JSCJSValue.h>
 #import <wtf/RefPtr.h>
index 4cd18bd..ffe63a6 100644 (file)
@@ -29,7 +29,7 @@
 #import "WebScriptObject.h"
 #import "WebScriptObjectProtocol.h"
 #import "objc_instance.h"
-#include <JavaScriptCore/JSGlobalObjectInlines.h>
+#import <JavaScriptCore/JSGlobalObjectInlines.h>
 
 namespace JSC {
 namespace Bindings {
index feb21b7..deb8097 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
-
-#include "BridgeJSC.h"
-#include <Foundation/Foundation.h>
-#include "JSObject.h"
-#include "JSCJSValue.h"
+#import "config.h"
+
+#import "BridgeJSC.h"
+#import "JSCJSValue.h"
+#import "JSObject.h"
+#import "interpreter.h"
+#import "runtime_object.h"
+#import "types.h"
+#import <Foundation/Foundation.h>
 #import <WebKit/WebScriptObject.h>
-#include "interpreter.h"
-#include "runtime_object.h"
-#include <stdio.h>
-#include <string.h>
-#include "types.h"
-
+#import <stdio.h>
+#import <string.h>
 
 #define LOG(formatAndArgs...) { \
     fprintf (stderr, "%s:  ", __PRETTY_FUNCTION__); \
index 3e47969..3b48ccf 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "SerializedCryptoKeyWrap.h"
+#import "config.h"
+#import "SerializedCryptoKeyWrap.h"
 
 #if ENABLE(WEB_CRYPTO)
 
-#include "CommonCryptoUtilities.h"
-#include "LocalizedStrings.h"
-#include <CommonCrypto/CommonSymmetricKeywrap.h>
-#include <crt_externs.h>
-#include <wtf/spi/cocoa/SecuritySPI.h>
-#include <wtf/text/Base64.h>
-#include <wtf/text/CString.h>
-#include <wtf/CryptographicUtilities.h>
-#include <wtf/ProcessPrivilege.h>
-#include <wtf/RetainPtr.h>
+#import "CommonCryptoUtilities.h"
+#import "LocalizedStrings.h"
+#import <CommonCrypto/CommonSymmetricKeywrap.h>
+#import <crt_externs.h>
+#import <wtf/CryptographicUtilities.h>
+#import <wtf/ProcessPrivilege.h>
+#import <wtf/RetainPtr.h>
+#import <wtf/spi/cocoa/SecuritySPI.h>
+#import <wtf/text/Base64.h>
+#import <wtf/text/CString.h>
 
 #if PLATFORM(IOS_FAMILY)
 #define USE_KEYCHAIN_ACCESS_CONTROL_LISTS 0
@@ -46,7 +46,7 @@
 #endif
 
 #if USE(KEYCHAIN_ACCESS_CONTROL_LISTS)
-#include <wtf/cf/TypeCastsCF.h>
+#import <wtf/cf/TypeCastsCF.h>
 WTF_DECLARE_CF_TYPE_TRAIT(SecACL);
 #endif
 
index f2bb47f..14e4812 100644 (file)
@@ -23,9 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
-@interface WebArchiveResourceWebResourceHandler : NSObject {
-}
+@interface WebArchiveResourceWebResourceHandler : NSObject
 - (id)resourceForData:(NSData *)data URL:(NSURL *)url MIMEType:(NSString *)mimeType textEncodingName:(NSString *)textEncodingName frameName:(NSString *)frameName;
 @end
index e9601ce..0c9f9d0 100644 (file)
@@ -70,7 +70,7 @@
 #import <wtf/URLParser.h>
 
 #if PLATFORM(MAC)
-#include "LocalDefaultSystemAppearance.h"
+#import "LocalDefaultSystemAppearance.h"
 #endif
 
 #if (PLATFORM(IOS_FAMILY) && __IPHONE_OS_VERSION_MIN_REQUIRED >= 110000) || PLATFORM(MAC)
index 0671321..700d1c5 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
-#include "HistoryItem.h"
+#import "config.h"
+#import "HistoryItem.h"
 
-#include <wtf/text/StringHash.h>
+#import <wtf/text/StringHash.h>
 
 namespace WebCore {
 
index a0fbb1a..96f46c4 100644 (file)
@@ -34,7 +34,7 @@
 #import <wtf/RefPtr.h>
 
 #if USE(WEB_THREAD)
-#include "WebCoreThreadRun.h"
+#import "WebCoreThreadRun.h"
 #endif
 
 namespace WebCore {
index 6e503ca..9ff8660 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "SubresourceLoader.h"
+#import "config.h"
+#import "SubresourceLoader.h"
 
-#include "CachedResource.h"
-#include "DiskCacheMonitorCocoa.h"
-#include "ResourceHandle.h"
-#include "ResourceLoader.h"
-#include "SharedBuffer.h"
-#include <pal/spi/cf/CFNetworkSPI.h>
+#import "CachedResource.h"
+#import "DiskCacheMonitorCocoa.h"
+#import "ResourceHandle.h"
+#import "ResourceLoader.h"
+#import "SharedBuffer.h"
+#import <pal/spi/cf/CFNetworkSPI.h>
 
 namespace WebCore {
 
index aece98a..e7fc774 100644 (file)
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
  
-#include "config.h"
-#include "ResourceLoader.h"
+#import "config.h"
+#import "ResourceLoader.h"
 
-#include "FrameLoader.h"
-#include "FrameLoaderClient.h"
-#include <wtf/CompletionHandler.h>
+#import "FrameLoader.h"
+#import "FrameLoaderClient.h"
+#import <wtf/CompletionHandler.h>
 
 namespace WebCore {
 
index 51eed66..b03d689 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "MemoryRelease.h"
+#import "config.h"
+#import "MemoryRelease.h"
 
 #import "FontFamilySpecificationCoreText.h"
 #import "GCController.h"
index fe9a8a3..c6e1872 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ResourceUsageOverlay.h"
+#import "config.h"
+#import "ResourceUsageOverlay.h"
 
 #if ENABLE(RESOURCE_USAGE)
 
-#include <CoreText/CoreText.h>
-
-#include "CommonVM.h"
-#include "JSDOMWindow.h"
-#include "PlatformCALayer.h"
-#include "ResourceUsageThread.h"
-#include <CoreGraphics/CGContext.h>
-#include <QuartzCore/CALayer.h>
-#include <QuartzCore/CATransaction.h>
-#include <wtf/MainThread.h>
-#include <wtf/MathExtras.h>
-#include <wtf/MemoryFootprint.h>
-#include <wtf/NeverDestroyed.h>
-#include <wtf/text/StringConcatenateNumbers.h>
+#import "CommonVM.h"
+#import "JSDOMWindow.h"
+#import "PlatformCALayer.h"
+#import "ResourceUsageThread.h"
+#import <CoreGraphics/CGContext.h>
+#import <CoreText/CoreText.h>
+#import <QuartzCore/CALayer.h>
+#import <QuartzCore/CATransaction.h>
+#import <wtf/MainThread.h>
+#import <wtf/MathExtras.h>
+#import <wtf/MemoryFootprint.h>
+#import <wtf/NeverDestroyed.h>
+#import <wtf/text/StringConcatenateNumbers.h>
 
 using WebCore::ResourceUsageOverlay;
 
index a6e37c7..bc62e9f 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ResourceUsageThread.h"
+#import "config.h"
+#import "ResourceUsageThread.h"
 
 #if ENABLE(RESOURCE_USAGE)
 
-#include "WorkerThread.h"
-#include <JavaScriptCore/GCActivityCallback.h>
-#include <JavaScriptCore/Heap.h>
-#include <JavaScriptCore/SamplingProfiler.h>
-#include <JavaScriptCore/VM.h>
-#include <mach/mach.h>
-#include <mach/vm_statistics.h>
-#include <wtf/MachSendRight.h>
-#include <wtf/ResourceUsage.h>
-#include <wtf/spi/cocoa/MachVMSPI.h>
-#include <wtf/text/StringConcatenateNumbers.h>
+#import "WorkerThread.h"
+#import <JavaScriptCore/GCActivityCallback.h>
+#import <JavaScriptCore/Heap.h>
+#import <JavaScriptCore/SamplingProfiler.h>
+#import <JavaScriptCore/VM.h>
+#import <mach/mach.h>
+#import <mach/vm_statistics.h>
+#import <wtf/MachSendRight.h>
+#import <wtf/ResourceUsage.h>
+#import <wtf/spi/cocoa/MachVMSPI.h>
+#import <wtf/text/StringConcatenateNumbers.h>
 
 namespace WebCore {
 
index 4e12594..100135f 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "SettingsBase.h"
+#import "config.h"
+#import "SettingsBase.h"
 
-#include <wtf/NeverDestroyed.h>
+#import <wtf/NeverDestroyed.h>
 
 #if PLATFORM(IOS_FAMILY)
-#include "Device.h"
-#include <pal/ios/UIKitSoftLink.h>
-#include <pal/spi/ios/UIKitSPI.h>
+#import "Device.h"
+#import <pal/spi/ios/UIKitSPI.h>
 #endif
 
-namespace WebCore {
-
-static inline const char* sansSerifTraditionalHanFontFamily()
-{
-    return "PingFang TC";
-}
+#if PLATFORM(IOS_FAMILY)
+#import <pal/ios/UIKitSoftLink.h>
+#endif
 
-static inline const char* sansSerifSimplifiedHanFontFamily()
-{
-    return "PingFang SC";
-}
+namespace WebCore {
 
 #if PLATFORM(MAC)
 
@@ -70,8 +63,8 @@ bool SettingsBase::platformDefaultMediaSourceEnabled()
 
 void SettingsBase::initializeDefaultFontFamilies()
 {
-    setStandardFontFamily(sansSerifTraditionalHanFontFamily(), USCRIPT_TRADITIONAL_HAN);
-    setStandardFontFamily(sansSerifSimplifiedHanFontFamily(), USCRIPT_SIMPLIFIED_HAN);
+    setStandardFontFamily("PingFang TC", USCRIPT_TRADITIONAL_HAN);
+    setStandardFontFamily("PingFang SC", USCRIPT_SIMPLIFIED_HAN);
     setStandardFontFamily("Hiragino Mincho ProN", USCRIPT_KATAKANA_OR_HIRAGANA);
     setStandardFontFamily("Apple SD Gothic Neo", USCRIPT_HANGUL);
 
@@ -87,10 +80,12 @@ bool SettingsBase::defaultTextAutosizingEnabled()
 }
 
 #if ENABLE(MEDIA_SOURCE)
+
 bool SettingsBase::platformDefaultMediaSourceEnabled()
 {
     return false;
 }
+
 #endif
 
 #endif
index eaa28d3..9681129 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #import <CoreGraphics/CGGeometry.h>
 #import <Foundation/NSObject.h>
 
index 6d95091..aed3ed8 100644 (file)
@@ -24,8 +24,8 @@
 #import <wtf/BlockObjCExceptions.h>
 
 #if PLATFORM(IOS_FAMILY)
-#include "WAKResponder.h"
-#include "WAKView.h"
+#import "WAKResponder.h"
+#import "WAKView.h"
 #endif
 
 namespace WebCore {
index 91cb247..767dd2a 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
-#include "EventHandler.h"
+#import "config.h"
+#import "EventHandler.h"
 
 #if PLATFORM(MAC)
 
-#include "AXObjectCache.h"
-#include "Chrome.h"
-#include "ChromeClient.h"
-#include "DataTransfer.h"
-#include "DictionaryLookup.h"
-#include "DragController.h"
-#include "Editor.h"
-#include "FocusController.h"
-#include "Frame.h"
-#include "FrameLoader.h"
-#include "FrameView.h"
-#include "HTMLBodyElement.h"
-#include "HTMLDocument.h"
-#include "HTMLFrameSetElement.h"
-#include "HTMLHtmlElement.h"
-#include "HTMLIFrameElement.h"
-#include "KeyboardEvent.h"
-#include "Logging.h"
-#include "MouseEventWithHitTestResults.h"
-#include "Page.h"
-#include "Pasteboard.h"
-#include "PlatformEventFactoryMac.h"
-#include "PlatformScreen.h"
-#include "Range.h"
-#include "RenderLayer.h"
-#include "RenderListBox.h"
-#include "RenderView.h"
-#include "RenderWidget.h"
-#include "RuntimeApplicationChecks.h"
-#include "ScreenProperties.h"
-#include "ScrollAnimator.h"
-#include "ScrollLatchingState.h"
-#include "ScrollableArea.h"
-#include "Scrollbar.h"
-#include "Settings.h"
-#include "ShadowRoot.h"
-#include "SimpleRange.h"
-#include "WheelEventDeltaFilter.h"
-#include "WheelEventTestMonitor.h"
-#include <wtf/BlockObjCExceptions.h>
-#include <wtf/MainThread.h>
-#include <wtf/NeverDestroyed.h>
-#include <wtf/ObjCRuntimeExtras.h>
-#include <wtf/ProcessPrivilege.h>
-#include <wtf/text/TextStream.h>
+#import "AXObjectCache.h"
+#import "Chrome.h"
+#import "ChromeClient.h"
+#import "DataTransfer.h"
+#import "DictionaryLookup.h"
+#import "DragController.h"
+#import "Editor.h"
+#import "FocusController.h"
+#import "Frame.h"
+#import "FrameLoader.h"
+#import "FrameView.h"
+#import "HTMLBodyElement.h"
+#import "HTMLDocument.h"
+#import "HTMLFrameSetElement.h"
+#import "HTMLHtmlElement.h"
+#import "HTMLIFrameElement.h"
+#import "KeyboardEvent.h"
+#import "Logging.h"
+#import "MouseEventWithHitTestResults.h"
+#import "Page.h"
+#import "Pasteboard.h"
+#import "PlatformEventFactoryMac.h"
+#import "PlatformScreen.h"
+#import "Range.h"
+#import "RenderLayer.h"
+#import "RenderListBox.h"
+#import "RenderView.h"
+#import "RenderWidget.h"
+#import "RuntimeApplicationChecks.h"
+#import "ScreenProperties.h"
+#import "ScrollAnimator.h"
+#import "ScrollLatchingState.h"
+#import "ScrollableArea.h"
+#import "Scrollbar.h"
+#import "Settings.h"
+#import "ShadowRoot.h"
+#import "SimpleRange.h"
+#import "WheelEventDeltaFilter.h"
+#import "WheelEventTestMonitor.h"
+#import <wtf/BlockObjCExceptions.h>
+#import <wtf/MainThread.h>
+#import <wtf/NeverDestroyed.h>
+#import <wtf/ObjCRuntimeExtras.h>
+#import <wtf/ProcessPrivilege.h>
+#import <wtf/text/TextStream.h>
 
 #if ENABLE(MAC_GESTURE_EVENTS)
 #import <WebKitAdditions/EventHandlerMacGesture.cpp>
index c822fdd..23b1ed5 100644 (file)
@@ -23,7 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 
 #if PLATFORM(MAC)
 #import "WheelEventDeltaFilterMac.h"
index 374879f..55a9439 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ScrollingStateNode.h"
+#import "config.h"
+#import "ScrollingStateNode.h"
 
-#include "PlatformLayer.h"
+#import "PlatformLayer.h"
 
 #if ENABLE(ASYNC_SCROLLING)
 
index 6278e56..d8e51ca 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 
 #if ENABLE(ASYNC_SCROLLING) && ENABLE(SCROLLING_THREAD)
 
 #import "ScrollingCoordinatorMac.h"
 
-#include "Frame.h"
-#include "FrameView.h"
-#include "Logging.h"
-#include "Page.h"
-#include "PlatformWheelEvent.h"
-#include "Region.h"
-#include "ScrollingStateTree.h"
-#include "ScrollingThread.h"
-#include "ScrollingTreeFixedNode.h"
-#include "ScrollingTreeFrameScrollingNodeMac.h"
-#include "ScrollingTreeMac.h"
-#include "ScrollingTreeStickyNode.h"
-#include "TiledBacking.h"
-#include <wtf/MainThread.h>
+#import "Frame.h"
+#import "FrameView.h"
+#import "Logging.h"
+#import "Page.h"
+#import "PlatformWheelEvent.h"
+#import "Region.h"
+#import "ScrollingStateTree.h"
+#import "ScrollingThread.h"
+#import "ScrollingTreeFixedNode.h"
+#import "ScrollingTreeFrameScrollingNodeMac.h"
+#import "ScrollingTreeMac.h"
+#import "ScrollingTreeStickyNode.h"
+#import "TiledBacking.h"
+#import <wtf/MainThread.h>
 
 namespace WebCore {
 
index b43ea99..75d73ef 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ScrollingMomentumCalculatorMac.h"
+#import "config.h"
+#import "ScrollingMomentumCalculatorMac.h"
 
 #if PLATFORM(MAC)
 
-#include <pal/spi/mac/NSScrollingMomentumCalculatorSPI.h>
+#import <pal/spi/mac/NSScrollingMomentumCalculatorSPI.h>
 
 namespace WebCore {
 
index 3125b47..58594fe 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ScrollingStateScrollingNode.h"
+#import "config.h"
+#import "ScrollingStateScrollingNode.h"
 
 #if ENABLE(ASYNC_SCROLLING) && PLATFORM(MAC)
 
-#include "GraphicsLayer.h"
-#include "Scrollbar.h"
-#include "ScrollbarThemeMac.h"
-#include "ScrollingStateTree.h"
+#import "GraphicsLayer.h"
+#import "Scrollbar.h"
+#import "ScrollbarThemeMac.h"
+#import "ScrollingStateTree.h"
 
 namespace WebCore {
 
index f259d66..ed05145 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ScrollingThread.h"
+#import "config.h"
+#import "ScrollingThread.h"
 
 #if ENABLE(ASYNC_SCROLLING) && PLATFORM(MAC)
 
-#include <mutex>
+#import <mutex>
 
 namespace WebCore {
 
index 0e26239..37c5e36 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ScrollingTreeMac.h"
-
-#include "Logging.h"
-#include "PlatformCALayer.h"
-#include "ScrollingTreeFixedNode.h"
-#include "ScrollingTreeFrameHostingNode.h"
-#include "ScrollingTreeFrameScrollingNodeMac.h"
-#include "ScrollingTreeOverflowScrollProxyNode.h"
-#include "ScrollingTreeOverflowScrollingNodeMac.h"
-#include "ScrollingTreePositionedNode.h"
-#include "ScrollingTreeStickyNode.h"
-#include "WebLayer.h"
-#include "WheelEventTestMonitor.h"
-#include <wtf/text/TextStream.h>
+#import "config.h"
+#import "ScrollingTreeMac.h"
+
+#import "Logging.h"
+#import "PlatformCALayer.h"
+#import "ScrollingTreeFixedNode.h"
+#import "ScrollingTreeFrameHostingNode.h"
+#import "ScrollingTreeFrameScrollingNodeMac.h"
+#import "ScrollingTreeOverflowScrollProxyNode.h"
+#import "ScrollingTreeOverflowScrollingNodeMac.h"
+#import "ScrollingTreePositionedNode.h"
+#import "ScrollingTreeStickyNode.h"
+#import "WebLayer.h"
+#import "WheelEventTestMonitor.h"
+#import <wtf/text/TextStream.h>
 
 #if ENABLE(ASYNC_SCROLLING) && ENABLE(SCROLLING_THREAD)
 
index f61b627..d16380c 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "MediaSessionManagerCocoa.h"
+#import "config.h"
+#import "MediaSessionManagerCocoa.h"
 
 #if USE(AUDIO_SESSION) && PLATFORM(COCOA)
 
-#include "AudioSession.h"
-#include "DeprecatedGlobalSettings.h"
-#include "HTMLMediaElement.h"
-#include "Logging.h"
-#include "MediaPlayer.h"
-#include "MediaStrategy.h"
-#include "NowPlayingInfo.h"
-#include "PlatformMediaSession.h"
-#include "PlatformStrategies.h"
-#include <wtf/BlockObjCExceptions.h>
-#include <wtf/Function.h>
-
-#include "MediaRemoteSoftLink.h"
+#import "AudioSession.h"
+#import "DeprecatedGlobalSettings.h"
+#import "HTMLMediaElement.h"
+#import "Logging.h"
+#import "MediaPlayer.h"
+#import "MediaStrategy.h"
+#import "NowPlayingInfo.h"
+#import "PlatformMediaSession.h"
+#import "PlatformStrategies.h"
+#import <wtf/BlockObjCExceptions.h>
+#import <wtf/Function.h>
+
+#import "MediaRemoteSoftLink.h"
 
 static const size_t kWebAudioBufferSize = 128;
 static const size_t kLowPowerVideoBufferSize = 4096;
index 0118a12..00001cb 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "AudioSampleDataSource.h"
+#import "config.h"
+#import "AudioSampleDataSource.h"
 
 #if ENABLE(MEDIA_STREAM)
 
-#include "CAAudioStreamDescription.h"
-#include "CARingBuffer.h"
-#include "Logging.h"
-#include "MediaStreamTrackPrivate.h"
-#include <AudioToolbox/AudioConverter.h>
-#include <mach/mach.h>
-#include <mach/mach_time.h>
-#include <mutex>
-#include <pal/avfoundation/MediaTimeAVFoundation.h>
-#include <syslog.h>
-#include <wtf/StringPrintStream.h>
-
-#include <pal/cf/CoreMediaSoftLink.h>
+#import "CAAudioStreamDescription.h"
+#import "CARingBuffer.h"
+#import "Logging.h"
+#import "MediaStreamTrackPrivate.h"
+#import <AudioToolbox/AudioConverter.h>
+#import <mach/mach.h>
+#import <mach/mach_time.h>
+#import <mutex>
+#import <pal/avfoundation/MediaTimeAVFoundation.h>
+#import <syslog.h>
+#import <wtf/StringPrintStream.h>
+
+#import <pal/cf/CoreMediaSoftLink.h>
 
 namespace WebCore {
 using namespace PAL;
index 893e38c..4a8c676 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "DataDetectorsCoreSoftLink.h"
+#import "config.h"
+#import "DataDetectorsCoreSoftLink.h"
 
 #if PLATFORM(IOS_FAMILY) && ENABLE(DATA_DETECTION)
 
index 1026db4..0f4faaf 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "Pasteboard.h"
+#import "config.h"
+#import "Pasteboard.h"
 
-#include "LegacyNSPasteboardTypes.h"
-#include "PasteboardStrategy.h"
-#include "PlatformStrategies.h"
-#include "SharedBuffer.h"
-#include <ImageIO/ImageIO.h>
-#include <wtf/ListHashSet.h>
-#include <wtf/text/StringHash.h>
+#import "LegacyNSPasteboardTypes.h"
+#import "PasteboardStrategy.h"
+#import "PlatformStrategies.h"
+#import "SharedBuffer.h"
+#import <ImageIO/ImageIO.h>
+#import <wtf/ListHashSet.h>
+#import <wtf/text/StringHash.h>
 
 #if PLATFORM(IOS_FAMILY)
-#include <MobileCoreServices/MobileCoreServices.h>
+#import <MobileCoreServices/MobileCoreServices.h>
 #endif
 
 namespace WebCore {
index 00f87c6..74b49c7 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ScrollSnapAnimatorState.h"
-#include <wtf/MathExtras.h>
+#import "config.h"
+#import "ScrollSnapAnimatorState.h"
 
 #if ENABLE(CSS_SCROLL_SNAP)
 
+#import <wtf/MathExtras.h>
+
 namespace WebCore {
 
 void ScrollSnapAnimatorState::transitionToSnapAnimationState(const FloatSize& contentSize, const FloatSize& viewportSize, float pageScale, const FloatPoint& initialOffset)
index d4c4f5a..db42efe 100644 (file)
@@ -22,8 +22,8 @@
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "SystemVersion.h"
+#import "config.h"
+#import "SystemVersion.h"
 
 namespace WebCore {
 
index c0df211..650c159 100644 (file)
  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
-#include "config.h"
-#include "GameControllerGamepad.h"
+#import "config.h"
+#import "GameControllerGamepad.h"
 
 #if ENABLE(GAMEPAD)
-#include "GameControllerGamepadProvider.h"
-#include <GameController/GameController.h>
+#import "GameControllerGamepadProvider.h"
+#import <GameController/GameController.h>
 
 namespace WebCore {
 
index c5e3280..8a6154f 100644 (file)
@@ -23,8 +23,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
-#include "AVTrackPrivateAVFObjCImpl.h"
+#import "config.h"
+#import "AVTrackPrivateAVFObjCImpl.h"
 
 #if ENABLE(VIDEO_TRACK)
 
index 8f847b8..b53ccf6 100644 (file)
@@ -37,8 +37,8 @@
 #import <wtf/text/WTFString.h>
 
 #if HAVE(MEDIA_ACCESSIBILITY_FRAMEWORK)
-#include <MediaAccessibility/MediaAccessibility.h>
-#include "MediaAccessibilitySoftLink.h"
+#import <MediaAccessibility/MediaAccessibility.h>
+#import "MediaAccessibilitySoftLink.h"
 #endif
 
 #import <pal/cocoa/AVFoundationSoftLink.h>
index eac444c..8278e06 100644 (file)
@@ -23,8 +23,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
-#include "MediaSourcePrivateAVFObjC.h"
+#import "config.h"
+#import "MediaSourcePrivateAVFObjC.h"
 
 #if ENABLE(MEDIA_SOURCE) && USE(AVFOUNDATION)
 
index 4805aaf..72c483d 100644 (file)
@@ -37,7 +37,7 @@
 #import <wtf/Logger.h>
 #import <wtf/MachSendRight.h>
 
-#include <pal/cocoa/AVFoundationSoftLink.h>
+#import <pal/cocoa/AVFoundationSoftLink.h>
 
 OBJC_CLASS AVPlayerLayer;
 
index 3b13a1f..6a0a8b7 100644 (file)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
+#import "config.h"
 #import "PlatformCALayerCocoa.h"
 
 #import "AnimationUtilities.h"
index b868e0d..c2f9444 100644 (file)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #import <QuartzCore/QuartzCore.h>
 
 @interface WebSystemBackdropLayer : CALayer
@@ -35,4 +33,3 @@
 
 @interface WebDarkSystemBackdropLayer : WebSystemBackdropLayer
 @end
-
index 9c8e34d..e36ec50 100644 (file)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#pragma once
-
 #import <QuartzCore/QuartzCore.h>
 
 namespace WebCore {
index 7501791..fbe17ca 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #import <QuartzCore/CALayer.h>
 #import <wtf/RetainPtr.h>
 
index f7c2454..e3497cd 100644 (file)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
+#import "config.h"
 
 #if ENABLE(GRAPHICS_CONTEXT_GL)
 #import "GraphicsContextGLOpenGL.h"
 #define GL_ANGLE_explicit_context
 #define GL_ANGLE_explicit_context_gles1
 typedef void* GLeglContext;
-#include <ANGLE/egl.h>
-#include <ANGLE/eglext.h>
-#include <ANGLE/eglext_angle.h>
-#include <ANGLE/entry_points_egl.h>
-#include <ANGLE/entry_points_egl_ext.h>
-#include <ANGLE/entry_points_gles_2_0_autogen.h>
-#include <ANGLE/entry_points_gles_ext_autogen.h>
-#include <ANGLE/gl2ext.h>
-#include <ANGLE/gl2ext_angle.h>
+#import <ANGLE/egl.h>
+#import <ANGLE/eglext.h>
+#import <ANGLE/eglext_angle.h>
+#import <ANGLE/entry_points_egl.h>
+#import <ANGLE/entry_points_egl_ext.h>
+#import <ANGLE/entry_points_gles_2_0_autogen.h>
+#import <ANGLE/entry_points_gles_ext_autogen.h>
+#import <ANGLE/gl2ext.h>
+#import <ANGLE/gl2ext_angle.h>
 #endif
 
 #if USE(OPENGL_ES) || USE(OPENGL)
-#include "ExtensionsGLOpenGL.h"
+#import "ExtensionsGLOpenGL.h"
 #elif USE(ANGLE)
-#include "ExtensionsGLANGLE.h"
+#import "ExtensionsGLANGLE.h"
 #endif
 
 #if PLATFORM(MAC)
index 196216d..80175dd 100644 (file)
@@ -28,7 +28,7 @@
 
 #if HAVE(IOSURFACE)
 
-#include <QuartzCore/QuartzCore.h>
+#import <QuartzCore/QuartzCore.h>
 
 namespace WebCore {
 
index d6dbf7d..51a13f1 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 
 #if (PLATFORM(IOS_FAMILY) || (PLATFORM(MAC) && ENABLE(VIDEO_PRESENTATION_MODE))) && ENABLE(VIDEO_TRACK)
-#include "TextTrackRepresentationCocoa.h"
+#import "TextTrackRepresentationCocoa.h"
 
-#include "FloatRect.h"
-#include "GraphicsContextCG.h"
-#include "IntRect.h"
+#import "FloatRect.h"
+#import "GraphicsContextCG.h"
+#import "IntRect.h"
 
 #if PLATFORM(IOS_FAMILY)
-#include "WebCoreThread.h"
-#include "WebCoreThreadRun.h"
+#import "WebCoreThread.h"
+#import "WebCoreThreadRun.h"
 #endif
 
 #import <pal/spi/cocoa/QuartzCoreSPI.h>
index 9d1f72f..cb4c82e 100644 (file)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#pragma once
-
 #import "IOSurface.h"
 #import "IntSize.h"
 #import <QuartzCore/QuartzCore.h>
index 38674ad..a7c50c7 100644 (file)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
+#import "config.h"
 
 #if ENABLE(WEBGL)
 #import "WebGLLayer.h"
 
 #if USE(ANGLE)
 #define EGL_EGL_PROTOTYPES 0
-#include <ANGLE/egl.h>
-#include <ANGLE/eglext.h>
-#include <ANGLE/eglext_angle.h>
-#include <ANGLE/entry_points_egl.h>
-#include <ANGLE/entry_points_gles_2_0_autogen.h>
+#import <ANGLE/egl.h>
+#import <ANGLE/eglext.h>
+#import <ANGLE/eglext_angle.h>
+#import <ANGLE/entry_points_egl.h>
+#import <ANGLE/entry_points_gles_2_0_autogen.h>
 // Skip the inclusion of ANGLE's explicit context entry points for now.
 #define GL_ANGLE_explicit_context
-#include <ANGLE/gl2ext.h>
-#include <ANGLE/gl2ext_angle.h>
+#import <ANGLE/gl2ext.h>
+#import <ANGLE/gl2ext_angle.h>
 #endif
 
 @implementation WebGLLayer
index 1bc7307..1a28f73 100644 (file)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if ENABLE(WEBGPU)
 
 #import <Metal/Metal.h>
index 41d54b0..5331935 100644 (file)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 #import "WebGPULayer.h"
 
 #if ENABLE(WEBGPU)
index 59057aa..9941353 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ImageRotationSessionVT.h"
+#import "config.h"
+#import "ImageRotationSessionVT.h"
 
-#include "AffineTransform.h"
-#include "MediaSample.h"
+#import "AffineTransform.h"
+#import "MediaSample.h"
 
-#include "CoreVideoSoftLink.h"
-#include "VideoToolboxSoftLink.h"
+#import "CoreVideoSoftLink.h"
+#import "VideoToolboxSoftLink.h"
 #import <pal/cf/CoreMediaSoftLink.h>
 
 #if USE(VIDEOTOOLBOX)
index d761cd1..136e9e0 100644 (file)
 #import <CoreMedia/CMFormatDescription.h>
 #import <CoreMedia/CMSampleBuffer.h>
 
-#import "CoreVideoSoftLink.h"
-#import <pal/cf/CoreMediaSoftLink.h>
-#import "VideoToolboxSoftLink.h"
-
 #if HAVE(IOSURFACE) && !PLATFORM(MACCATALYST)
-#include <pal/spi/cocoa/IOSurfaceSPI.h>
+#import <pal/spi/cocoa/IOSurfaceSPI.h>
 #endif
 
+#import "CoreVideoSoftLink.h"
+#import "VideoToolboxSoftLink.h"
+#import <pal/cf/CoreMediaSoftLink.h>
+
 namespace WebCore {
 using namespace PAL;
 
index ac71e13..cf0fb8e 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "TextureCacheCV.h"
+#import "config.h"
+#import "TextureCacheCV.h"
 
 #if HAVE(CORE_VIDEO)
 
-#include "GraphicsContextGLOpenGL.h"
+#import "GraphicsContextGLOpenGL.h"
 
-#include "CoreVideoSoftLink.h"
+#import "CoreVideoSoftLink.h"
 
 namespace WebCore {
 
index a9c743d..561ad52 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "GPUBuffer.h"
+#import "config.h"
+#import "GPUBuffer.h"
 
 #if ENABLE(WEBGPU)
 
index d7a0096..07a9a3f 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "GPUComputePassEncoder.h"
+#import "config.h"
+#import "GPUComputePassEncoder.h"
 
 #if ENABLE(WEBGPU)
 
-#include "GPUComputePipeline.h"
-#include "Logging.h"
-#include <Metal/Metal.h>
-#include <wtf/BlockObjCExceptions.h>
+#import "GPUComputePipeline.h"
+#import "Logging.h"
+#import <Metal/Metal.h>
+#import <wtf/BlockObjCExceptions.h>
 
 namespace WebCore {
 
index a434f85..07ade6b 100644 (file)
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ComplexTextController.h"
-
-#include "FontCache.h"
-#include "FontCascade.h"
-#include <pal/spi/cocoa/CoreTextSPI.h>
-#include <wtf/SoftLinking.h>
-#include <wtf/WeakPtr.h>
-#include <CoreText/CoreText.h>
+#import "config.h"
+#import "ComplexTextController.h"
+
+#import "FontCache.h"
+#import "FontCascade.h"
+#import <CoreText/CoreText.h>
+#import <pal/spi/cocoa/CoreTextSPI.h>
+#import <wtf/SoftLinking.h>
+#import <wtf/WeakPtr.h>
 
 namespace WebCore {
 
index ef7f1a3..442693e 100644 (file)
@@ -24,8 +24,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
-#include "FloatPoint.h"
+#import "config.h"
+#import "FloatPoint.h"
 
 #if !PLATFORM(IOS_FAMILY)
 
index f51baf3..f3660ae 100644 (file)
@@ -24,8 +24,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
  
-#include "config.h"
-#include "FloatSize.h"
+#import "config.h"
+#import "FloatSize.h"
 
 namespace WebCore {
 
index 47f72b1..4732d03 100644 (file)
@@ -23,8 +23,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
-#include "IntPoint.h"
+#import "config.h"
+#import "IntPoint.h"
 
 namespace WebCore {
 
index 636f734..64f0a1b 100644 (file)
@@ -23,8 +23,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
-#include "IntSize.h"
+#import "config.h"
+#import "IntSize.h"
 
 namespace WebCore {
 
index d80cc8d..ed47824 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#pragma once
-
 #include <QuartzCore/QuartzCore.h>
 
-#ifdef __OBJC__
 @interface WebSimpleLayer : CALayer {
     BOOL _isRenderingInContext;
 }
@@ -36,5 +33,3 @@
 
 @interface WebLayer : WebSimpleLayer
 @end
-#endif
-
index 7f9d8e1..ce7abd7 100644 (file)
@@ -23,7 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
+#import "config.h"
 #import "WebLayer.h"
 
 #import "GraphicsContext.h"
index b3a2027..852bb4b 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LegacyTileCache.h"
+#import "config.h"
+#import "LegacyTileCache.h"
 
 #if PLATFORM(IOS_FAMILY)
 
-#include "FontAntialiasingStateSaver.h"
-#include "LegacyTileGrid.h"
-#include "LegacyTileGridTile.h"
-#include "LegacyTileLayer.h"
-#include "LegacyTileLayerPool.h"
-#include "Logging.h"
-#include "SystemMemory.h"
-#include "WAKWindow.h"
-#include "WKGraphics.h"
-#include "WebCoreThreadRun.h"
-#include <CoreText/CoreText.h>
-#include <pal/spi/cocoa/QuartzCoreSPI.h>
-#include <wtf/MemoryPressureHandler.h>
-#include <wtf/RAMSize.h>
+#import "FontAntialiasingStateSaver.h"
+#import "LegacyTileGrid.h"
+#import "LegacyTileGridTile.h"
+#import "LegacyTileLayer.h"
+#import "LegacyTileLayerPool.h"
+#import "Logging.h"
+#import "SystemMemory.h"
+#import "WAKWindow.h"
+#import "WKGraphics.h"
+#import "WebCoreThreadRun.h"
+#import <CoreText/CoreText.h>
+#import <pal/spi/cocoa/QuartzCoreSPI.h>
+#import <wtf/MemoryPressureHandler.h>
+#import <wtf/RAMSize.h>
 
 @interface WAKView (WebViewExtras)
 - (void)_dispatchTileDidDraw:(CALayer*)tile;
index 5d3cbcb..58e6763 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LegacyTileGrid.h"
+#import "config.h"
+#import "LegacyTileGrid.h"
 
 #if PLATFORM(IOS_FAMILY)
 
-#include "LegacyTileGridTile.h"
-#include "LegacyTileLayer.h"
-#include "LegacyTileLayerPool.h"
-#include "SystemMemory.h"
-#include "WAKWindow.h"
-#include <algorithm>
-#include <functional>
-#include <pal/spi/cg/CoreGraphicsSPI.h>
-#include <pal/spi/cocoa/QuartzCoreSPI.h>
-#include <wtf/MemoryPressureHandler.h>
+#import "LegacyTileGridTile.h"
+#import "LegacyTileLayer.h"
+#import "LegacyTileLayerPool.h"
+#import "SystemMemory.h"
+#import "WAKWindow.h"
+#import <algorithm>
+#import <functional>
+#import <pal/spi/cg/CoreGraphicsSPI.h>
+#import <pal/spi/cocoa/QuartzCoreSPI.h>
+#import <wtf/MemoryPressureHandler.h>
 
 namespace WebCore {
 
index bb9a4e2..78c4980 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LegacyTileGridTile.h"
+#import "config.h"
+#import "LegacyTileGridTile.h"
 
 #if PLATFORM(IOS_FAMILY)
 
-#include "Color.h"
-#include "IOSurface.h"
-#include "LegacyTileCache.h"
-#include "LegacyTileGrid.h"
-#include "LegacyTileLayer.h"
-#include "LegacyTileLayerPool.h"
-#include "PlatformScreen.h"
-#include "WAKWindow.h"
-#include <algorithm>
-#include <functional>
-#include <pal/spi/cocoa/QuartzCoreSPI.h>
+#import "Color.h"
+#import "IOSurface.h"
+#import "LegacyTileCache.h"
+#import "LegacyTileGrid.h"
+#import "LegacyTileLayer.h"
+#import "LegacyTileLayerPool.h"
+#import "PlatformScreen.h"
+#import "WAKWindow.h"
+#import <algorithm>
+#import <functional>
+#import <pal/spi/cocoa/QuartzCoreSPI.h>
 
 namespace WebCore {
 
index c80b6a5..a5ca1aa 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if PLATFORM(IOS_FAMILY)
 
-#include <QuartzCore/CALayer.h>
+#import <QuartzCore/CALayer.h>
 
 namespace WebCore {
 class LegacyTileGrid;
-};
+}
 
 @interface LegacyTileLayer : CALayer {
     WebCore::LegacyTileGrid* _tileGrid;
@@ -50,4 +48,3 @@ class LegacyTileGrid;
 @end
 
 #endif // PLATFORM(IOS_FAMILY)
-
index 20ffc0c..d7a99f7 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LegacyTileLayer.h"
+#import "config.h"
+#import "LegacyTileLayer.h"
 
 #if PLATFORM(IOS_FAMILY)
 
-#include "LegacyTileCache.h"
-#include "LegacyTileGrid.h"
-#include "WebCoreThread.h"
-#include <wtf/SetForScope.h>
+#import "LegacyTileCache.h"
+#import "LegacyTileGrid.h"
+#import "WebCoreThread.h"
+#import <wtf/SetForScope.h>
 
 using WebCore::LegacyTileCache;
 @implementation LegacyTileHostLayer
index a951192..ac8c648 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LegacyTileLayerPool.h"
+#import "config.h"
+#import "LegacyTileLayerPool.h"
 
 #if PLATFORM(IOS_FAMILY)
 
-#include "LegacyTileLayer.h"
-#include "LegacyTileGrid.h"
-#include "Logging.h"
-#include <wtf/MemoryPressureHandler.h>
-#include <wtf/NeverDestroyed.h>
+#import "LegacyTileGrid.h"
+#import "LegacyTileLayer.h"
+#import "Logging.h"
+#import <wtf/MemoryPressureHandler.h>
+#import <wtf/NeverDestroyed.h>
 
 namespace WebCore {
 
index 4fbcadc..763664c 100644 (file)
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LocalCurrentTraitCollection.h"
+#import "config.h"
+#import "LocalCurrentTraitCollection.h"
 
 #if PLATFORM(IOS_FAMILY)
 
-#include <pal/ios/UIKitSoftLink.h>
+#import <pal/ios/UIKitSoftLink.h>
 
 namespace WebCore {
 
index 87e469c..71066fb 100644 (file)
@@ -23,8 +23,8 @@
 * THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#include "config.h"
-#include "LocalizedDeviceModel.h"
+#import "config.h"
+#import "LocalizedDeviceModel.h"
 
 #if PLATFORM(IOS_FAMILY)
 
index ea5f2ca..c6abec7 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
-#include "ScrollbarThemeIOS.h"
+#import "config.h"
+#import "ScrollbarThemeIOS.h"
 
 #if PLATFORM(IOS_FAMILY)
 
-#include "GraphicsContext.h"
-#include "IntRect.h"
-#include "PlatformMouseEvent.h"
-#include "Scrollbar.h"
-#include <wtf/NeverDestroyed.h>
-#include <wtf/StdLibExtras.h>
+#import "GraphicsContext.h"
+#import "IntRect.h"
+#import "PlatformMouseEvent.h"
+#import "Scrollbar.h"
+#import <wtf/NeverDestroyed.h>
+#import <wtf/StdLibExtras.h>
 
 namespace WebCore {
 
index c7e7e3e..b643e45 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#pragma once
-
-#import <CoreLocation/CoreLocation.h>
-#import <wtf/HashCountedSet.h>
-#import <wtf/WeakHashSet.h>
-
 #if PLATFORM(IOS_FAMILY) && ENABLE(DEVICE_ORIENTATION)
 
+#import <CoreLocation/CoreLocation.h>
 #import <CoreMotion/CoreMotion.h>
+#import <wtf/WeakHashSet.h>
 
-const float kMotionUpdateInterval = 1.0f / 60.0f;
+constexpr float kMotionUpdateInterval = 1.0f / 60.0f;
 
 namespace WebCore {
 class DeviceMotionClientIOS;
 class MotionManagerClient;
-};
+}
 
 WEBCORE_EXPORT @interface WebCoreMotionManager : NSObject {
     CMMotionManager* m_motionManager;
index b816308..a526ca4 100644 (file)
@@ -23,7 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
 #import "WebItemProviderPasteboard.h"
 
 #if ENABLE(DATA_INTERACTION)
index a07ed1d..b4e1ab7 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-
-#pragma once
-
 #if PLATFORM(IOS_FAMILY)
 
 #import <WebCore/HTMLMediaElementEnums.h>
 #import <wtf/NakedPtr.h>
 
-OBJC_CLASS UIView;
+@class UIView;
 
 namespace WebCore {
 class HTMLVideoElement;
@@ -46,4 +43,3 @@ WEBCORE_EXPORT @interface WebVideoFullscreenController : NSObject
 @end
 
 #endif
-
index 980844b..7244535 100644 (file)
  * Boston, MA 02110-1301, USA.
  */
 
-#include "config.h"
-#include "LocalCurrentGraphicsContext.h"
+#import "config.h"
+#import "LocalCurrentGraphicsContext.h"
 
 #if USE(APPKIT)
 
-#include <AppKit/NSGraphicsContext.h>
+#import <AppKit/NSGraphicsContext.h>
 
 namespace WebCore {
 
index f645fb7..78eff24 100644 (file)
  * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LocalDefaultSystemAppearance.h"
+#import "config.h"
+#import "LocalDefaultSystemAppearance.h"
 
 #if USE(APPKIT)
 
-#include <AppKit/NSAppearance.h>
+#import <AppKit/NSAppearance.h>
 
 namespace WebCore {
 
index 3b75910..e3dc12f 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#include "config.h"
-#include "Logging.h"
+#import "config.h"
+#import "Logging.h"
 
-#include <wtf/text/WTFString.h>
+#import <wtf/text/WTFString.h>
 
 #if !LOG_DISABLED || !RELEASE_LOG_DISABLED
 
index e286dd7..4df3d95 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "PlatformEventFactoryMac.h"
+#import "config.h"
+#import "PlatformEventFactoryMac.h"
 
 #if PLATFORM(MAC)
 
index e06050d..c7cb132 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "RemoteCommandListenerMac.h"
+#import "config.h"
+#import "RemoteCommandListenerMac.h"
 
 #if PLATFORM(MAC)
 
index a415254..a277efc 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
+#import "config.h"
+#import "ScrollAnimatorMac.h"
 
 #if ENABLE(SMOOTH_SCROLLING)
 
-#include "ScrollAnimatorMac.h"
-
-#include "FloatPoint.h"
-#include "GraphicsLayer.h"
-#include "Logging.h"
-#include "NSScrollerImpDetails.h"
-#include "PlatformWheelEvent.h"
-#include "ScrollView.h"
-#include "ScrollableArea.h"
-#include "ScrollbarTheme.h"
-#include "ScrollbarThemeMac.h"
-#include <pal/spi/mac/NSScrollerImpSPI.h>
-#include <wtf/BlockObjCExceptions.h>
-#include <wtf/NakedPtr.h>
-#include <wtf/text/TextStream.h>
+#import "FloatPoint.h"
+#import "GraphicsLayer.h"
+#import "Logging.h"
+#import "NSScrollerImpDetails.h"
+#import "PlatformWheelEvent.h"
+#import "ScrollView.h"
+#import "ScrollableArea.h"
+#import "ScrollbarTheme.h"
+#import "ScrollbarThemeMac.h"
+#import <pal/spi/mac/NSScrollerImpSPI.h>
+#import <wtf/BlockObjCExceptions.h>
+#import <wtf/NakedPtr.h>
+#import <wtf/text/TextStream.h>
 
 namespace WebCore {
 
index 3bacb9b..26ede32 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "SerializedPlatformDataCueMac.h"
+#import "config.h"
+#import "SerializedPlatformDataCueMac.h"
 
 #if ENABLE(VIDEO_TRACK) && ENABLE(DATACUE_VALUE)
 
index dc9e971..c0cd523 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "WebCoreFullScreenPlaceholderView.h"
+#import "config.h"
+#import "WebCoreFullScreenPlaceholderView.h"
 
 #if PLATFORM(MAC)
 
-#include "LocalizedStrings.h"
-#include "WebCoreFullScreenWarningView.h"
-#include <wtf/text/WTFString.h>
+#import "LocalizedStrings.h"
+#import "WebCoreFullScreenWarningView.h"
+#import <wtf/text/WTFString.h>
 
 @implementation WebCoreFullScreenPlaceholderView
 
index 0eae984..5364205 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#if !PLATFORM(IOS_FAMILY)
+#if PLATFORM(MAC) && ENABLE(FULLSCREEN_API)
 
-#ifndef WebCoreFullScreenWarningView_h
-#define WebCoreFullScreenWarningView_h
+#import <wtf/RetainPtr.h>
 
-#if ENABLE(FULLSCREEN_API)
-
-#include <wtf/RetainPtr.h>
-
-WEBCORE_EXPORT @interface  WebCoreFullScreenWarningView : NSBox {
+WEBCORE_EXPORT @interface WebCoreFullScreenWarningView : NSBox {
 @private
     RetainPtr<NSTextField> _textField;
 }
@@ -40,7 +35,3 @@ WEBCORE_EXPORT @interface  WebCoreFullScreenWarningView : NSBox {
 @end
 
 #endif
-
-#endif // WebCoreFullScreenWarningView_h
-
-#endif // !PLATFORM(IOS_FAMILY)
index 133dc57..5a26191 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#if !PLATFORM(IOS_FAMILY)
+#import "config.h"
+#import "WebCoreFullScreenWarningView.h"
 
-#include "WebCoreFullScreenWarningView.h"
+#if PLATFORM(MAC) && ENABLE(FULLSCREEN_API)
 
-#include "LocalizedStrings.h"
-#include <wtf/text/WTFString.h>
+#import "LocalizedStrings.h"
+#import <wtf/text/WTFString.h>
 
 static const CGFloat WarningViewTextWhite = 0.9;
 static const CGFloat WarningViewTextAlpha = 1;
@@ -106,4 +106,4 @@ static const CGFloat WarningViewShadowRadius = 5;
 }
 @end
 
-#endif // !PLATFORM(IOS_FAMILY)
+#endif // PLATFORM(MAC) && ENABLE(FULLSCREEN_API)
index 6297b0d..5530fd0 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
-#if !PLATFORM(IOS_FAMILY)
+#if PLATFORM(MAC)
 
 WEBCORE_EXPORT @interface WebCoreFullScreenWindow : NSWindow
 @end
 
-#endif // PLATFORM(IOS_FAMILY)
+#endif
index bff7401..64bc6cc 100644 (file)
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "WebCoreObjCExtras.h"
+#import "config.h"
+#import "WebCoreObjCExtras.h"
 
-#include <utility>
-#include <wtf/Assertions.h>
-#include <wtf/MainThread.h>
-#include <wtf/ObjCRuntimeExtras.h>
-#include <wtf/Threading.h>
+#import <utility>
+#import <wtf/Assertions.h>
+#import <wtf/MainThread.h>
+#import <wtf/ObjCRuntimeExtras.h>
+#import <wtf/Threading.h>
 
 bool WebCoreObjCScheduleDeallocateOnMainThread(Class cls, id object)
 {
index 44ffdc0..de1072a 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "MediaRecorderPrivateWriterCocoa.h"
+#import "config.h"
+#import "MediaRecorderPrivateWriterCocoa.h"
 
 #if ENABLE(MEDIA_STREAM) && USE(AVFOUNDATION)
 
-#include "AudioStreamDescription.h"
-#include "Logging.h"
-#include "MediaStreamTrackPrivate.h"
-#include "WebAudioBufferList.h"
-#include <AVFoundation/AVAssetWriter.h>
-#include <AVFoundation/AVAssetWriterInput.h>
-#include <pal/cf/CoreMediaSoftLink.h>
-#include <wtf/CompletionHandler.h>
-#include <wtf/FileSystem.h>
+#import "AudioStreamDescription.h"
+#import "Logging.h"
+#import "MediaStreamTrackPrivate.h"
+#import "WebAudioBufferList.h"
+#import <AVFoundation/AVAssetWriter.h>
+#import <AVFoundation/AVAssetWriterInput.h>
+#import <wtf/CompletionHandler.h>
+#import <wtf/FileSystem.h>
 
+#import <pal/cf/CoreMediaSoftLink.h>
 #import <pal/cocoa/AVFoundationSoftLink.h>
 
 #undef AVEncoderBitRateKey
index 96a0d9e..c881eb7 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "MediaSessionInterruptionProviderMac.h"
+#import "config.h"
+#import "MediaSessionInterruptionProviderMac.h"
 
 #if ENABLE(MEDIA_SESSION) && PLATFORM(MAC)
 
-#include <CoreFoundation/CoreFoundation.h>
+#import <CoreFoundation/CoreFoundation.h>
 
 namespace WebCore {
 
index 88c715b..fc41803 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "AVAudioSessionCaptureDevice.h"
+#import "config.h"
+#import "AVAudioSessionCaptureDevice.h"
 
 #if ENABLE(MEDIA_STREAM) && PLATFORM(IOS_FAMILY)
 
-#include <AVFoundation/AVAudioSession.h>
+#import <AVFoundation/AVAudioSession.h>
 
 namespace WebCore {
 
index aca4c73..8d97041 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "CoreAudioCaptureSourceIOS.h"
+#import "config.h"
+#import "CoreAudioCaptureSourceIOS.h"
 
 #if ENABLE(MEDIA_STREAM) && PLATFORM(IOS_FAMILY)
 
index 06b84da..1081cde 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "RealtimeIncomingVideoSourceCocoa.h"
+#import "config.h"
+#import "RealtimeIncomingVideoSourceCocoa.h"
 
 #if USE(LIBWEBRTC)
 
-#include "Logging.h"
-#include "MediaSampleAVFObjC.h"
-#include "RealtimeVideoUtilities.h"
-#include <pal/cf/CoreMediaSoftLink.h>
+#import "Logging.h"
+#import "MediaSampleAVFObjC.h"
+#import "RealtimeVideoUtilities.h"
+#import <wtf/cf/TypeCastsCF.h>
 
 ALLOW_UNUSED_PARAMETERS_BEGIN
-
-#include <webrtc/sdk/WebKit/WebKitUtilities.h>
-
+#import <webrtc/sdk/WebKit/WebKitUtilities.h>
 ALLOW_UNUSED_PARAMETERS_END
 
-#include <wtf/cf/TypeCastsCF.h>
+#import <pal/cf/CoreMediaSoftLink.h>
 
 namespace WebCore {
 using namespace PAL;
index 0aa220a..952f292 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "RealtimeMediaSourceCenter.h"
+#import "config.h"
+#import "RealtimeMediaSourceCenter.h"
 
 #if ENABLE(MEDIA_STREAM)
 
index 9af48fb..254cae4 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "RealtimeVideoUtilities.h"
+#import "config.h"
+#import "RealtimeVideoUtilities.h"
 
-#include "CoreVideoSoftLink.h"
+#import "CoreVideoSoftLink.h"
 
 namespace WebCore {
 
index 538eff9..0fef403 100644 (file)
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ScreenDisplayCaptureSourceMac.h"
+#import "config.h"
+#import "ScreenDisplayCaptureSourceMac.h"
 
 #if ENABLE(MEDIA_STREAM) && PLATFORM(MAC)
 
-#include "GraphicsContextCG.h"
-#include "ImageBuffer.h"
-#include "Logging.h"
-#include "MediaConstraints.h"
-#include "MediaSampleAVFObjC.h"
-#include "NotImplemented.h"
-#include "PlatformLayer.h"
-#include "PlatformScreen.h"
-#include "RealtimeMediaSourceSettings.h"
-#include "RealtimeVideoUtilities.h"
-
-#include "CoreVideoSoftLink.h"
+#import "GraphicsContextCG.h"
+#import "ImageBuffer.h"
+#import "Logging.h"
+#import "MediaConstraints.h"
+#import "MediaSampleAVFObjC.h"
+#import "NotImplemented.h"
+#import "PlatformLayer.h"
+#import "PlatformScreen.h"
+#import "RealtimeMediaSourceSettings.h"
+#import "RealtimeVideoUtilities.h"
+
+#import "CoreVideoSoftLink.h"
 
 extern "C" {
 size_t CGDisplayModeGetPixelsWide(CGDisplayModeRef);
index e57fdd4..c5ed171 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "CertificateInfo.h"
+#import "config.h"
+#import "CertificateInfo.h"
 
 namespace WebCore {
 
index 6df8d48..86a8e54 100644 (file)
@@ -23,8 +23,6 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
 
-#pragma once
-
 #import "SecurityOrigin.h"
 #import <Foundation/NSURLSession.h>
 #import <wtf/HashSet.h>
index 114bbd0..5ec777a 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "BlobDataFileReference.h"
+#import "config.h"
+#import "BlobDataFileReference.h"
 
 #if ENABLE(FILE_REPLACEMENT)
 
-#include <wtf/FileMetadata.h>
-#include <wtf/FileSystem.h>
-#include <wtf/text/CString.h>
+#import <wtf/FileMetadata.h>
+#import <wtf/FileSystem.h>
+#import <wtf/text/CString.h>
 
 namespace WebCore {
 
index a1c508a..0eacade 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "CredentialStorage.h"
+#import "config.h"
+#import "CredentialStorage.h"
 
-#include "AuthenticationMac.h"
-#include "Credential.h"
-#include "ProtectionSpace.h"
+#import "AuthenticationMac.h"
+#import "Credential.h"
+#import "ProtectionSpace.h"
 
 namespace WebCore {
 
index 65f76df..45e53f5 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "SynchronousLoaderClient.h"
+#import "config.h"
+#import "SynchronousLoaderClient.h"
 
-#include "AuthenticationChallenge.h"
+#import "AuthenticationChallenge.h"
 
 namespace WebCore {
 
index 906da88..622e769 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
-#include <dispatch/dispatch.h>
-#include <wtf/Function.h>
-#include <wtf/Lock.h>
-#include <wtf/MessageQueue.h>
-#include <wtf/RefPtr.h>
-#include <wtf/RetainPtr.h>
-#include <wtf/SchedulePair.h>
-#include <wtf/threads/BinarySemaphore.h>
+#import <dispatch/dispatch.h>
+#import <wtf/Function.h>
+#import <wtf/Lock.h>
+#import <wtf/MessageQueue.h>
+#import <wtf/RefPtr.h>
+#import <wtf/RetainPtr.h>
+#import <wtf/SchedulePair.h>
+#import <wtf/threads/BinarySemaphore.h>
 
 namespace WebCore {
 class ResourceHandle;
index ef2d815..df540b8 100644 (file)
@@ -28,8 +28,8 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LocaleCocoa.h"
+#import "config.h"
+#import "LocaleCocoa.h"
 
 #import "LocalizedStrings.h"
 #import <Foundation/NSDateFormatter.h>
index fe9b1d1..d16080f 100644 (file)
@@ -23,8 +23,8 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ServiceWorkerInternals.h"
+#import "config.h"
+#import "ServiceWorkerInternals.h"
 
 #if ENABLE(SERVICE_WORKER)
 
index 853b004..a85afc1 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
-#if PLATFORM(COCOA)
-
 #if USE(APPKIT)
-#include <AppKit/AppKit.h>
+#import <AppKit/AppKit.h>
 #else
-#include <UIKit/UIKit.h>
+#import <UIKit/UIKit.h>
 #endif
 
-#include <WebCore/PlatformView.h>
+#import <WebCore/PlatformView.h>
 
 WEBCORE_EXPORT
 @interface WebViewVisualIdentificationOverlay : NSObject
@@ -41,5 +37,3 @@ WEBCORE_EXPORT
 + (void)installForWebViewIfNeeded:(PlatformView *)view kind:(NSString *)kind deprecated:(BOOL)isDeprecated;
 
 @end
-
-#endif // PLATFORM(COCOA)
index 728e552..bfa39e5 100644 (file)
@@ -1,3 +1,126 @@
+2020-04-20  Darin Adler  <darin@apple.com>
+
+        Use #import instead of #include in Objective-C and don't use #pragma once
+        https://bugs.webkit.org/show_bug.cgi?id=210724
+
+        Reviewed by David Kilzer.
+
+        * mac/MigrateHeadersFromWebKitLegacy.make: Delete stale MemoryMeasure.h
+        forwarding header from incremental WebKit builds and ignore when generating
+        new forwarding headers.
+
+        * Platform/foundation/LoggingFoundation.mm:
+        (WebKit::logLevelString): Use string directly instead of a named constant.
+
+        * UIProcess/mac/WebColorPickerMac.h: Mark class final.
+
+        * GPUProcess/webrtc/LibWebRTCCodecsProxy.mm:
+        * NetworkProcess/WebStorage/ios/LocalStorageDatabaseTrackerIOS.mm:
+        * NetworkProcess/cache/NetworkCacheDataCocoa.mm:
+        * NetworkProcess/cache/NetworkCacheIOChannelCocoa.mm:
+        * NetworkProcess/cocoa/NetworkActivityTrackerCocoa.mm:
+        * NetworkProcess/cocoa/NetworkSessionCocoa.mm:
+        * NetworkProcess/webrtc/NetworkRTCProvider.mm:
+        * Platform/spi/Cocoa/DeviceManagementSPI.h:
+        * Platform/spi/Cocoa/LocalAuthenticationSPI.h:
+        * Platform/spi/Cocoa/NearFieldSPI.h:
+        * Platform/spi/Cocoa/SafeBrowsingSPI.h:
+        * Platform/spi/mac/AppKitSPI.h:
+        * Shared/API/Cocoa/RemoteObjectInvocation.mm:
+        * Shared/API/Cocoa/WKMain.mm:
+        * Shared/APIWebArchive.mm:
+        * Shared/APIWebArchiveResource.mm:
+        * Shared/Authentication/cocoa/AuthenticationChallengeDispositionCocoa.mm:
+        * Shared/Cocoa/LoadParametersCocoa.mm:
+        * Shared/Cocoa/SandboxInitialiationParametersCocoa.mm:
+        * Shared/Cocoa/WKNSData.mm:
+        * Shared/DocumentEditingContext.mm:
+        * Shared/Plugins/mac/PluginSandboxProfile.mm:
+        * Shared/RemoteLayerTree/WKAnimationDelegate.h:
+        * Shared/UserInterfaceIdiom.mm:
+        * Shared/ios/WebIconUtilities.mm:
+        * Shared/mac/CodeSigning.mm:
+        * Shared/mac/ColorSpaceData.mm:
+        * Shared/mac/HangDetectionDisablerMac.mm:
+        * Shared/mac/PDFKitImports.mm:
+        * UIProcess/API/Cocoa/APIContentRuleListStoreCocoa.mm:
+        * UIProcess/API/Cocoa/APIHTTPCookieStoreCocoa.mm:
+        * UIProcess/API/Cocoa/APISerializedScriptValueCocoa.mm:
+        * UIProcess/API/Cocoa/WKContentRuleList.mm:
+        * UIProcess/API/Cocoa/WKMenuItemIdentifiers.mm:
+        * UIProcess/API/Cocoa/WKNavigationActionPrivate.h:
+        * UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.mm:
+        * UIProcess/API/Cocoa/WKWebViewInternal.h:
+        * UIProcess/API/Cocoa/WKWebpagePreferencesInternal.h:
+        * UIProcess/API/Cocoa/_WKApplicationManifest.h:
+        * UIProcess/API/Cocoa/_WKAttachment.h:
+        * UIProcess/API/Cocoa/_WKResourceLoadInfoInternal.h:
+        * UIProcess/API/Cocoa/_WKResourceLoadStatisticsFirstPartyInternal.h:
+        * UIProcess/API/Cocoa/_WKResourceLoadStatisticsThirdPartyInternal.h:
+        * UIProcess/API/Cocoa/_WKTextManipulationExclusionRule.mm:
+        * UIProcess/API/Cocoa/_WKUserContentFilter.mm:
+        * UIProcess/API/Cocoa/_WKWebAuthenticationAssertionResponseInternal.h:
+        * UIProcess/API/Cocoa/_WKWebAuthenticationPanelInternal.h:
+        * UIProcess/API/Cocoa/_WKWebsiteDataStoreDelegate.h:
+        * UIProcess/Authentication/mac/WebCredentialMac.mm:
+        * UIProcess/Automation/cocoa/WebAutomationSessionCocoa.mm:
+        * UIProcess/Cocoa/IconLoadingDelegate.mm:
+        * UIProcess/Cocoa/MediaUtilities.mm:
+        * UIProcess/Cocoa/PreferenceObserver.h:
+        * UIProcess/Cocoa/PreferenceObserver.mm:
+        * UIProcess/Cocoa/SOAuthorization/NavigationSOAuthorizationSession.mm:
+        * UIProcess/Cocoa/SOAuthorization/SOAuthorizationNSURLExtras.h:
+        * UIProcess/Cocoa/SOAuthorization/SOAuthorizationSession.mm:
+        * UIProcess/Cocoa/SOAuthorization/WKSOAuthorizationDelegate.h:
+        * UIProcess/Cocoa/WKEditCommand.h:
+        * UIProcess/Cocoa/WKFullKeyboardAccessWatcher.h:
+        * UIProcess/Cocoa/WebPageProxyCocoa.mm:
+        * UIProcess/Gamepad/cocoa/UIGamepadProviderCocoa.mm:
+        * UIProcess/Inspector/mac/WKInspectorViewController.h:
+        * UIProcess/Inspector/mac/WKInspectorWKWebView.h:
+        * UIProcess/RemoteLayerTree/ios/RemoteLayerTreeViews.h:
+        * UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.h:
+        * UIProcess/RemoteLayerTree/mac/ScrollerMac.mm:
+        * UIProcess/RemoteLayerTree/mac/ScrollerPairMac.mm:
+        * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm:
+        * UIProcess/WebAuthentication/Cocoa/WKNFReaderSessionDelegate.h:
+        * UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm:
+        * UIProcess/ios/WKDeferringGestureRecognizer.h:
+        * UIProcess/ios/WKHighlightLongPressGestureRecognizer.h:
+        * UIProcess/ios/WebDataListSuggestionsDropdownIOS.h:
+        * UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm:
+        * UIProcess/ios/forms/WKDatePickerViewController.h:
+        * UIProcess/ios/forms/WKDatePickerViewController.mm:
+        * UIProcess/ios/forms/WKFocusedFormControlView.h:
+        * UIProcess/ios/forms/WKFocusedFormControlView.mm:
+        * UIProcess/ios/forms/WKFormColorPicker.mm:
+        * UIProcess/ios/forms/WKNumberPadViewController.h:
+        * UIProcess/ios/forms/WKNumberPadViewController.mm:
+        * UIProcess/ios/forms/WKQuickboardListViewController.h:
+        * UIProcess/ios/forms/WKQuickboardListViewController.mm:
+        * UIProcess/ios/forms/WKSelectMenuListViewController.h:
+        * UIProcess/ios/forms/WKTimePickerViewController.h:
+        * UIProcess/ios/forms/WKTimePickerViewController.mm:
+        * UIProcess/ios/fullscreen/WKFullScreenViewController.h:
+        * UIProcess/ios/fullscreen/WKFullscreenStackView.h:
+        * UIProcess/ios/fullscreen/WKFullscreenStackView.mm:
+        * UIProcess/mac/PageClientImplMac.mm:
+        * UIProcess/mac/WKSharingServicePickerDelegate.h:
+        * WebProcess/GPU/media/cocoa/MediaPlayerPrivateRemoteCocoa.mm:
+        * WebProcess/GPU/media/cocoa/VideoLayerRemoteCocoa.h:
+        * WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm:
+        * WebProcess/WebCoreSupport/mac/WebFrameNetworkingContext.mm:
+        * WebProcess/WebPage/RemoteLayerTree/PlatformCAAnimationRemote.mm:
+        * WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemote.cpp:
+        * WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteCustom.mm:
+        * WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteTiledBacking.cpp:
+        * WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.h:
+        * WebProcess/WebPage/mac/PageBannerMac.mm:
+        * WebProcess/WebPage/mac/WKAccessibilityWebPageObjectBase.h:
+        * WebProcess/WebPage/mac/WKAccessibilityWebPageObjectMac.h:
+        * WebProcess/cocoa/WebProcessCocoa.mm:
+        More #import, less #pragma once.
+
 2020-04-20  Pablo Saavedra  <psaavedra@igalia.com>
 
         [GTK][WPE] lowWatermarkPages() in MemoryPressureMonitor.cpp only searches the "low" value inside the first "Node" section
index fc97284..9258985 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LibWebRTCCodecsProxy.h"
+#import "config.h"
+#import "LibWebRTCCodecsProxy.h"
 
 #if USE(LIBWEBRTC) && PLATFORM(COCOA) && ENABLE(GPU_PROCESS)
 
-#include "DataReference.h"
-#include "GPUConnectionToWebProcess.h"
-#include "LibWebRTCCodecsMessages.h"
-#include "WebCoreArgumentCoders.h"
-#include <WebCore/LibWebRTCMacros.h>
-#include <WebCore/RemoteVideoSample.h>
-#include <webrtc/sdk/WebKit/WebKitDecoder.h>
-#include <webrtc/sdk/WebKit/WebKitEncoder.h>
-#include <wtf/MediaTime.h>
+#import "DataReference.h"
+#import "GPUConnectionToWebProcess.h"
+#import "LibWebRTCCodecsMessages.h"
+#import "WebCoreArgumentCoders.h"
+#import <WebCore/LibWebRTCMacros.h>
+#import <WebCore/RemoteVideoSample.h>
+#import <webrtc/sdk/WebKit/WebKitDecoder.h>
+#import <webrtc/sdk/WebKit/WebKitEncoder.h>
+#import <wtf/MediaTime.h>
 
 namespace WebKit {
 
index a7e69bb..10c1788 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LocalStorageDatabaseTracker.h"
+#import "config.h"
+#import "LocalStorageDatabaseTracker.h"
 
 #if PLATFORM(IOS_FAMILY)
 
-#include "VersionChecks.h"
+#import "VersionChecks.h"
 
 namespace WebKit {
 
index cb4ac38..5bfff41 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "NetworkCacheData.h"
+#import "config.h"
+#import "NetworkCacheData.h"
 
-#include "SharedMemory.h"
-#include <dispatch/dispatch.h>
-#include <sys/mman.h>
-#include <sys/stat.h>
+#import "SharedMemory.h"
+#import <dispatch/dispatch.h>
+#import <sys/mman.h>
+#import <sys/stat.h>
 
 namespace WebKit {
 namespace NetworkCache {
index 350cd2e..993039d 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "NetworkCacheIOChannel.h"
+#import "config.h"
+#import "NetworkCacheIOChannel.h"
 
-#include "NetworkCacheFileSystem.h"
-#include <dispatch/dispatch.h>
-#include <mach/vm_param.h>
-#include <sys/mman.h>
-#include <sys/stat.h>
-#include <wtf/BlockPtr.h>
-#include <wtf/text/CString.h>
+#import "NetworkCacheFileSystem.h"
+#import <dispatch/dispatch.h>
+#import <mach/vm_param.h>
+#import <sys/mman.h>
+#import <sys/stat.h>
+#import <wtf/BlockPtr.h>
+#import <wtf/text/CString.h>
 
 namespace WebKit {
 namespace NetworkCache {
index 32901c5..a6814a9 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "NetworkActivityTracker.h"
+#import "config.h"
+#import "NetworkActivityTracker.h"
 
 #if HAVE(NW_ACTIVITY)
 
index 59017b1..fa46390 100644 (file)
@@ -59,7 +59,7 @@
 #import <wtf/text/WTFString.h>
 
 #if USE(APPLE_INTERNAL_SDK)
-#include <WebKitAdditions/NetworkSessionCocoaAdditions.h>
+#import <WebKitAdditions/NetworkSessionCocoaAdditions.h>
 #else
 #define NETWORK_SESSION_COCOA_ADDITIONS_1
 #endif
index 54293c0..6b5f583 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "NetworkRTCProvider.h"
+#import "config.h"
+#import "NetworkRTCProvider.h"
 
 #if USE(LIBWEBRTC)
 
-#include "NetworkSessionCocoa.h"
-#include <WebCore/LibWebRTCMacros.h>
-#include <webrtc/rtc_base/async_packet_socket.h>
-#include <webrtc/rtc_base/logging.h>
-#include <wtf/RetainPtr.h>
+#import "NetworkSessionCocoa.h"
+#import <WebCore/LibWebRTCMacros.h>
+#import <webrtc/rtc_base/async_packet_socket.h>
+#import <webrtc/rtc_base/logging.h>
+#import <wtf/RetainPtr.h>
 
 namespace WebKit {
 
index 38380ee..53b9002 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "Logging.h"
-#include "LogInitialization.h"
+#import "config.h"
 
-namespace WebKit {
+#import "LogInitialization.h"
+#import "Logging.h"
 
 #if !LOG_DISABLED || !RELEASE_LOG_DISABLED
 
+namespace WebKit {
+
 String logLevelString()
 {
 #if !LOG_DISABLED
-    static NSString * const defaultsDomain = @"WebKit2Logging";
-    return [[NSUserDefaults standardUserDefaults] stringForKey:defaultsDomain];
+    return [[NSUserDefaults standardUserDefaults] stringForKey:@"WebKit2Logging"];
 #else
     return String();
 #endif
 }
 
-#endif
-
 } // namespace WebKit
+
+#endif
index a1cfd5b..73eaaec 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if HAVE(DEVICE_MANAGEMENT)
 
 #if USE(APPLE_INTERNAL_SDK)
index 65e9f64..67af26a 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #import <LocalAuthentication/LocalAuthentication.h>
 
 #if USE(APPLE_INTERNAL_SDK)
index e206a36..753e5ce 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if ENABLE(WEB_AUTHN) && HAVE(NEAR_FIELD)
 
 #if USE(APPLE_INTERNAL_SDK)
index c0fb28a..f60baa1 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #if HAVE(SAFE_BROWSING)
 
 #import <Foundation/Foundation.h>
index 434b110..b36cb1b 100644 (file)
@@ -23,8 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
 #import <AppKit/AppKit.h>
 
 #if USE(APPLE_INTERNAL_SDK)
index d3ff621..08f820d 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "RemoteObjectInvocation.h"
+#import "config.h"
+#import "RemoteObjectInvocation.h"
 
-#include "ArgumentCoders.h"
-#include "UserData.h"
+#import "ArgumentCoders.h"
+#import "UserData.h"
 
 namespace WebKit {
 
index eed8f94..e4805a4 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "WKMain.h"
+#import "config.h"
+#import "WKMain.h"
 
-#include "XPCServiceEntryPoint.h"
+#import "XPCServiceEntryPoint.h"
 
 int WKXPCServiceMain(int argc, const char** argv)
 {
index b8c972f..fb54af4 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "APIWebArchive.h"
+#import "config.h"
+#import "APIWebArchive.h"
 
 #if PLATFORM(COCOA)
 
-#include "APIArray.h"
-#include "APIData.h"
-#include "APIWebArchiveResource.h"
-#include <WebCore/LegacyWebArchive.h>
-#include <wtf/RetainPtr.h>
+#import "APIArray.h"
+#import "APIData.h"
+#import "APIWebArchiveResource.h"
+#import <WebCore/LegacyWebArchive.h>
+#import <wtf/RetainPtr.h>
 
 namespace API {
 using namespace WebCore;
index bc2fe49..ca0c24b 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "APIWebArchiveResource.h"
+#import "config.h"
+#import "APIWebArchiveResource.h"
 
 #if PLATFORM(COCOA)
 
-#include "APIData.h"
-#include <WebCore/ArchiveResource.h>
-#include <wtf/RetainPtr.h>
-#include <wtf/URL.h>
+#import "APIData.h"
+#import <WebCore/ArchiveResource.h>
+#import <wtf/RetainPtr.h>
+#import <wtf/URL.h>
 
 namespace API {
 using namespace WebCore;
index 8fa4661..445491a 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "AuthenticationChallengeDispositionCocoa.h"
+#import "config.h"
+#import "AuthenticationChallengeDispositionCocoa.h"
 
 namespace WebKit {
 
index 6a15c9b..942143a 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "LoadParameters.h"
+#import "config.h"
+#import "LoadParameters.h"
 
 #if PLATFORM(COCOA)
 
-#include "ArgumentCodersCocoa.h"
-#include "WebCoreArgumentCoders.h"
+#import "ArgumentCodersCocoa.h"
+#import "WebCoreArgumentCoders.h"
 
 namespace WebKit {
 
index 634909d..f4b4f2c 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "SandboxInitializationParameters.h"
+#import "config.h"
+#import "SandboxInitializationParameters.h"
 
 namespace WebKit {
 
index a11af3f..3aba367 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "WKNSData.h"
+#import "config.h"
+#import "WKNSData.h"
 
 @implementation WKNSData {
     API::ObjectStorage<API::Data> _data;
index f9f6d35..5f5c374 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "DocumentEditingContext.h"
+#import "config.h"
+#import "DocumentEditingContext.h"
 
 #if PLATFORM(IOS_FAMILY)
 
-#include "UIKitSPI.h"
-#include "WebCoreArgumentCoders.h"
-#include <WebCore/ElementContext.h>
+#import "UIKitSPI.h"
+#import "WebCoreArgumentCoders.h"
+#import <WebCore/ElementContext.h>
 
 namespace WebKit {
 
index 64540fb..272439c 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "PluginSandboxProfile.h"
+#import "config.h"
+#import "PluginSandboxProfile.h"
 
-#include "WKFoundation.h"
-#include <wtf/RetainPtr.h>
-#include <wtf/text/StringConcatenate.h>
-#include <wtf/text/WTFString.h>
+#import "WKFoundation.h"
+#import <wtf/RetainPtr.h>
+#import <wtf/text/StringConcatenate.h>
+#import <wtf/text/WTFString.h>
 
 namespace WebKit {
 
index 337e877..2a90d7f 100644 (file)
@@ -23,9 +23,7 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#pragma once
-
-#include <WebCore/GraphicsLayer.h>
+#import <WebCore/GraphicsLayer.h>
 
 namespace WebKit {
 class RemoteLayerTreeHost;
@@ -35,7 +33,6 @@ class RemoteLayerTreeHost;
     WebCore::GraphicsLayer::PlatformLayerID _layerID;
     WebKit::RemoteLayerTreeHost* _layerTreeHost;
 }
-
 - (instancetype)initWithLayerID:(WebCore::GraphicsLayer::PlatformLayerID)layerID layerTreeHost:(WebKit::RemoteLayerTreeHost*)layerTreeHost;
 - (void)invalidate;
 @end
index 01521b1..a4c447b 100644 (file)
@@ -23,8 +23,8 @@
 * THE POSSIBILITY OF SUCH DAMAGE.
 */
 
-#include "config.h"
-#include "UserInterfaceIdiom.h"
+#import "config.h"
+#import "UserInterfaceIdiom.h"
 
 #if PLATFORM(IOS_FAMILY)
 
index 792c7de..11d893d 100644 (file)
@@ -23,8 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "WebIconUtilities.h"
+#import "config.h"
+#import "WebIconUtilities.h"
 
 #if PLATFORM(IOS_FAMILY)
 
index 7b8571e..1f2631f 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "CodeSigning.h"
+#import "config.h"
+#import "CodeSigning.h"
 
 #if PLATFORM(MAC) || PLATFORM(MACCATALYST)
 
-#include <wtf/RetainPtr.h>
-#include <wtf/spi/cocoa/SecuritySPI.h>
-#include <wtf/text/WTFString.h>
+#import <wtf/RetainPtr.h>
+#import <wtf/spi/cocoa/SecuritySPI.h>
+#import <wtf/text/WTFString.h>
 
 namespace WebKit {
 
index 2cf0127..27b936d 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#include "config.h"
-#include "ColorSpaceData.h"
+#import "config.h"
+#import "ColorSpaceData.h"
 
-#include "ArgumentCodersCF.h"
-#include "Decoder.h"
-#include "Encoder.h"
+#import "ArgumentCodersCF.h"
+#import "Decoder.h"
+#import "Encoder.h"
 
 namespace WebKit {
 
diff --git