2009-10-05 Pierre d'Herbemont <pdherbemont@webkit.org>
authorsimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Oct 2009 00:24:47 +0000 (00:24 +0000)
committersimon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 6 Oct 2009 00:24:47 +0000 (00:24 +0000)
commite29cbe6fb801dd1df3d21000814fc553e167464b
tree8ccb7bcef79bf01eb2b071f2dbb8e2fabd711ff8
parent028a1c5bfff6ffecec65824f612c051038c287e5
2009-10-05  Pierre d'Herbemont  <pdherbemont@webkit.org>

        Reviewed by Simon Fraser

        Support fullscreen in MediaPlayer (Mac)
        https://bugs.webkit.org/show_bug.cgi?id=26742

        Add a fullscreen button to the <video> controller if the media engine,
        and the theme have support for fullscreen, and can show appropriate controls.
        Clicking the button calls through the ChromeClient to the WebVideoFullscreenController
        in WebKit to do a nice animation to fullscreen, with a custom controller.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49136 268f45cc-cd09-0410-ab3c-d52691b4dbfc
38 files changed:
WebCore/ChangeLog
WebCore/DerivedSources.make
WebCore/WebCore.Video.exp [new file with mode: 0644]
WebCore/WebCore.base.exp
WebCore/WebCore.xcodeproj/project.pbxproj
WebCore/html/HTMLMediaElement.cpp
WebCore/html/HTMLMediaElement.h
WebCore/html/HTMLVideoElement.cpp
WebCore/html/HTMLVideoElement.h
WebCore/page/ChromeClient.h
WebCore/platform/graphics/MediaPlayer.cpp
WebCore/platform/graphics/MediaPlayer.h
WebCore/platform/graphics/MediaPlayerPrivate.h
WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.h
WebCore/platform/graphics/mac/MediaPlayerPrivateQTKit.mm
WebCore/rendering/MediaControlElements.cpp
WebCore/rendering/RenderThemeMac.h
WebCore/rendering/RenderThemeMac.mm
WebKit/ChangeLog
WebKit/WebKit.xcodeproj/project.pbxproj
WebKit/mac/ChangeLog
WebKit/mac/WebCoreSupport/WebChromeClient.h
WebKit/mac/WebCoreSupport/WebChromeClient.mm
WebKit/mac/WebView/WebVideoFullscreenController.h [new file with mode: 0644]
WebKit/mac/WebView/WebVideoFullscreenController.mm [new file with mode: 0644]
WebKit/mac/WebView/WebVideoFullscreenHUDWindowController.h [new file with mode: 0644]
WebKit/mac/WebView/WebVideoFullscreenHUDWindowController.mm [new file with mode: 0644]
WebKit/mac/WebView/WebView.mm
WebKit/mac/WebView/WebViewData.h
WebKit/mac/WebView/WebViewData.mm
WebKit/mac/WebView/WebViewInternal.h
WebKit/mac/WebView/WebWindowAnimation.h [new file with mode: 0644]
WebKit/mac/WebView/WebWindowAnimation.m [new file with mode: 0644]
WebKitLibraries/ChangeLog
WebKitLibraries/WebKitSystemInterface.h
WebKitLibraries/libWebKitSystemInterfaceLeopard.a
WebKitLibraries/libWebKitSystemInterfaceSnowLeopard.a
WebKitLibraries/libWebKitSystemInterfaceTiger.a