Add WebProcessPool option for process swapping on navigation.
[WebKit-https.git] / Source / WebKit / UIProcess / API / Cocoa / _WKProcessPoolConfiguration.mm
index 53a08b5..17fa6f1 100644 (file)
     return _processPoolConfiguration->presentingApplicationPID();
 }
 
+- (void)setProcessSwapsOnNavigation:(BOOL)swaps
+{
+    _processPoolConfiguration->setProcessSwapsOnNavigation(swaps);
+}
+
+- (BOOL)processSwapsOnNavigation
+{
+    return _processPoolConfiguration->processSwapsOnNavigation();
+}
+
 #if PLATFORM(IOS)
 - (NSString *)CTDataConnectionServiceType
 {