[webkit-changes] [WebKit/WebKit] c7b11c: Re-remove WKView

Alex Christensen noreply at github.com
Sat Mar 25 17:29:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c7b11c442eb5f42ffe3903dfc8e0e1711c8f874c
      https://github.com/WebKit/WebKit/commit/c7b11c442eb5f42ffe3903dfc8e0e1711c8f874c
  Author: Alex Christensen <achristensen at apple.com>
  Date:   2023-03-25 (Sat, 25 Mar 2023)

  Changed paths:
    M Source/WebKit/Modules/OSX_Private.modulemap
    M Source/WebKit/Modules/iOS_Private.modulemap
    M Source/WebKit/PlatformMac.cmake
    M Source/WebKit/UIProcess/API/C/mac/WKPagePrivateMac.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextController.mm
    M Source/WebKit/UIProcess/API/Cocoa/WKView.h
    R Source/WebKit/UIProcess/API/Cocoa/WKViewPrivate.h
    M Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm
    M Source/WebKit/UIProcess/API/Cocoa/_WKThumbnailView.h
    M Source/WebKit/UIProcess/API/Cocoa/_WKThumbnailView.mm
    M Source/WebKit/UIProcess/API/mac/WKView.mm
    R Source/WebKit/UIProcess/API/mac/WKViewInternal.h
    M Source/WebKit/UIProcess/Gamepad/mac/UIGamepadProviderMac.mm
    M Source/WebKit/UIProcess/Inspector/mac/WebInspectorUIProxyMac.mm
    M Source/WebKit/UIProcess/PageClient.h
    M Source/WebKit/UIProcess/mac/PageClientImplMac.h
    M Source/WebKit/UIProcess/mac/PageClientImplMac.mm
    M Source/WebKit/UIProcess/mac/WKFullScreenWindowController.h
    M Source/WebKit/UIProcess/mac/WKFullScreenWindowController.mm
    M Source/WebKit/UIProcess/mac/WebPopupMenuProxyMac.h
    M Source/WebKit/WebKit.xcodeproj/project.pbxproj

  Log Message:
  -----------
  Re-remove WKView
https://bugs.webkit.org/show_bug.cgi?id=252587
rdar://105688385

Reviewed by Tim Horton.

https://webkit.org/b/252572 needed to bring it back temporarily
because the process of re-building the shared cache for performance
testing on Ventura was broken because system frameworks referenced it.
Keeping a stub ObjC class should be sufficient to keep performance
testing working because the shared cache build should succeed and we
don't call code that uses WKView during performance testing.

