[Mac] Enable fullscreen for MSE-based videos
authoreric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Mar 2015 20:35:17 +0000 (20:35 +0000)
committereric.carlson@apple.com <eric.carlson@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Mar 2015 20:35:17 +0000 (20:35 +0000)
https://bugs.webkit.org/show_bug.cgi?id=142971

Reviewed by Jer Noble.

* platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
(WebCore::MediaPlayerPrivateMediaSourceAVFObjC::supportsFullscreen): Return true;

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@181865 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h

index f6eec73..19e66b7 100644 (file)
@@ -1,3 +1,13 @@
+2015-03-23  Eric Carlson  <eric.carlson@apple.com>
+
+        [Mac] Enable fullscreen for MSE-based videos
+        https://bugs.webkit.org/show_bug.cgi?id=142971
+
+        Reviewed by Jer Noble.
+
+        * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaSourceAVFObjC.h:
+        (WebCore::MediaPlayerPrivateMediaSourceAVFObjC::supportsFullscreen): Return true;
+
 2015-03-23  Alex Christensen  <achristensen@webkit.org>
 
         [MediaFoundation] Implement seek.
index 4b3a190..c509aa5 100644 (file)
@@ -104,6 +104,8 @@ private:
     virtual PlatformMedia platformMedia() const override;
     virtual PlatformLayer* platformLayer() const override;
 
+    virtual bool supportsFullscreen() const { return true; }
+
     virtual void play() override;
     void playInternal();