Don't use PLATFORM(IOS) in non-project headers.
authorandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Dec 2014 19:10:17 +0000 (19:10 +0000)
committerandersca@apple.com <andersca@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 5 Dec 2014 19:10:17 +0000 (19:10 +0000)
* UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
(-[WKWebViewConfiguration _allowsAlternateFullscreen]):
* UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h:

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

Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfiguration.mm
Source/WebKit2/UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h

index 7389c15..8c75dcc 100644 (file)
@@ -1,3 +1,11 @@
+2014-12-05  Anders Carlsson  <andersca@apple.com>
+
+        Don't use PLATFORM(IOS) in non-project headers.
+
+        * UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
+        (-[WKWebViewConfiguration _allowsAlternateFullscreen]):
+        * UIProcess/API/Cocoa/WKWebViewConfigurationPrivate.h:
+
 2014-12-05  Sam Weinig  <sam@webkit.org>
 
         WKBundleCSSStyleDeclarationRef needs to be a real API::Object
index 39c7674..cfdaa68 100644 (file)
@@ -280,7 +280,7 @@ static NSString *defaultApplicationNameForUserAgent()
 }
 
 #if PLATFORM(IOS)
-- (BOOL) _allowsAlternateFullscreen
+- (BOOL)_allowsAlternateFullscreen
 {
     return _allowsAlternateFullscreen;
 }
index 7b86fcd..d7df67b 100644 (file)
@@ -42,7 +42,7 @@
 
 @property (nonatomic, weak, setter=_setAlternateWebViewForNavigationGestures:) WKWebView *_alternateWebViewForNavigationGestures;
 
-#if PLATFORM(IOS)
+#if TARGET_OS_IPHONE
 @property (nonatomic, setter=_setAllowsAlternateFullscreen:) BOOL _allowsAlternateFullscreen;
 #endif