* Source/WebKit/UIProcess/API/C/mac/WKPagePrivateMac.mm:
* Source/WebKit/UIProcess/API/Cocoa/WKBrowsingContextController.mm:
* Source/WebKit/UIProcess/API/Cocoa/WKView.h:
(WK_CLASS_DEPRECATED_WITH_REPLACEMENT): Deleted.
* Source/WebKit/UIProcess/API/Cocoa/WKViewPrivate.h: Removed.
* Source/WebKit/UIProcess/API/Cocoa/WKWebView.mm:
* Source/WebKit/UIProcess/API/Cocoa/_WKThumbnailView.h:
* Source/WebKit/UIProcess/API/Cocoa/_WKThumbnailView.mm:
(-[_WKThumbnailView _viewWasUnparented]):
(-[_WKThumbnailView _viewWasParented]):
(-[_WKThumbnailView initWithFrame:fromWKView:]): Deleted.
* Source/WebKit/UIProcess/API/mac/WKView.mm:
(-[WKView initWithFrame:processGroup:browsingContextGroup:]): Deleted.
(-[WKView initWithFrame:processGroup:browsingContextGroup:relatedToView:]): Deleted.
(-[WKView dealloc]): Deleted.
(-[WKView browsingContextController]): Deleted.
(-[WKView setDrawsBackground:]): Deleted.
(-[WKView drawsBackground]): Deleted.
(-[WKView _backgroundColor]): Deleted.
(-[WKView _setBackgroundColor:]): Deleted.
(-[WKView setDrawsTransparentBackground:]): Deleted.
(-[WKView drawsTransparentBackground]): Deleted.
(-[WKView acceptsFirstResponder]): Deleted.
(-[WKView becomeFirstResponder]): Deleted.
(-[WKView resignFirstResponder]): Deleted.
(-[WKView viewWillStartLiveResize]): Deleted.
(-[WKView viewDidEndLiveResize]): Deleted.
(-[WKView isFlipped]): Deleted.
(-[WKView intrinsicContentSize]): Deleted.
(-[WKView prepareContentInRect:]): Deleted.
(-[WKView setFrameSize:]): Deleted.
(-[WKView _setSemanticContext:]): Deleted.
(-[WKView ALLOW_DEPRECATED_IMPLEMENTATIONS_END]): Deleted.
(-[WKView writeSelectionToPasteboard:types:]): Deleted.
(-[WKView centerSelectionInVisibleArea:]): Deleted.
(-[WKView validRequestorForSendType:returnType:]): Deleted.
(-[WKView readSelectionFromPasteboard:]): Deleted.
(-[WKView changeFont:]): Deleted.
(-[WKView validateUserInterfaceItem:]): Deleted.
(-[WKView startSpeaking:]): Deleted.
(-[WKView stopSpeaking:]): Deleted.
(-[WKView showGuessPanel:]): Deleted.
(-[WKView checkSpelling:]): Deleted.
(-[WKView changeSpelling:]): Deleted.
(-[WKView toggleContinuousSpellChecking:]): Deleted.
(-[WKView isGrammarCheckingEnabled]): Deleted.
(-[WKView setGrammarCheckingEnabled:]): Deleted.
(-[WKView toggleGrammarChecking:]): Deleted.
(-[WKView toggleAutomaticSpellingCorrection:]): Deleted.
(-[WKView orderFrontSubstitutionsPanel:]): Deleted.
(-[WKView toggleSmartInsertDelete:]): Deleted.
(-[WKView isAutomaticQuoteSubstitutionEnabled]): Deleted.
(-[WKView setAutomaticQuoteSubstitutionEnabled:]): Deleted.
(-[WKView toggleAutomaticQuoteSubstitution:]): Deleted.
(-[WKView isAutomaticDashSubstitutionEnabled]): Deleted.
(-[WKView setAutomaticDashSubstitutionEnabled:]): Deleted.
(-[WKView toggleAutomaticDashSubstitution:]): Deleted.
(-[WKView isAutomaticLinkDetectionEnabled]): Deleted.
(-[WKView setAutomaticLinkDetectionEnabled:]): Deleted.
(-[WKView toggleAutomaticLinkDetection:]): Deleted.
(-[WKView isAutomaticTextReplacementEnabled]): Deleted.
(-[WKView setAutomaticTextReplacementEnabled:]): Deleted.
(-[WKView toggleAutomaticTextReplacement:]): Deleted.
(-[WKView uppercaseWord:]): Deleted.
(-[WKView lowercaseWord:]): Deleted.
(-[WKView capitalizeWord:]): Deleted.
(-[WKView _wantsKeyDownForEvent:]): Deleted.
(-[WKView scrollWheel:]): Deleted.
(-[WKView swipeWithEvent:]): Deleted.
(-[WKView mouseDown:]): Deleted.
(-[WKView mouseUp:]): Deleted.
(-[WKView mouseDragged:]): Deleted.
(-[WKView otherMouseDown:]): Deleted.
(-[WKView otherMouseDragged:]): Deleted.
(-[WKView otherMouseUp:]): Deleted.
(-[WKView rightMouseDown:]): Deleted.
(-[WKView rightMouseDragged:]): Deleted.
(-[WKView rightMouseUp:]): Deleted.
(-[WKView pressureChangeWithEvent:]): Deleted.
(-[WKView acceptsFirstMouse:]): Deleted.
(-[WKView shouldDelayWindowOrderingForEvent:]): Deleted.
(-[WKView doCommandBySelector:]): Deleted.
(-[WKView insertText:]): Deleted.
(-[WKView insertText:replacementRange:]): Deleted.
(-[WKView inputContext]): Deleted.
(-[WKView performKeyEquivalent:]): Deleted.
(-[WKView keyUp:]): Deleted.
(-[WKView keyDown:]): Deleted.
(-[WKView flagsChanged:]): Deleted.
(-[WKView setMarkedText:selectedRange:replacementRange:]): Deleted.
(-[WKView unmarkText]): Deleted.
(-[WKView selectedRange]): Deleted.
(-[WKView hasMarkedText]): Deleted.
(-[WKView markedRange]): Deleted.
(-[WKView attributedSubstringForProposedRange:actualRange:]): Deleted.
(-[WKView characterIndexForPoint:]): Deleted.
(-[WKView firstRectForCharacterRange:actualRange:]): Deleted.
(-[WKView selectedRangeWithCompletionHandler:]): Deleted.
(-[WKView markedRangeWithCompletionHandler:]): Deleted.
(-[WKView hasMarkedTextWithCompletionHandler:]): Deleted.
(-[WKView attributedSubstringForProposedRange:completionHandler:]): Deleted.
(-[WKView firstRectForCharacterRange:completionHandler:]): Deleted.
(-[WKView characterIndexForPoint:completionHandler:]): Deleted.
(-[WKView validAttributesForMarkedText]): Deleted.
(-[WKView draggedImage:endedAt:operation:]): Deleted.
(-[WKView draggingEntered:]): Deleted.
(-[WKView draggingUpdated:]): Deleted.
(-[WKView draggingExited:]): Deleted.
(-[WKView prepareForDragOperation:]): Deleted.
(-[WKView performDragOperation:]): Deleted.
(-[WKView _hitTest:dragTypes:]): Deleted.
(-[WKView _windowResizeMouseLocationIsInVisibleScrollerThumb:]): Deleted.
(-[WKView viewWillMoveToWindow:]): Deleted.
(-[WKView viewDidMoveToWindow]): Deleted.
(-[WKView drawRect:]): Deleted.
(-[WKView isOpaque]): Deleted.
(-[WKView mouseDownCanMoveWindow]): Deleted.
(-[WKView viewDidHide]): Deleted.
(-[WKView viewDidUnhide]): Deleted.
(-[WKView viewDidChangeBackingProperties]): Deleted.
(-[WKView _activeSpaceDidChange:]): Deleted.
(-[WKView accessibilityFocusedUIElement]): Deleted.
(-[WKView accessibilityHitTest:]): Deleted.
(-[WKView accessibilityAttributeValue:]): Deleted.
(-[WKView accessibilityAttributeValue:forParameter:]): Deleted.
(-[WKView hitTest:]): Deleted.
(-[WKView conversationIdentifier]): Deleted.
(-[WKView quickLookWithEvent:]): Deleted.
(-[WKView addTrackingRect:owner:userData:assumeInside:]): Deleted.
(-[WKView _addTrackingRect:owner:userData:assumeInside:useTrackingNum:]): Deleted.
(-[WKView _addTrackingRects:owner:userDataList:assumeInsideList:trackingNums:count:]): Deleted.
(-[WKView removeTrackingRect:]): Deleted.
(-[WKView _removeTrackingRects:count:]): Deleted.
(-[WKView view:stringForToolTip:point:userData:]): Deleted.
(-[WKView pasteboardChangedOwner:]): Deleted.
(-[WKView pasteboard:provideDataForType:]): Deleted.
(-[WKView namesOfPromisedFilesDroppedAtDestination:]): Deleted.
(-[WKView maybeInstallIconLoadingClient]): Deleted.
(-[WKView initWithFrame:processPool:configuration:]): Deleted.
(-[WKView _setThumbnailView:]): Deleted.
(-[WKView _thumbnailView]): Deleted.
(-[WKView _web_superInputContext]): Deleted.
(-[WKView _web_superQuickLookWithEvent:]): Deleted.
(-[WKView _web_superSwipeWithEvent:]): Deleted.
(-[WKView _web_superMagnifyWithEvent:]): Deleted.
(-[WKView _web_superSmartMagnifyWithEvent:]): Deleted.
(-[WKView _web_superRemoveTrackingRect:]): Deleted.
(-[WKView _web_superAccessibilityAttributeValue:]): Deleted.
(-[WKView _web_superDoCommandBySelector:]): Deleted.
(-[WKView _web_superPerformKeyEquivalent:]): Deleted.
(-[WKView _web_superKeyDown:]): Deleted.
(-[WKView _web_superHitTest:]): Deleted.
(-[WKView _web_immediateActionAnimationControllerForHitTestResultInternal:withType:userData:]): Deleted.
(-[WKView _web_prepareForImmediateActionAnimation]): Deleted.
(-[WKView _web_cancelImmediateActionAnimation]): Deleted.
(-[WKView _web_completeImmediateActionAnimation]): Deleted.
(-[WKView _web_didChangeContentSize:]): Deleted.
(-[WKView _web_didPerformDragOperation:]): Deleted.
(-[WKView _web_dragDestinationActionForDraggingInfo:]): Deleted.
(-[WKView _web_dismissContentRelativeChildWindows]): Deleted.
(-[WKView _web_dismissContentRelativeChildWindowsWithAnimation:]): Deleted.
(-[WKView _web_editorStateDidChange]): Deleted.
(-[WKView _web_gestureEventWasNotHandledByWebCore:]): Deleted.
(-[WKView _didHandleAcceptedCandidate]): Deleted.
(-[WKView _didUpdateCandidateListVisibility:]): Deleted.
(-[WKView makeTouchBar]): Deleted.
(-[WKView candidateListTouchBarItem]): Deleted.
(-[WKView _web_didAddMediaControlsManager:]): Deleted.
(-[WKView _web_didRemoveMediaControlsManager]): Deleted.
(-[WKView scrollViewFrame]): Deleted.
(-[WKView hasScrolledContentsUnderTitlebar]): Deleted.
(-[WKView filePromiseProvider:fileNameForType:]): Deleted.
(-[WKView filePromiseProvider:writePromiseToURL:completionHandler:]): Deleted.
(-[WKView draggingSession:sourceOperationMaskForDraggingContext:]): Deleted.
(-[WKView draggingSession:endedAtPoint:operation:]): Deleted.
(-[WKView saveBackForwardSnapshotForCurrentItem]): Deleted.
(-[WKView saveBackForwardSnapshotForItem:]): Deleted.
(-[WKView initWithFrame:contextRef:pageGroupRef:]): Deleted.
(toUserInterfaceLayoutDirection): Deleted.
(-[WKView initWithFrame:contextRef:pageGroupRef:relatedToPage:]): Deleted.
(-[WKView initWithFrame:configurationRef:]): Deleted.
(-[WKView wantsUpdateLayer]): Deleted.
(-[WKView updateLayer]): Deleted.
(-[WKView pageRef]): Deleted.
(-[WKView canChangeFrameLayout:]): Deleted.
(-[WKView printOperationWithPrintInfo:forFrame:]): Deleted.
(-[WKView setFrame:andScrollBy:]): Deleted.
(-[WKView disableFrameSizeUpdates]): Deleted.
(-[WKView enableFrameSizeUpdates]): Deleted.
(-[WKView frameSizeUpdatesDisabled]): Deleted.
(+[WKView hideWordDefinitionWindow]): Deleted.
(-[WKView minimumSizeForAutoLayout]): Deleted.
(-[WKView setMinimumSizeForAutoLayout:]): Deleted.
(-[WKView sizeToContentAutoSizeMaximumSize]): Deleted.
(-[WKView setSizeToContentAutoSizeMaximumSize:]): Deleted.
(-[WKView shouldExpandToViewHeightForAutoLayout]): Deleted.
(-[WKView setShouldExpandToViewHeightForAutoLayout:]): Deleted.
(-[WKView shouldClipToVisibleRect]): Deleted.
(-[WKView setShouldClipToVisibleRect:]): Deleted.
(-[WKView underlayColor]): Deleted.
(-[WKView setUnderlayColor:]): Deleted.
(-[WKView _inspectorAttachmentView]): Deleted.
(-[WKView _setInspectorAttachmentView:]): Deleted.
(-[WKView fullScreenPlaceholderView]): Deleted.
(-[WKView createFullScreenWindow]): Deleted.
(-[WKView beginDeferringViewInWindowChanges]): Deleted.
(-[WKView endDeferringViewInWindowChanges]): Deleted.
(-[WKView endDeferringViewInWindowChangesSync]): Deleted.
(-[WKView _prepareForMoveToWindow:withCompletionHandler:]): Deleted.
(-[WKView isDeferringViewInWindowChanges]): Deleted.
(-[WKView windowOcclusionDetectionEnabled]): Deleted.
(-[WKView setWindowOcclusionDetectionEnabled:]): Deleted.
(-[WKView setAllowsBackForwardNavigationGestures:]): Deleted.
(-[WKView allowsBackForwardNavigationGestures]): Deleted.
(-[WKView allowsLinkPreview]): Deleted.
(-[WKView setAllowsLinkPreview:]): Deleted.
(-[WKView _setIgnoresAllEvents:]): Deleted.
(-[WKView _setIgnoresNonWheelMouseEvents:]): Deleted.
(-[WKView _setIgnoresNonWheelEvents:]): Deleted.
(-[WKView _ignoresNonWheelEvents]): Deleted.
(-[WKView _ignoresAllEvents]): Deleted.
(-[WKView _setOverrideDeviceScaleFactor:]): Deleted.
(-[WKView _overrideDeviceScaleFactor]): Deleted.
(-[WKView _layoutMode]): Deleted.
(-[WKView _setLayoutMode:]): Deleted.
(-[WKView _fixedLayoutSize]): Deleted.
(-[WKView _setFixedLayoutSize:]): Deleted.
(-[WKView _viewScale]): Deleted.
(-[WKView _setViewScale:]): Deleted.
(-[WKView _setTopContentInset:]): Deleted.
(-[WKView _topContentInset]): Deleted.
(-[WKView _setTotalHeightOfBanners:]): Deleted.
(-[WKView _totalHeightOfBanners]): Deleted.
(-[WKView _setOverlayScrollbarStyle:]): Deleted.
(-[WKView _overlayScrollbarStyle]): Deleted.
(-[WKView _pageExtendedBackgroundColor]): Deleted.
(-[WKView isUsingUISideCompositing]): Deleted.
(-[WKView setAllowsMagnification:]): Deleted.
(-[WKView allowsMagnification]): Deleted.
(-[WKView magnifyWithEvent:]): Deleted.
(-[WKView rotateWithEvent:]): Deleted.
(-[WKView _gestureEventWasNotHandledByWebCore:]): Deleted.
(-[WKView _simulateMouseMove:]): Deleted.
(-[WKView smartMagnifyWithEvent:]): Deleted.
(-[WKView setMagnification:centeredAtPoint:]): Deleted.
(-[WKView setMagnification:]): Deleted.
(-[WKView magnification]): Deleted.
(-[WKView _setCustomSwipeViews:]): Deleted.
(-[WKView _setCustomSwipeViewsTopContentInset:]): Deleted.
(-[WKView _tryToSwipeWithEvent:ignoringPinnedState:]): Deleted.
(-[WKView _setDidMoveSwipeSnapshotCallback:]): Deleted.
(-[WKView _immediateActionAnimationControllerForHitTestResult:withType:userData:]): Deleted.
(-[WKView _prepareForImmediateActionAnimation]): Deleted.
(-[WKView _cancelImmediateActionAnimation]): Deleted.
(-[WKView _completeImmediateActionAnimation]): Deleted.
(-[WKView _didChangeContentSize:]): Deleted.
(-[WKView _dismissContentRelativeChildWindows]): Deleted.
(-[WKView _dismissContentRelativeChildWindowsWithAnimation:]): Deleted.
(-[WKView _setAutomaticallyAdjustsContentInsets:]): Deleted.
(-[WKView _automaticallyAdjustsContentInsets]): Deleted.
(-[WKView setUserInterfaceLayoutDirection:]): Deleted.
(-[WKView _wantsMediaPlaybackControlsView]): Deleted.
(-[WKView _setWantsMediaPlaybackControlsView:]): Deleted.
(-[WKView _mediaPlaybackControlsView]): Deleted.
(-[WKView _addMediaPlaybackControlsView:]): Deleted.
(-[WKView _removeMediaPlaybackControlsView]): Deleted.
(-[WKView _doAfterNextPresentationUpdate:]): Deleted.
(-[WKView _setShouldSuppressFirstResponderChanges:]): Deleted.
(-[WKView viewDidChangeEffectiveAppearance]): Deleted.
(-[WKView _setUseSystemAppearance:]): Deleted.
(-[WKView _useSystemAppearance]): Deleted.
(-[WKView acceptsPreviewPanelControl:]): Deleted.
(-[WKView beginPreviewPanelControl:]): Deleted.
(-[WKView endPreviewPanelControl:]): Deleted.
* Source/WebKit/UIProcess/API/mac/WKViewInternal.h: Removed.
* Source/WebKit/UIProcess/Gamepad/mac/UIGamepadProviderMac.mm:
(WebKit::UIGamepadProvider::platformWebPageProxyForGamepadInput):
* Source/WebKit/UIProcess/Inspector/mac/WebInspectorUIProxyMac.mm:
* Source/WebKit/UIProcess/PageClient.h:
* Source/WebKit/UIProcess/mac/PageClientImplMac.h:
* Source/WebKit/UIProcess/mac/PageClientImplMac.mm:
* Source/WebKit/UIProcess/mac/WKFullScreenWindowController.h:
* Source/WebKit/UIProcess/mac/WKFullScreenWindowController.mm:
* Source/WebKit/UIProcess/mac/WebPopupMenuProxyMac.h:
* Source/WebKit/WebKit.xcodeproj/project.pbxproj:

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




More information about the webkit-changes mailing list