⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 202924 in webkit


Ignore:
Timestamp:
Jul 7, 2016, 11:57:42 AM (10 years ago)
Author:
Beth Dakin
Message:

All fullscreen videos should be able the control the controls manager
https://bugs.webkit.org/show_bug.cgi?id=159496
-and corresponding-
rdar://problem/27009446

Reviewed by Eric Carlson.

  • html/HTMLMediaElement.cpp:

(WebCore::HTMLMediaElement::fullscreenModeChanged):

  • html/MediaElementSession.cpp:

(WebCore::MediaElementSession::canControlControlsManager):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r202923 r202924  
     12016-07-07  Beth Dakin  <bdakin@apple.com>
     2
     3        All fullscreen videos should be able the control the controls manager
     4        https://bugs.webkit.org/show_bug.cgi?id=159496
     5        -and corresponding-
     6        rdar://problem/27009446
     7
     8        Reviewed by Eric Carlson.
     9
     10        * html/HTMLMediaElement.cpp:
     11        (WebCore::HTMLMediaElement::fullscreenModeChanged):
     12        * html/MediaElementSession.cpp:
     13        (WebCore::MediaElementSession::canControlControlsManager):
     14
    1152016-07-07  Jer Noble  <jer.noble@apple.com>
    216
  • trunk/Source/WebCore/html/HTMLMediaElement.cpp

    r202923 r202924  
    71497149    m_videoFullscreenMode = mode;
    71507150    m_mediaSession->scheduleClientDataBufferingCheck();
    7151 }
    7152 
    7153 }
    7154 
    7155 #endif
     7151    scheduleUpdatePlaybackControlsManager();
     7152}
     7153
     7154}
     7155
     7156#endif
  • trunk/Source/WebCore/html/MediaElementSession.cpp

    r202660 r202924  
    214214bool MediaElementSession::canControlControlsManager() const
    215215{
     216    if (m_element.isFullscreen()) {
     217        LOG(Media, "MediaElementSession::canControlControlsManager - returning TRUE: Is fullscreen");
     218        return true;
     219    }
     220
    216221    if (!m_element.hasAudio()) {
    217222        LOG(Media, "MediaElementSession::canControlControlsManager - returning FALSE: No audio");
Note: See TracChangeset for help on using the changeset viewer.