Fix macros for wireless playback
[WebKit-https.git] / Source / WebKit2 / ChangeLog
index d71a207..7b8ca8a 100644 (file)
@@ -1,3 +1,26 @@
+2015-05-22  Jon Lee  <jonlee@apple.com>
+
+        Fix macros for wireless playback
+        https://bugs.webkit.org/show_bug.cgi?id=145239
+        rdar://problem/21049541
+
+        Reviewed by Anders Carlsson.
+
+        Encompass the logic within ENABLE(WIRELESS_TARGET_PLAYBACK). Update property name.
+
+        * UIProcess/API/Cocoa/WKWebView.mm:
+        (-[WKWebView initWithFrame:configuration:]):
+        * UIProcess/API/Cocoa/WKWebViewConfiguration.h: Update names. Add a WKDeprecated
+        category section.
+        * UIProcess/API/Cocoa/WKWebViewConfiguration.mm:
+        (-[WKWebViewConfiguration init]): Update name of variables to reflect new property names.
+        (-[WKWebViewConfiguration copyWithZone:]): Ditto.
+        (-[WKWebViewConfiguration mediaPlaybackAllowsAirPlay]): Get and set off of the new
+        variable.
+        (-[WKWebViewConfiguration setMediaPlaybackAllowsAirPlay:]): Ditto.
+        (-[WKWebViewConfiguration mediaPlaybackRequiresUserAction]): Ditto.
+        (-[WKWebViewConfiguration setMediaPlaybackRequiresUserAction:]): Ditto.
+
 2015-05-27  Brady Eidson  <beidson@apple.com>
 
         Add a "should open urls externally" flag to DocumentLoader.