Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
2011-05-20 Jer Noble <jer.noble@apple.com>
Reviewed by Maciej Stachowiak. Win: non-full-screen content is briefly seen when entering full-screen mode (and vice versa) https://bugs.webkit.org/show_bug.cgi?id=61108 Instead of repainting the full- and non-full-screen windows in WebCore, delegate that responsibility to the FullScreenControllerClient. Because the repaint operation may be asynchronous, add a new method for clients to use to indicate repainting has completed. * platform/graphics/win/FullScreenController.cpp: (FullScreenController::Private::Private): Added new ivars. (FullScreenController::enterFullScreen): Split into two functions (pre-and post repaint) (FullScreenController::enterFullScreenRepaintCompleted): Ditto. (FullScreenController::exitFullScreen): Ditto. (FullScreenController::exitFullScreenRepaintCompleted): Ditto. (FullScreenController::repaintCompleted): Call the appropriated repaint completed function. * platform/graphics/win/FullScreenController.h: * platform/graphics/win/FullScreenControllerClient.h: 2011-05-20 Jer Noble <jer.noble@apple.com> Reviewed by Maciej Stachowiak. Win: non-full-screen content is briefly seen when entering full-screen mode (and vice versa) https://bugs.webkit.org/show_bug.cgi?id=61108 * WebView.cpp: (WebView::fullScreenClientForceRepaint): Repaint the view and immediately notify the full screen controller. * WebView.h: 2011-05-20 Jer Noble <jer.noble@apple.com> Reviewed by Maciej Stachowiak. Win: non-full-screen content is briefly seen when entering full-screen mode (and vice versa) https://bugs.webkit.org/show_bug.cgi?id=61108 When the fullScreenController asks us to repaint, make an async repaint request, and when the callback is fired, notify the fullScreenController that repaint has completed. * UIProcess/win/WebView.cpp: (WebKit::fullScreenClientForceRepaintCompleted): Added. (WebKit::WebView::fullScreenClientForceRepaint): Added. * UIProcess/win/WebView.h: Canonical link: https://commits.webkit.org/76560@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@86956 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
109 additions
and 6 deletions.
- +21 −0 Source/WebCore/ChangeLog
- +35 −6 Source/WebCore/platform/graphics/win/FullScreenController.cpp
- +4 −0 Source/WebCore/platform/graphics/win/FullScreenController.h
- +1 −0 Source/WebCore/platform/graphics/win/FullScreenControllerClient.h
- +12 −0 Source/WebKit/win/ChangeLog
- +8 −0 Source/WebKit/win/WebView.cpp
- +1 −0 Source/WebKit/win/WebView.h
- +15 −0 Source/WebKit2/ChangeLog
- +11 −0 Source/WebKit2/UIProcess/win/WebView.cpp
- +1 −0 Source/WebKit2/UIProcess/win/WebView.h
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters