Title: [206272] trunk/Source/WebCore
- Revision
- 206272
- Author
- [email protected]
- Date
- 2016-09-22 13:54:56 -0700 (Thu, 22 Sep 2016)
Log Message
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):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (206271 => 206272)
--- trunk/Source/WebCore/ChangeLog 2016-09-22 20:50:21 UTC (rev 206271)
+++ trunk/Source/WebCore/ChangeLog 2016-09-22 20:54:56 UTC (rev 206272)
@@ -1,3 +1,18 @@
+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 Chris Dumez <[email protected]>
Fix serialization of HTML void elements when they have children
Modified: trunk/Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.mm (206271 => 206272)
--- trunk/Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.mm 2016-09-22 20:50:21 UTC (rev 206271)
+++ trunk/Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.mm 2016-09-22 20:54:56 UTC (rev 206272)
@@ -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