-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor RevealItem to replace RVItem for IPC messaging
https://bugs.webkit.org/show_bug.cgi?id=264065 rdar://117822336 Reviewed by Megan Gardner. The only RVItems that RevealItem every serialized for IPC were created internally with text and a range. This patch changes serializing the RVItem to simply serializing the text and range. * Source/WebCore/editing/cocoa/DictionaryLookup.mm: * Source/WebKit/Shared/Cocoa/RevealItem.h: (WebKit::RevealItemRange::RevealItemRange): (WebKit::RevealItem::text const): (WebKit::RevealItem::selectedRange const): (WebKit::RevealItem::item const): Deleted. * Source/WebKit/Shared/Cocoa/RevealItem.mm: (WebKit::RevealItemRange::RevealItemRange): (WebKit::RevealItem::RevealItem): (WebKit::RevealItem::highlightRange const): (WebKit::RevealItem::item const): * Source/WebKit/Shared/Cocoa/RevealItem.serialization.in: * Source/WebKit/WebProcess/WebPage/WebPage.h: * Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm: (WebKit::WebPage::revealItemForCurrentSelection): Canonical link: https://commits.webkit.org/270131@main
- Loading branch information
Showing
6 changed files
with
64 additions
and
23 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