forked from WebKit/WebKit
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make DrawingAreaProxy ref-counted as it is a MessageReceiver
https://bugs.webkit.org/show_bug.cgi?id=283855 Reviewed by Geoffrey Garen. * Source/WebKit/Scripts/webkit/messages.py: (generate_message_handler): * Source/WebKit/UIProcess/API/gtk/PageClientImpl.cpp: (WebKit::PageClientImpl::createDrawingAreaProxy): * Source/WebKit/UIProcess/API/gtk/PageClientImpl.h: * Source/WebKit/UIProcess/API/wpe/PageClientImpl.cpp: (WebKit::PageClientImpl::createDrawingAreaProxy): * Source/WebKit/UIProcess/API/wpe/PageClientImpl.h: * Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.cpp: (WebKit::DrawingAreaProxyCoordinatedGraphics::create): (WebKit::DrawingAreaProxyCoordinatedGraphics::forceUpdateIfNeeded): (WebKit::DrawingAreaProxyCoordinatedGraphics::incorporateUpdate): (WebKit::DrawingAreaProxyCoordinatedGraphics::displayNominalFramesPerSecond): (WebKit::DrawingAreaProxyCoordinatedGraphics::sizeDidChange): (WebKit::DrawingAreaProxyCoordinatedGraphics::deviceScaleFactorDidChange): (WebKit::DrawingAreaProxyCoordinatedGraphics::alwaysUseCompositing const): (WebKit::DrawingAreaProxyCoordinatedGraphics::enterAcceleratedCompositingMode): (WebKit::DrawingAreaProxyCoordinatedGraphics::exitAcceleratedCompositingMode): (WebKit::DrawingAreaProxyCoordinatedGraphics::updateAcceleratedCompositingMode): (WebKit::DrawingAreaProxyCoordinatedGraphics::dispatchAfterEnsuringDrawing): * Source/WebKit/UIProcess/CoordinatedGraphics/DrawingAreaProxyCoordinatedGraphics.h: * Source/WebKit/UIProcess/DrawingAreaProxy.cpp: (WebKit::DrawingAreaProxy::protectedWebPageProxy const): (WebKit::DrawingAreaProxy::page const): (WebKit::DrawingAreaProxy::viewExposedRectChangedTimerFired): * Source/WebKit/UIProcess/DrawingAreaProxy.h: * Source/WebKit/UIProcess/DrawingAreaProxy.messages.in: * Source/WebKit/UIProcess/PageClient.h: * Source/WebKit/UIProcess/ProvisionalPageProxy.cpp: (WebKit::ProvisionalPageProxy::takeDrawingArea): * Source/WebKit/UIProcess/ProvisionalPageProxy.h: * Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h: * Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.messages.in: * Source/WebKit/UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm: (WebKit::RemoteLayerTreeDrawingAreaProxy::create): (WebKit::RemoteLayerTreeDrawingAreaProxy::sizeDidChange): (WebKit::RemoteLayerTreeDrawingAreaProxy::remotePageProcessDidTerminate): (WebKit::RemoteLayerTreeDrawingAreaProxy::viewWillStartLiveResize): (WebKit::RemoteLayerTreeDrawingAreaProxy::viewWillEndLiveResize): (WebKit::RemoteLayerTreeDrawingAreaProxy::deviceScaleFactorDidChange): (WebKit::RemoteLayerTreeDrawingAreaProxy::didUpdateGeometry): (WebKit::RemoteLayerTreeDrawingAreaProxy::sendUpdateGeometry): (WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTreeNotTriggered): (WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTreeTransaction): (WebKit::RemoteLayerTreeDrawingAreaProxy::indicatorLocation const): (WebKit::RemoteLayerTreeDrawingAreaProxy::indicatorScale const): (WebKit::RemoteLayerTreeDrawingAreaProxy::updateDebugIndicator): (WebKit::RemoteLayerTreeDrawingAreaProxy::didRefreshDisplay): (WebKit::RemoteLayerTreeDrawingAreaProxy::windowKindDidChange): (WebKit::RemoteLayerTreeDrawingAreaProxy::minimumSizeForAutoLayoutDidChange): (WebKit::RemoteLayerTreeDrawingAreaProxy::sizeToContentAutoSizeMaximumSizeDidChange): (WebKit::RemoteLayerTreeDrawingAreaProxy::animationsWereAddedToNode): (WebKit::RemoteLayerTreeDrawingAreaProxy::animationsWereRemovedFromNode): * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::setDrawingArea): * Source/WebKit/UIProcess/WebPageProxy.h: * Source/WebKit/UIProcess/ios/PageClientImplIOS.h: * Source/WebKit/UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createDrawingAreaProxy): * Source/WebKit/UIProcess/ios/WKContentView.h: * Source/WebKit/UIProcess/ios/WKContentView.mm: (-[WKContentView _createDrawingAreaProxy:]): * Source/WebKit/UIProcess/mac/PageClientImplMac.h: * Source/WebKit/UIProcess/mac/PageClientImplMac.mm: (WebKit::PageClientImpl::createDrawingAreaProxy): * Source/WebKit/UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h: * Source/WebKit/UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm: (WebKit::TiledCoreAnimationDrawingAreaProxy::create): (WebKit::TiledCoreAnimationDrawingAreaProxy::TiledCoreAnimationDrawingAreaProxy): (WebKit::TiledCoreAnimationDrawingAreaProxy::deviceScaleFactorDidChange): (WebKit::TiledCoreAnimationDrawingAreaProxy::sizeDidChange): (WebKit::TiledCoreAnimationDrawingAreaProxy::colorSpaceDidChange): (WebKit::TiledCoreAnimationDrawingAreaProxy::minimumSizeForAutoLayoutDidChange): (WebKit::TiledCoreAnimationDrawingAreaProxy::sizeToContentAutoSizeMaximumSizeDidChange): (WebKit::TiledCoreAnimationDrawingAreaProxy::enterAcceleratedCompositingMode): (WebKit::TiledCoreAnimationDrawingAreaProxy::updateAcceleratedCompositingMode): (WebKit::TiledCoreAnimationDrawingAreaProxy::~TiledCoreAnimationDrawingAreaProxy): Deleted. (WebKit::TiledCoreAnimationDrawingAreaProxy::didFirstLayerFlush): Deleted. (WebKit::TiledCoreAnimationDrawingAreaProxy::didUpdateGeometry): Deleted. (WebKit::TiledCoreAnimationDrawingAreaProxy::waitForDidUpdateActivityState): Deleted. (WebKit::TiledCoreAnimationDrawingAreaProxy::willSendUpdateGeometry): Deleted. (WebKit::TiledCoreAnimationDrawingAreaProxy::createFence): Deleted. (WebKit::TiledCoreAnimationDrawingAreaProxy::sendUpdateGeometry): Deleted. (WebKit::TiledCoreAnimationDrawingAreaProxy::adjustTransientZoom): Deleted. (WebKit::TiledCoreAnimationDrawingAreaProxy::commitTransientZoom): Deleted. (WebKit::TiledCoreAnimationDrawingAreaProxy::dispatchPresentationCallbacksAfterFlushingLayers): Deleted. (WebKit::TiledCoreAnimationDrawingAreaProxy::displayNominalFramesPerSecond): Deleted. * Source/WebKit/UIProcess/mac/WebViewImpl.h: * Source/WebKit/UIProcess/mac/WebViewImpl.mm: (WebKit::WebViewImpl::createDrawingAreaProxy): * Source/WebKit/UIProcess/playstation/PageClientImpl.cpp: (WebKit::PageClientImpl::createDrawingAreaProxy): * Source/WebKit/UIProcess/playstation/PageClientImpl.h: * Source/WebKit/UIProcess/wc/DrawingAreaProxyWC.cpp: (WebKit::DrawingAreaProxyWC::create): (WebKit::DrawingAreaProxyWC::sizeDidChange): (WebKit::DrawingAreaProxyWC::incorporateUpdate): * Source/WebKit/UIProcess/wc/DrawingAreaProxyWC.h: * Source/WebKit/UIProcess/win/PageClientImpl.cpp: (WebKit::PageClientImpl::createDrawingAreaProxy): * Source/WebKit/UIProcess/win/PageClientImpl.h: Canonical link: https://commits.webkit.org/287188@main
- Loading branch information
Showing
42 changed files
with
331 additions
and
170 deletions.
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
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
Oops, something went wrong.