Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 2642a3a053e7ae672307a234f235405c2d0f9ce0
https://github.com/WebKit/WebKit/commit/2642a3a053e7ae672307a234f235405c2d0f9ce0
Author: Megan Gardner <[email protected]>
Date: 2026-02-28 (Sat, 28 Feb 2026)
Changed paths:
M Source/WebCore/page/TextIndicator.cpp
M Source/WebCore/page/TextIndicator.h
M Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm
Log Message:
-----------
Switch to TextIndicator for UnifiedPDFPlugin.
https://bugs.webkit.org/show_bug.cgi?id=308511
rdar://171033013
Reviewed by Abrar Rahman Protyasha.
Continuing the removal of TextIndicatorData.
This fix required adding a new blank constructor
as well as several setters. I may add all the other
setters in a future patch, but as of now they are not
needed. Adding any needed ones in the future should
be trivial.
* Source/WebCore/page/TextIndicator.cpp:
(WebCore::TextIndicator::create):
* Source/WebCore/page/TextIndicator.h:
(WebCore::TextIndicator::setSelectionRectInRootViewCoordinates):
(WebCore::TextIndicator::setTextRectsInBoundingRectCoordinates):
(WebCore::TextIndicator::setContentImageWithoutSelectionRectInRootViewCoordinates):
(WebCore::TextIndicator::setContentImageScaleFactor):
(WebCore::TextIndicator::setContentImageWithoutSelection):
(WebCore::TextIndicator::setContentImage):
* Source/WebKit/WebProcess/Plugins/PDF/UnifiedPDF/UnifiedPDFPlugin.mm:
(WebKit::UnifiedPDFPlugin::textIndicatorForPageRect):
Canonical link: https://commits.webkit.org/308394@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications