-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adopt API for process launch and capabilities
https://bugs.webkit.org/show_bug.cgi?id=268644 rdar://122196452 Reviewed by Brent Fulgham and Chris Dumez. Adopt BrowserEngineKit API for process launch and capabilities. * Source/WebKit/NetworkProcess/NetworkProcess.cpp: (WebKit::NetworkProcess::setIsHoldingLockedFiles): * Source/WebKit/NetworkProcess/NetworkProcess.h: * Source/WebKit/NetworkProcess/cocoa/NetworkProcessCocoa.mm: (WebKit::NetworkProcess::acquireLockedFileActivity): (WebKit::NetworkProcess::invalidateActivity): (WebKit::NetworkProcess::hasAcquiredActivity const): (WebKit::NetworkProcess::acquireLockedFileGrant): Deleted. (WebKit::NetworkProcess::invalidateGrant): Deleted. (WebKit::NetworkProcess::hasAcquiredGrant const): Deleted. * Source/WebKit/Platform/cocoa/AssertionCapability.h: * Source/WebKit/Platform/cocoa/AssertionCapability.mm: (WebKit::AssertionCapability::platformCapability const): * Source/WebKit/Platform/cocoa/ExtensionCapability.h: * Source/WebKit/Platform/cocoa/ExtensionCapabilityGrant.h: * Source/WebKit/Platform/cocoa/ExtensionCapabilityGrant.mm: (WebKit::platformInvalidate): (WebKit::ExtensionCapabilityGrant::ExtensionCapabilityGrant): (WebKit::ExtensionCapabilityGrant::setPlatformGrant): * Source/WebKit/Platform/cocoa/MediaCapability.h: * Source/WebKit/Platform/cocoa/MediaCapability.mm: (WebKit::createPlatformCapability): (WebKit::MediaCapability::environmentIdentifier const): * Source/WebKit/UIProcess/AuxiliaryProcessProxy.h: * Source/WebKit/UIProcess/Cocoa/AuxiliaryProcessProxyCocoa.mm: (WebKit::AuxiliaryProcessProxy::extensionProcess const): * Source/WebKit/UIProcess/Cocoa/ExtensionCapabilityGranter.mm: (WebKit::grantCapability): (WebKit::grantCapabilityInternal): (WebKit::ExtensionCapabilityGranter::setMediaCapabilityActive): * Source/WebKit/UIProcess/Cocoa/ProcessAssertionCocoa.mm: (WebKit::ProcessAssertion::ProcessAssertion): (WebKit::ProcessAssertion::acquireSync): (WebKit::ProcessAssertion::~ProcessAssertion): * Source/WebKit/UIProcess/GPU/GPUProcessProxy.cpp: (WebKit::gpuProcessCachesDirectory): (WebKit::GPUProcessProxy::GPUProcessProxy): * Source/WebKit/UIProcess/Launcher/ProcessLauncher.h: (WebKit::ProcessLauncher::extensionProcess const): * Source/WebKit/UIProcess/Launcher/cocoa/ProcessLauncherCocoa.mm: (WebKit::launchWithExtensionKit): (WebKit::invalidateProcess): (WebKit::ProcessLauncher::platformDestroy): (WebKit::ProcessLauncher::launchProcess): (WebKit::ProcessLauncher::platformInvalidate): * Source/WebKit/UIProcess/ProcessAssertion.h: * Source/WebKit/UIProcess/ios/WKContentView.mm: (-[WKContentView _setupVisibilityPropagationViewForWebProcess]): (-[WKContentView _setupVisibilityPropagationViewForGPUProcess]): Canonical link: https://commits.webkit.org/274822@main
- Loading branch information
Showing
29 changed files
with
360 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.