Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace printingSendOptions with separate message names
https://bugs.webkit.org/show_bug.cgi?id=247680 Reviewed by Tim Horton. This will allow us to remove the OptionSet<SendOption> parameter and derive it from the message name, then move the source of that parameter to the *.messages.in file, then add receiver-side checks from generated code. * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::preferencesDidChange): (WebKit::WebPageProxy::beginPrinting): (WebKit::WebPageProxy::endPrinting): (WebKit::WebPageProxy::computePagesForPrinting): (WebKit::WebPageProxy::drawRectToImage): (WebKit::WebPageProxy::drawPagesToPDF): (WebKit::WebPageProxy::drawPagesForPrinting): (WebKit::printingSendOptions): Deleted. * Source/WebKit/WebProcess/WebPage/WebPage.h: (WebKit::WebPage::beginPrintingDuringDOMPrintOperation): (WebKit::WebPage::endPrintingDuringDOMPrintOperation): (WebKit::WebPage::computePagesForPrintingDuringDOMPrintOperation): (WebKit::WebPage::drawRectToImageDuringDOMPrintOperation): (WebKit::WebPage::drawPagesToPDFDuringDOMPrintOperation): (WebKit::WebPage::drawPagesForPrintingDuringDOMPrintOperation): (WebKit::WebPage::preferencesDidChangeDuringDOMPrintOperation): * Source/WebKit/WebProcess/WebPage/WebPage.messages.in: Canonical link: https://commits.webkit.org/256490@main
- Loading branch information
1 parent
a12a0c3
commit 1974887
Showing
3 changed files
with
40 additions
and
15 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