Changeset 206272 in webkit


Ignore:
Timestamp:
Sep 22, 2016 1:54:56 PM (8 years ago)
Author:
jer.noble@apple.com
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r206266 r206272  
     12016-09-22  Jer Noble  <jer.noble@apple.com>
     2
     3        Fullscreen controls inoperative in WebKitLegacy web views
     4        https://bugs.webkit.org/show_bug.cgi?id=162374
     5
     6        Reviewed by Eric Carlson.
     7
     8        After r205365, the WebPlaybackSessionInterfaceAVKit was now created after the
     9        WebPlaybackSessionModel which fed it data, so it no longer received the burst of data upon
     10        creation. Instead, it should have always asked the model for its cached data as soon as it
     11        was connected to set up its inital state.
     12
     13        * platform/ios/WebPlaybackSessionInterfaceAVKit.mm:
     14        (WebCore::WebPlaybackSessionInterfaceAVKit::WebPlaybackSessionInterfaceAVKit):
     15
    1162016-09-22  Chris Dumez  <cdumez@apple.com>
    217
  • trunk/Source/WebCore/platform/ios/WebPlaybackSessionInterfaceAVKit.mm

    r205365 r206272  
    5555    [m_playerController setPlaybackSessionInterface:this];
    5656    [m_playerController setDelegate:&model];
     57
     58    durationChanged(model.duration());
     59    currentTimeChanged(model.currentTime(), [[NSProcessInfo processInfo] systemUptime]);
     60    bufferedTimeChanged(model.bufferedTime());
     61    rateChanged(model.isPlaying(), model.playbackRate());
     62    seekableRangesChanged(model.seekableRanges());
     63    canPlayFastReverseChanged(model.canPlayFastReverse());
     64    audioMediaSelectionOptionsChanged(model.audioMediaSelectionOptions(), model.audioMediaSelectedIndex());
     65    legibleMediaSelectionOptionsChanged(model.legibleMediaSelectionOptions(), model.legibleMediaSelectedIndex());
     66    externalPlaybackChanged(model.externalPlaybackEnabled(), model.externalPlaybackTargetType(), model.externalPlaybackLocalizedDeviceName());
     67    wirelessVideoPlaybackDisabledChanged(model.wirelessVideoPlaybackDisabled());
    5768}
    5869
Note: See TracChangeset for help on using the changeset viewer.