-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Move EditorState to generated serialization #5540
Move EditorState to generated serialization #5540
Conversation
EWS run on previous version of this PR (hash ef74d03)
|
ef74d03
to
d566a20
Compare
EWS run on previous version of this PR (hash d566a20)
|
d566a20
to
60fb854
Compare
EWS run on previous version of this PR (hash 60fb854)
|
60fb854
to
0eadda6
Compare
EWS run on previous version of this PR (hash 0eadda6)
|
bool hasPlainText; | ||
bool editableRootIsTransparentOrFullyClipped; | ||
WebCore::Color caretColor; | ||
bool atStartOfSentence; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one seems completely unused FWIW, and it wasn't even coded before.
Build fixes on GTK/WPE:
|
0eadda6
to
b475818
Compare
EWS run on current version of this PR (hash b475818)
|
Thanks, Zan! |
https://bugs.webkit.org/show_bug.cgi?id=246748 Reviewed by Žan Doberšek. * Source/WebKit/CMakeLists.txt: * Source/WebKit/DerivedSources-input.xcfilelist: * Source/WebKit/DerivedSources.make: * Source/WebKit/Shared/EditorState.cpp: (WebKit::operator<<): (WebKit::EditorState::encode const): Deleted. (WebKit::EditorState::decode): Deleted. (WebKit::EditorState::PostLayoutData::encode const): Deleted. (WebKit::EditorState::PostLayoutData::decode): Deleted. * Source/WebKit/Shared/EditorState.h: (WebKit::EditorState::isMissingPostLayoutData const): (WebKit::EditorState::postLayoutData): Deleted. (WebKit::EditorState::postLayoutData const const): Deleted. * Source/WebKit/Shared/EditorState.serialization.in: Added. * Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm: (dictionaryRepresentationForEditorState): * Source/WebKit/UIProcess/API/mac/WKWebViewTestingMac.mm: (-[WKWebView _candidateRect]): * Source/WebKit/UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::updateFontAttributesAfterEditorStateChange): * Source/WebKit/UIProcess/ios/WKContentView.mm: (-[WKContentView _didCommitLayerTree:]): * Source/WebKit/UIProcess/ios/WKContentViewInteraction.mm: (WebKit::WKSelectionDrawingInfo::WKSelectionDrawingInfo): (-[WKContentView shouldHideSelectionWhenScrolling]): (-[WKContentView rectToRevealWhenZoomingToFocusedElement]): (-[WKContentView _selectionClipRect]): (-[WKContentView canShowNonEmptySelectionView]): (-[WKContentView webSelectionRects]): (-[WKContentView _lookupForWebView:]): (-[WKContentView _shareForWebView:]): (-[WKContentView _translateForWebView:]): (-[WKContentView _addShortcutForWebView:]): (-[WKContentView selectedText]): (-[WKContentView alternativesForSelectedText]): (-[WKContentView isReplaceAllowed]): (-[WKContentView _promptForReplaceForWebView:]): (-[WKContentView _transliterateChineseForWebView:]): (-[WKContentView textStylingAtPosition:inDirection:]): (-[WKContentView _cascadeInteractionTintColor]): (-[WKContentView canPerformActionForWebView:withSender:]): (-[WKContentView _showDictionary:]): (-[WKContentView removeBackgroundMenu]): (-[WKContentView doAfterComputingImageAnalysisResultsForBackgroundRemoval:]): (-[WKContentView _characterInRelationToCaretSelection:]): (-[WKContentView _selectionAtDocumentStart]): (-[WKContentView textFirstRect]): (-[WKContentView textLastRect]): (-[WKContentView textInRange:]): (-[WKContentView selectedTextRange]): (-[WKContentView markedTextRange]): (-[WKContentView hasText]): (-[WKContentView hasContent]): (-[WKContentView isPosition:atBoundary:inDirection:]): (-[WKContentView _updateSelectionAssistantSuppressionState]): (-[WKContentView _selectionChanged]): (-[WKContentView _updateChangedSelection:]): * Source/WebKit/UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dispatchDidUpdateEditorState): (WebKit::WebPageProxy::selectionBoundingRectInRootViewCoordinates const): * Source/WebKit/UIProcess/mac/WebViewImpl.mm: (WebKit::WebViewImpl::selectionDidChange): (WebKit::WebViewImpl::requestCandidatesForSelectionIfNeeded): (WebKit::WebViewImpl::handleRequestedCandidates): (WebKit::WebViewImpl::handleAcceptedCandidate): (WebKit::WebViewImpl::updateTextTouchBar): * Source/WebKit/WebKit.xcodeproj/project.pbxproj: * Source/WebKit/WebProcess/WebPage/Cocoa/WebPageCocoa.mm: (WebKit::WebPage::getPlatformEditorStateCommon const): * Source/WebKit/WebProcess/WebPage/WebPage.cpp: (WebKit::WebPage::editorState const): (WebKit::WebPage::sendEditorStateUpdate): * Source/WebKit/WebProcess/WebPage/ios/WebPageIOS.mm: (WebKit::WebPage::getPlatformEditorState const): * Source/WebKit/WebProcess/WebPage/mac/WebPageMac.mm: (WebKit::WebPage::getPlatformEditorState const): Canonical link: https://commits.webkit.org/255806@main
b475818
to
897a438
Compare
Committed 255806@main (897a438): https://commits.webkit.org/255806@main Reviewed commits have been landed. Closing PR #5540 and removing active labels. |
897a438
b475818
🧪 api-mac