Add back some includes that got removed at some point.
authortimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Jan 2019 18:15:49 +0000 (18:15 +0000)
committertimothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 29 Jan 2019 18:15:49 +0000 (18:15 +0000)
https://bugs.webkit.org/show_bug.cgi?id=193942

Reviewed by Tim Horton.

* UIProcess/API/Cocoa/WKWebView.mm:
* UIProcess/API/Cocoa/WKWebViewInternal.h:
* UIProcess/ios/PageClientImplIOS.h:
* UIProcess/ios/PageClientImplIOS.mm:

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

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
Source/WebKit/UIProcess/API/Cocoa/WKWebViewInternal.h
Source/WebKit/UIProcess/ios/PageClientImplIOS.h
Source/WebKit/UIProcess/ios/PageClientImplIOS.mm

index 93c34b5..02234e5 100644 (file)
@@ -1,3 +1,15 @@
+2019-01-29  Timothy Hatcher  <timothy@apple.com>
+
+        Add back some includes that got removed at some point.
+        https://bugs.webkit.org/show_bug.cgi?id=193942
+
+        Reviewed by Tim Horton.
+
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        * UIProcess/API/Cocoa/WKWebViewInternal.h:
+        * UIProcess/ios/PageClientImplIOS.h:
+        * UIProcess/ios/PageClientImplIOS.mm:
+
 2019-01-29  Chris Dumez  <cdumez@apple.com>
 
         Make sure WTF::generateObjectIdentifier() internal counter does not get duplicated
index bcb3a2c..878e3e2 100644 (file)
@@ -477,6 +477,10 @@ static bool shouldAllowSettingAnyXHRHeaderFromFileURLs()
 
 #endif
 
+#if USE(APPLE_INTERNAL_SDK)
+#include <WebKitAdditions/WKWebViewInternalAdditions.mm>
+#endif
+
 static bool shouldRequireUserGestureToLoadVideo()
 {
 #if PLATFORM(IOS_FAMILY)
@@ -7042,6 +7046,10 @@ static WebCore::UserInterfaceLayoutDirection toUserInterfaceLayoutDirection(UISe
 
 #endif // PLATFORM(IOS_FAMILY)
 
+#if USE(APPLE_INTERNAL_SDK)
+#include <WebKitAdditions/WKWebViewAdditions.mm>
+#endif
+
 - (BOOL)_beginBackSwipeForTesting
 {
 #if PLATFORM(MAC)
index bec1522..af16fc3 100644 (file)
@@ -170,6 +170,10 @@ struct PrintInfo;
 @property (nonatomic, readonly, getter=_isRetainingActiveFocusedState) BOOL _retainingActiveFocusedState;
 #endif
 
+#if USE(APPLE_INTERNAL_SDK)
+#include <WebKitAdditions/WKWebViewInternalAdditions.h>
+#endif
+
 #if ENABLE(ACCESSIBILITY_EVENTS)
 - (void)_updateAccessibilityEventsEnabled;
 #endif
index 9ce54b7..58be76b 100644 (file)
@@ -137,6 +137,10 @@ private:
         
     void didPerformDictionaryLookup(const WebCore::DictionaryPopupInfo&) override;
 
+#if USE(APPLE_INTERNAL_SDK)
+#include <WebKitAdditions/PageClientImplIOSAdditions.h>
+#endif
+
     void couldNotRestorePageState() override;
     void restorePageState(Optional<WebCore::FloatPoint>, const WebCore::FloatPoint&, const WebCore::FloatBoxExtent&, double) override;
     void restorePageCenterAndScale(Optional<WebCore::FloatPoint>, double) override;
index e05da73..4a992bf 100644 (file)
@@ -463,6 +463,10 @@ void PageClientImpl::didPerformDictionaryLookup(const DictionaryPopupInfo& dicti
 #endif // ENABLE(REVEAL)
 }
 
+#if USE(APPLE_INTERNAL_SDK)
+#include <WebKitAdditions/PageClientImplIOSAdditions.mm>
+#endif
+
 void PageClientImpl::setRemoteLayerTreeRootNode(RemoteLayerTreeNode* rootNode)
 {
     [m_contentView _setAcceleratedCompositingRootView:rootNode ? rootNode->uiView() : nil];