Add and deploy WK_API_ENABLED guards
[WebKit-https.git] / Source / WebKit2 / WebProcess / InjectedBundle / API / mac / WKWebProcessPlugInInternal.h
index 56f54c8..eab612c 100644 (file)
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-#if defined(__LP64__) && defined(__clang__)
-
 #import "WKWebProcessPlugIn.h"
 
-namespace WebKit {
-class InjectedBundle;
-}
+#if WK_API_ENABLED
 
 @interface WKWebProcessPlugInController (Internal)
 
 + (WKWebProcessPlugInController *)_shared;
 - (id)_initWithPrincipalClassInstance:(id<WKWebProcessPlugIn>)principalClassInstance bundleRef:(WKBundleRef)bundleRef;
 
+- (WKWebProcessPlugInBrowserContextController *)_browserContextControllerForBundlePageRef:(WKBundlePageRef)pageRef;
+
 @end
 
-#endif // defined(__LP64__) && defined(__clang__)
+#endif // WK_API_ENABLED