Changeset 82991 in webkit


Ignore:
Timestamp:
Apr 5, 2011 3:23:18 PM (13 years ago)
Author:
jer.noble@apple.com
Message:

2011-04-05 Jer Noble <jer.noble@apple.com>

Reviewed by Darin Adler.

HTML5 Player Has no Fullscreen Mode
https://bugs.webkit.org/show_bug.cgi?id=57795

  • html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::supportsFullscreen): Call the new ChromeClient API

supportsFullScreenForElement() before the old supportsFullScreenForNode() API.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r82985 r82991  
     12011-04-05  Jer Noble  <jer.noble@apple.com>
     2
     3        Reviewed by Darin Adler.
     4
     5        HTML5 Player Has no Fullscreen Mode
     6        https://bugs.webkit.org/show_bug.cgi?id=57795
     7
     8        * html/HTMLVideoElement.cpp:
     9        (WebCore::HTMLVideoElement::supportsFullscreen): Call the new ChromeClient API
     10            supportsFullScreenForElement() before the old supportsFullScreenForNode() API.
     11
    1122011-04-05  Vsevolod Vlasov  <vsevik@chromium.org>
    213
  • trunk/Source/WebCore/html/HTMLVideoElement.cpp

    r79922 r82991  
    130130
    131131    // Check with the platform client.
     132#if ENABLE(FULLSCREEN_API)
     133    if (page->chrome()->client()->supportsFullScreenForElement(this, false))
     134        return true;
     135#endif
     136
    132137    return page->chrome()->client()->supportsFullscreenForNode(this);
    133138}
Note: See TracChangeset for help on using the changeset viewer.