2011-05-20 Jeremy Noble <jer.noble@apple.com>
authorjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 May 2011 22:36:21 +0000 (22:36 +0000)
committerjer.noble@apple.com <jer.noble@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 20 May 2011 22:36:21 +0000 (22:36 +0000)
commit9fd3aa79832bbb974a46a6d18ee134de0a3f7e07
tree596083b19d83d3a8ca1b1bf48ba157577ec0e979
parent23d65d978352a3b538d7acdcab1d810a05048a63
2011-05-20  Jeremy Noble  <jer.noble@apple.com>

        Reviewed by Maciej Stachowiak.

        WebKit2: Exit full screen mode if the WebProcess crashes.
        https://bugs.webkit.org/show_bug.cgi?id=61151

        * platform/graphics/win/FullScreenController.h:
        * platform/graphics/win/FullScreenController.cpp:
        (FullScreenController::close): Added.  Close the full-screen window without animation
            if called.
2011-05-20  Jeremy Noble  <jer.noble@apple.com>

        Reviewed by Maciej Stachowiak.

        WebKit2: Exit full screen mode if the WebProcess crashes.
        https://bugs.webkit.org/show_bug.cgi?id=61151

        If the WebProcess crashes, exit full-screen mode to avoid getting stuck.  Move the
        WebFullScreenManagerProxy::invalidate() implementation into the platform-specific
        files, and have them close their respective platform's full-screen window.

        * UIProcess/WebFullScreenManagerProxy.cpp:
        * UIProcess/gtk/WebFullScreenManagerProxyGtk.cpp:
        (WebKit::WebFullScreenManagerProxy::invalidate): Added. Copied from main implementation.
        * UIProcess/mac/WKFullScreenWindowController.h:
        * UIProcess/mac/WKFullScreenWindowController.mm:
        (-[WKFullScreenWindowController close]): Added.
        * UIProcess/mac/WebFullScreenManagerProxyMac.mm:
        (WebKit::WebFullScreenManagerProxy::invalidate): Added.
        * UIProcess/win/WebFullScreenManagerProxyWin.cpp:
        (WebKit::WebFullScreenManagerProxy::invalidate): Added.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86992 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/win/FullScreenController.cpp
Source/WebCore/platform/graphics/win/FullScreenController.h
Source/WebKit2/ChangeLog
Source/WebKit2/UIProcess/WebFullScreenManagerProxy.cpp
Source/WebKit2/UIProcess/gtk/WebFullScreenManagerProxyGtk.cpp
Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.h
Source/WebKit2/UIProcess/mac/WKFullScreenWindowController.mm
Source/WebKit2/UIProcess/mac/WebFullScreenManagerProxyMac.mm
Source/WebKit2/UIProcess/win/WebFullScreenManagerProxyWin.cpp