[webkit-changes] [WebKit/WebKit] c66e39: Adopt more smart pointers in WebCore/page

Chris Dumez noreply at github.com
Fri Feb 9 10:43:46 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c66e393c17cab05d2b5b7b0f4fc928b1808b144d
      https://github.com/WebKit/WebKit/commit/c66e393c17cab05d2b5b7b0f4fc928b1808b144d
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2024-02-09 (Fri, 09 Feb 2024)

  Changed paths:
    M Source/WebCore/html/shadow/SpinButtonElement.h
    M Source/WebCore/page/AutoscrollController.cpp
    M Source/WebCore/page/BarProp.cpp
    M Source/WebCore/page/CaptionUserPreferences.cpp
    M Source/WebCore/page/CaptionUserPreferences.h
    M Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp
    M Source/WebCore/page/CaptionUserPreferencesMediaAF.h
    M Source/WebCore/page/Chrome.cpp
    M Source/WebCore/page/Chrome.h
    M Source/WebCore/page/ContextMenuContext.cpp
    M Source/WebCore/page/ContextMenuContext.h
    M Source/WebCore/page/ContextMenuController.cpp
    M Source/WebCore/page/ContextMenuController.h
    M Source/WebCore/page/PopupOpeningObserver.h
    M Source/WebKit/WebProcess/WebCoreSupport/WebLocalFrameLoaderClient.cpp

  Log Message:
  -----------
  Adopt more smart pointers in WebCore/page
https://bugs.webkit.org/show_bug.cgi?id=269048

Reviewed by Darin Adler.

* Source/WebCore/html/shadow/SpinButtonElement.h:
* Source/WebCore/page/AutoscrollController.cpp:
(WebCore::AutoscrollController::stopAutoscrollTimer):
(WebCore::AutoscrollController::updateAutoscrollRenderer):
(WebCore::AutoscrollController::updateDragAndDrop):
(WebCore::AutoscrollController::startPanScrolling):
(WebCore::AutoscrollController::autoscrollTimerFired):
* Source/WebCore/page/BarProp.cpp:
(WebCore::BarProp::visible const):
* Source/WebCore/page/CaptionUserPreferences.cpp:
(WebCore::CaptionUserPreferences::currentPage const):
(WebCore::CaptionUserPreferences::setUserPrefersCaptions):
(WebCore::CaptionUserPreferences::userPrefersSubtitles const):
(WebCore::CaptionUserPreferences::setUserPrefersSubtitles):
(WebCore::CaptionUserPreferences::userPrefersTextDescriptions const):
(WebCore::CaptionUserPreferences::setUserPrefersTextDescriptions):
(WebCore::CaptionUserPreferences::captionPreferencesChanged):
(WebCore::CaptionUserPreferences::updateCaptionStyleSheetOverride):
(WebCore::CaptionUserPreferences::pageGroup const):
* Source/WebCore/page/CaptionUserPreferences.h:
(WebCore::CaptionUserPreferences::pageGroup const): Deleted.
* Source/WebCore/page/CaptionUserPreferencesMediaAF.cpp:
(WebCore::CaptionUserPreferencesMediaAF::~CaptionUserPreferencesMediaAF):
(WebCore::CaptionUserPreferencesMediaAF::userPrefersCaptions const):
(WebCore::CaptionUserPreferencesMediaAF::userPrefersSubtitles const):
(WebCore::CaptionUserPreferencesMediaAF::userPrefersTextDescriptions const):
(WebCore::CaptionUserPreferencesMediaAF::setInterestedInCaptionPreferenceChanges):
(WebCore::CaptionUserPreferencesMediaAF::captionsWindowCSS const):
(WebCore::CaptionUserPreferencesMediaAF::captionsBackgroundCSS const):
(WebCore::CaptionUserPreferencesMediaAF::captionsTextColor const):
(WebCore::CaptionUserPreferencesMediaAF::captionStrokeWidthForFont const):
(WebCore::CaptionUserPreferencesMediaAF::captionsDefaultFontCSS const):
(WebCore::CaptionUserPreferencesMediaAF::platformPreferredLanguages):
(WebCore::CaptionUserPreferencesMediaAF::preferredAudioCharacteristics const):
(WebCore::trackDisplayName):
* Source/WebCore/page/CaptionUserPreferencesMediaAF.h:
* Source/WebCore/page/Chrome.cpp:
(WebCore::Chrome::protectedPage const):
(WebCore::Chrome::scroll):
(WebCore::Chrome::createWindow):
(WebCore::Chrome::runModal):
(WebCore::Chrome::runJavaScriptConfirm):
(WebCore::Chrome::runJavaScriptPrompt):
(WebCore::Chrome::mouseDidMoveOverElement):
(WebCore::Chrome::getToolTip):
(WebCore::Chrome::print):
(WebCore::Chrome::displayID const):
(WebCore::Chrome::windowScreenDidChange):
(WebCore::Chrome::registerPopupOpeningObserver):
(WebCore::Chrome::unregisterPopupOpeningObserver):
(WebCore::Chrome::notifyPopupOpeningObservers const):
* Source/WebCore/page/Chrome.h:
* Source/WebCore/page/ContextMenuContext.cpp:
(WebCore::ContextMenuContext::ContextMenuContext):
* Source/WebCore/page/ContextMenuContext.h:
* Source/WebCore/page/ContextMenuController.cpp:
(WebCore::ContextMenuController::page):
(WebCore::ContextMenuController::clearContextMenu):
(WebCore::prepareContextForQRCode):
(WebCore::ContextMenuController::maybeCreateContextMenu):
(WebCore::ContextMenuController::showContextMenu):
(WebCore::ContextMenuController::didDismissContextMenu):
(WebCore::openNewWindow):
(WebCore::insertUnicodeCharacter):
(WebCore::ContextMenuController::contextMenuItemSelected):
(WebCore::ContextMenuController::populate):
(WebCore::ContextMenuController::addDebuggingItems):
(WebCore::ContextMenuController::checkOrEnableIfNeeded const):
(WebCore::ContextMenuController::showContextMenuAt):
(WebCore::ContextMenuController::performPDFJSAction):
* Source/WebCore/page/ContextMenuController.h:
(WebCore::ContextMenuController::page): Deleted.
* Source/WebCore/page/PopupOpeningObserver.h:

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




More information about the webkit-changes mailing list