Changeset 260474 in webkit


Ignore:
Timestamp:
Apr 21, 2020 5:03:54 PM (4 years ago)
Author:
jer.noble@apple.com
Message:

PiP buttons shows up in element fullscreen when PiP is disabled in WKWebViewConfiguration
https://bugs.webkit.org/show_bug.cgi?id=210813

Reviewed by Eric Carlson.

Not currently testable; entering fullscreen never completes in the iOS TestWebKitAPI app
because that process is not a UI Application.

  • UIProcess/ios/fullscreen/WKFullScreenViewController.mm:

(-[WKFullScreenViewController videoControlsManagerDidChange]):

Location:
trunk/Source/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/ChangeLog

    r260473 r260474  
     12020-04-21  Jer Noble  <jer.noble@apple.com>
     2
     3        PiP buttons shows up in element fullscreen when PiP is disabled in WKWebViewConfiguration
     4        https://bugs.webkit.org/show_bug.cgi?id=210813
     5
     6        Reviewed by Eric Carlson.
     7
     8        Not currently testable; entering fullscreen never completes in the iOS TestWebKitAPI app
     9        because that process is not a UI Application.
     10
     11        * UIProcess/ios/fullscreen/WKFullScreenViewController.mm:
     12        (-[WKFullScreenViewController videoControlsManagerDidChange]):
     13
    1142020-04-21  Brent Fulgham  <bfulgham@apple.com>
    215
  • trunk/Source/WebKit/UIProcess/ios/fullscreen/WKFullScreenViewController.mm

    r254241 r260474  
    266266    WebCore::PlaybackSessionModel* playbackSessionModel = playbackSessionInterface ? playbackSessionInterface->playbackSessionModel() : nullptr;
    267267    self.playing = playbackSessionModel ? playbackSessionModel->isPlaying() : NO;
    268     [_pipButton setHidden:!playbackSessionModel];
     268    [_pipButton setHidden:!playbackSessionModel || !playbackSessionModel->isPictureInPictureSupported()];
    269269}
    270270
Note: See TracChangeset for help on using the changeset viewer.