Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add TextStream dumping for WebKit::RepaintRequirements #28579

Merged
merged 1 commit into from
May 15, 2024

Conversation

aprotyas
Copy link
Member

@aprotyas aprotyas commented May 15, 2024

f54cee4

Add TextStream dumping for WebKit::RepaintRequirements
https://bugs.webkit.org/show_bug.cgi?id=274189
rdar://128097770

Reviewed by Simon Fraser and Sammy Gill.

This patch typedefs OptionSet<RepaintRequirement> to RepaintRequirements
for easier reference, and adds a TextStream operator<< overload for said
type to aid with debugging.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.h:
* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::updateTrackedAnnotation):
(WebKit::UnifiedPDFPlugin::handlePDFActionForAnnotation):
(WebKit::AnnotationTrackingState::startAnnotationTracking):
(WebKit::UnifiedPDFPlugin::setDisplayModeAndUpdateLayout):
(WebKit::operator<<):

Canonical link: https://commits.webkit.org/278798@main

0fbde6b

Misc iOS, tvOS & watchOS macOS Linux Windows
βœ… πŸ§ͺ style βœ… πŸ›  ios βœ… πŸ›  mac βœ… πŸ›  wpe βœ… πŸ›  wincairo
βœ… πŸ›  ios-sim βœ… πŸ›  mac-AS-debug   πŸ§ͺ wpe-wk2
βœ… πŸ§ͺ webkitperl βœ… πŸ§ͺ ios-wk2 βœ… πŸ§ͺ api-mac βœ… πŸ§ͺ api-wpe
  πŸ§ͺ ios-wk2-wpt ⏳ πŸ›  wpe-skia
  πŸ§ͺ api-ios βœ… πŸ§ͺ mac-wk2 βœ… πŸ›  gtk
βœ… πŸ›  tv βœ… πŸ§ͺ mac-AS-debug-wk2   πŸ§ͺ gtk-wk2
βœ… πŸ›  tv-sim βœ… πŸ§ͺ mac-wk2-stress   πŸ§ͺ api-gtk
βœ… πŸ›  πŸ§ͺ merge βœ… πŸ›  watch
βœ… πŸ›  watch-sim

@aprotyas aprotyas requested a review from cdumez as a code owner May 15, 2024 00:46
@aprotyas aprotyas self-assigned this May 15, 2024
@aprotyas aprotyas added the PDF For bugs in WebKit's built-in PDF support. label May 15, 2024
@webkit-ews-buildbot webkit-ews-buildbot added the merging-blocked Applied to prevent a change from being merged label May 15, 2024
@aprotyas aprotyas removed the merging-blocked Applied to prevent a change from being merged label May 15, 2024
@aprotyas
Copy link
Member Author

aprotyas commented May 15, 2024

Thanks for the reviews!

@aprotyas aprotyas added the merge-queue Applied to send a pull request to merge-queue label May 15, 2024
https://bugs.webkit.org/show_bug.cgi?id=274189
rdar://128097770

Reviewed by Simon Fraser and Sammy Gill.

This patch typedefs OptionSet<RepaintRequirement> to RepaintRequirements
for easier reference, and adds a TextStream operator<< overload for said
type to aid with debugging.

* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.h:
* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::updateTrackedAnnotation):
(WebKit::UnifiedPDFPlugin::handlePDFActionForAnnotation):
(WebKit::AnnotationTrackingState::startAnnotationTracking):
(WebKit::UnifiedPDFPlugin::setDisplayModeAndUpdateLayout):
(WebKit::operator<<):

Canonical link: https://commits.webkit.org/278798@main
@webkit-commit-queue
Copy link
Collaborator

Committed 278798@main (f54cee4): https://commits.webkit.org/278798@main

Reviewed commits have been landed. Closing PR #28579 and removing active labels.

@webkit-commit-queue webkit-commit-queue merged commit f54cee4 into WebKit:main May 15, 2024
@webkit-commit-queue webkit-commit-queue removed the merge-queue Applied to send a pull request to merge-queue label May 15, 2024
@aprotyas aprotyas deleted the eng/274189 branch June 4, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
PDF For bugs in WebKit's built-in PDF support.
Projects
None yet
6 participants