Title: [206320] branches/safari-602-branch/Source/WebCore
Revision
206320
Author
[email protected]
Date
2016-09-23 12:33:49 -0700 (Fri, 23 Sep 2016)

Log Message

Merge r206272. rdar://problem/28339129

Modified Paths

Diff

Modified: branches/safari-602-branch/Source/WebCore/ChangeLog (206319 => 206320)


--- branches/safari-602-branch/Source/WebCore/ChangeLog	2016-09-23 19:31:11 UTC (rev 206319)
+++ branches/safari-602-branch/Source/WebCore/ChangeLog	2016-09-23 19:33:49 UTC (rev 206320)
@@ -1,3 +1,22 @@
+2016-09-23  Babak Shafiei  <[email protected]>
+
+        Merge r206272. rdar://problem/28339129
+
+    2016-09-22  Jer Noble  <[email protected]>
+
+            Fullscreen controls inoperative in WebKitLegacy web views
+            https://bugs.webkit.org/show_bug.cgi?id=162374
+
+            Reviewed by Eric Carlson.
+
+            After r205365, the WebPlaybackSessionInterfaceAVKit was now created after the
+            WebPlaybackSessionModel which fed it data, so it no longer received the burst of data upon
+            creation. Instead, it should have always asked the model for its cached data as soon as it
+            was connected to set up its inital state.
+
+            * platform/ios/WebPlaybackSessionInterfaceAVKit.mm:
+            (WebCore::WebPlaybackSessionInterfaceAVKit::WebPlaybackSessionInterfaceAVKit):
+
 2016-09-22  Babak Shafiei  <[email protected]>
 
         Merge r206193. rdar://problem/28376161

Modified: branches/safari-602-branch/Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.mm (206319 => 206320)


--- branches/safari-602-branch/Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.mm	2016-09-23 19:31:11 UTC (rev 206319)
+++ branches/safari-602-branch/Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.mm	2016-09-23 19:33:49 UTC (rev 206320)
@@ -54,6 +54,17 @@
     model.addClient(*this);
     [m_playerController setPlaybackSessionInterface:this];
     [m_playerController setDelegate:&model];
+
+    durationChanged(model.duration());
+    currentTimeChanged(model.currentTime(), [[NSProcessInfo processInfo] systemUptime]);
+    bufferedTimeChanged(model.bufferedTime());
+    rateChanged(model.isPlaying(), model.playbackRate());
+    seekableRangesChanged(model.seekableRanges());
+    canPlayFastReverseChanged(model.canPlayFastReverse());
+    audioMediaSelectionOptionsChanged(model.audioMediaSelectionOptions(), model.audioMediaSelectedIndex());
+    legibleMediaSelectionOptionsChanged(model.legibleMediaSelectionOptions(), model.legibleMediaSelectedIndex());
+    externalPlaybackChanged(model.externalPlaybackEnabled(), model.externalPlaybackTargetType(), model.externalPlaybackLocalizedDeviceName());
+    wirelessVideoPlaybackDisabledChanged(model.wirelessVideoPlaybackDisabled());
 }
 
 WebPlaybackSessionInterfaceAVKit::~WebPlaybackSessionInterfaceAVKit()
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to