Fix iOS build.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Mar 2014 21:03:46 +0000 (21:03 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 25 Mar 2014 21:03:46 +0000 (21:03 +0000)
* UIProcess/API/Cocoa/WKWebView.h:
* UIProcess/API/Cocoa/WKWebView.mm:
Make WKIBActions OS X only for now.

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/WKWebView.h
Source/WebKit2/UIProcess/API/Cocoa/WKWebView.mm

index f2de9372b8f05e5cc30d18ec8e16b56f5ac6d6cd..86725f1dc9bb141056c810314b74d1aa784d131f 100644 (file)
@@ -1,3 +1,11 @@
+2014-03-25  Anders Carlsson  <andersca@apple.com>
+
+        Fix iOS build.
+
+        * UIProcess/API/Cocoa/WKWebView.h:
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        Make WKIBActions OS X only for now.
+
 2014-03-25  Anders Carlsson  <andersca@apple.com>
 
         Begin stubbing out a WKWindowFeatures class
index 68dc6af82f951260a51ab30842ad998b6b8b1b66..b2a35d1202676ffc015c94c31fe826d033521208 100644 (file)
@@ -131,6 +131,8 @@ WK_API_CLASS
 
 @end
 
+#if !TARGET_OS_IPHONE
+
 @interface WKWebView (WKIBActions) <NSUserInterfaceValidations>
 
 - (IBAction)goBack:(id)sender;
@@ -141,3 +143,5 @@ WK_API_CLASS
 @end
 
 #endif
+
+#endif
index 28e898af3f2eff9b7dab7cde7a1a39ea84ea5f16..11b7391dd42ff4e7ab318f25545192d18a1f5001 100644 (file)
@@ -1176,6 +1176,8 @@ static inline WebCore::LayoutMilestones layoutMilestones(_WKRenderingProgressEve
 
 @end
 
+#if !TARGET_OS_IPHONE
+
 @implementation WKWebView (WKIBActions)
 
 - (BOOL)validateUserInterfaceItem:(id <NSValidatedUserInterfaceItem>)item
@@ -1213,4 +1215,6 @@ static inline WebCore::LayoutMilestones layoutMilestones(_WKRenderingProgressEve
 
 @end
 
+#endif
+
 #endif // WK_API_ENABLED