Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: d224a98f33b350738dcd8f21ac03eec68441a271
https://github.com/WebKit/WebKit/commit/d224a98f33b350738dcd8f21ac03eec68441a271
Author: Ryosuke Niwa <[email protected]>
Date: 2025-05-08 (Thu, 08 May 2025)
Changed paths:
M Source/WebCore/editing/VisibleSelection.h
M Source/WebCore/page/LocalFrame.cpp
M Source/WebCore/page/LocalFrame.h
M Source/WebCore/page/ios/FrameIOS.mm
Log Message:
-----------
Remove iOS specific header includes in LocalFrame.h
https://bugs.webkit.org/show_bug.cgi?id=292710
Reviewed by Anne van Kesteren.
Moved m_viewportArguments, m_rangedSelectionBase, and
m_rangedSelectionInitialExtent to UniqueRef
so that we can avoid header includes in LocalFrame.h.
Also made caretRect() and rectForScrollToVisible() to return IntRect instead of
NSRect to avoid
having to include IntRect.h.
* Source/WebCore/editing/VisibleSelection.h:
* Source/WebCore/page/LocalFrame.cpp:
(WebCore::LocalFrame::LocalFrame):
* Source/WebCore/page/LocalFrame.h:
* Source/WebCore/page/ios/FrameIOS.mm:
(WebCore::LocalFrame::setViewportArguments):
(WebCore::LocalFrame::caretRect):
(WebCore::LocalFrame::rectForScrollToVisible):
(WebCore::LocalFrame::setRangedSelectionBaseToCurrentSelection):
(WebCore::LocalFrame::setRangedSelectionBaseToCurrentSelectionStart):
(WebCore::LocalFrame::setRangedSelectionBaseToCurrentSelectionEnd):
(WebCore::LocalFrame::rangedSelectionBase const):
(WebCore::LocalFrame::clearRangedSelectionInitialExtent):
(WebCore::LocalFrame::setRangedSelectionInitialExtentToCurrentSelectionStart):
(WebCore::LocalFrame::setRangedSelectionInitialExtentToCurrentSelectionEnd):
(WebCore::LocalFrame::rangedSelectionInitialExtent const):
Canonical link: https://commits.webkit.org/294682@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes