Add hasVideo property to WebAVPlayerController.
authorpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Apr 2017 13:43:37 +0000 (13:43 +0000)
committerpvollan@apple.com <pvollan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Apr 2017 13:43:37 +0000 (13:43 +0000)
commit92ef4bc8795229a899db1a684a72a79a38271805
treec28d9f5e7ee558805b97167a44e9e5f54846dd88
parent8aa6018c553d2135cd59523d3188e64a3bfeb3f4
Add hasVideo property to WebAVPlayerController.
https://bugs.webkit.org/show_bug.cgi?id=170545
rdar://problem/31325182

Reviewed by Eric Carlson.

Add a new "hasVideo" property which can be used to discover if any video content is present in the playback item,
whether video content is currently enabled or not.

* platform/ios/WebAVPlayerController.h:
* platform/ios/WebVideoFullscreenInterfaceAVKit.mm:
(WebVideoFullscreenInterfaceAVKit::hasVideoChanged):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@215092 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/ios/WebAVPlayerController.h
Source/WebCore/platform/ios/WebVideoFullscreenInterfaceAVKit.mm