Changeset 194111 in webkit


Ignore:
Timestamp:
Dec 15, 2015 11:11:45 AM (8 years ago)
Author:
peavo@outlook.com
Message:

[WinCairo][MediaFoundation] Full screen mode is not supported.
https://bugs.webkit.org/show_bug.cgi?id=152300

Reviewed by Darin Adler.

We need to let WebCore know MediaFoundation supports full screen mode.

  • platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:

(WebCore::MediaPlayerPrivateMediaFoundation::pause):
(WebCore::MediaPlayerPrivateMediaFoundation::supportsFullscreen):
(WebCore::MediaPlayerPrivateMediaFoundation::naturalSize):

  • platform/graphics/win/MediaPlayerPrivateMediaFoundation.h:
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r194104 r194111  
     12015-12-15  Per Arne Vollan  <peavo@outlook.com>
     2
     3        [WinCairo][MediaFoundation] Full screen mode is not supported.
     4        https://bugs.webkit.org/show_bug.cgi?id=152300
     5
     6        Reviewed by Darin Adler.
     7
     8        We need to let WebCore know MediaFoundation supports full screen mode.
     9
     10        * platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp:
     11        (WebCore::MediaPlayerPrivateMediaFoundation::pause):
     12        (WebCore::MediaPlayerPrivateMediaFoundation::supportsFullscreen):
     13        (WebCore::MediaPlayerPrivateMediaFoundation::naturalSize):
     14        * platform/graphics/win/MediaPlayerPrivateMediaFoundation.h:
     15
    1162015-12-15  Javier Fernandez  <jfernandez@igalia.com>
    217
  • trunk/Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.cpp

    r193959 r194111  
    177177}
    178178
     179bool MediaPlayerPrivateMediaFoundation::supportsFullscreen() const
     180{
     181    return true;
     182}
     183
    179184FloatSize MediaPlayerPrivateMediaFoundation::naturalSize() const
    180185{
  • trunk/Source/WebCore/platform/graphics/win/MediaPlayerPrivateMediaFoundation.h

    r193959 r194111  
    6363    virtual void play();
    6464    virtual void pause();
     65
     66    virtual bool supportsFullscreen() const;
    6567
    6668    virtual FloatSize naturalSize() const;
Note: See TracChangeset for help on using the changeset viewer.