haikuwebkit/Source/WebCore/platform/ValidationBubble.h

98 lines
3.2 KiB
C
Raw Permalink Normal View History

[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
/*
* Copyright (C) 2016 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
*
* THIS SOFTWARE IS PROVIDED BY APPLE INC. AND ITS CONTRIBUTORS ``AS IS''
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
* THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL APPLE INC. OR ITS CONTRIBUTORS
* BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
* THE POSSIBILITY OF SUCH DAMAGE.
*/
#pragma once
#include "IntRect.h"
#include <wtf/Forward.h>
#include <wtf/text/WTFString.h>
#if PLATFORM(COCOA)
#include <wtf/RetainPtr.h>
#include <wtf/WeakObjCPtr.h>
[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
#endif
#if PLATFORM(MAC)
OBJC_CLASS NSPopover;
Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY) https://bugs.webkit.org/show_bug.cgi?id=190729 Reviewed by Tim Horton. Source/JavaScriptCore: * API/JSBase.cpp: * API/JSWrapperMap.mm: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/AssemblerCommon.h: (JSC::isIOS): * heap/FullGCActivityCallback.cpp: (JSC::FullGCActivityCallback::doCollection): * heap/Heap.cpp: (JSC::Heap::overCriticalMemoryThreshold): (JSC::Heap::updateAllocationLimits): (JSC::Heap::collectIfNecessaryOrDefer): * heap/Heap.h: * inspector/remote/cocoa/RemoteConnectionToTargetCocoa.mm: (Inspector::RemoteConnectionToTarget::dispatchAsyncOnTarget): * jit/ExecutableAllocator.cpp: (JSC::allowJIT): * jit/ExecutableAllocator.h: * jit/RegisterSet.cpp: (JSC::RegisterSet::reservedHardwareRegisters): (JSC::RegisterSet::calleeSaveRegisters): * jit/ThunkGenerators.cpp: * jsc.cpp: (main): * runtime/MathCommon.cpp: * runtime/Options.cpp: (JSC::overrideDefaults): (JSC::recomputeDependentOptions): * runtime/Options.h: Source/WebCore: * DerivedSources.make: * Modules/applepay/cocoa/PaymentContactCocoa.mm: (WebCore::subLocality): (WebCore::setSubLocality): (WebCore::subAdministrativeArea): (WebCore::setSubAdministrativeArea): * Modules/encryptedmedia/legacy/LegacyCDMPrivateMediaPlayer.cpp: * Modules/geolocation/Geolocation.cpp: (WebCore::isRequestFromIBooks): * Modules/geolocation/GeolocationPosition.h: * Modules/geolocation/NavigatorGeolocation.cpp: * Modules/geolocation/NavigatorGeolocation.h: * Modules/geolocation/ios/GeolocationPositionIOS.mm: * Modules/mediasession/WebMediaSessionManager.cpp: * Modules/mediasession/WebMediaSessionManager.h: * Modules/mediastream/MediaDevicesRequest.cpp: (WebCore::MediaDevicesRequest::filterDeviceList): * Modules/plugins/QuickTimePluginReplacement.mm: (WebCore::JSQuickTimePluginReplacement::timedMetaData const): (WebCore::JSQuickTimePluginReplacement::accessLog const): (WebCore::JSQuickTimePluginReplacement::errorLog const): * Modules/speech/SpeechSynthesis.cpp: (WebCore::SpeechSynthesis::SpeechSynthesis): (WebCore::SpeechSynthesis::speak): * Modules/speech/SpeechSynthesis.h: * Modules/webaudio/AudioContext.cpp: * Modules/webaudio/AudioScheduledSourceNode.cpp: * Modules/webdatabase/Database.cpp: (WebCore::Database::performOpenAndVerify): * Modules/webdatabase/DatabaseContext.h: * Modules/webdatabase/DatabaseManagerClient.h: * Modules/webdatabase/DatabaseTracker.cpp: (WebCore::DatabaseTracker::deleteDatabaseFile): * Modules/webdatabase/DatabaseTracker.h: * WebCorePrefix.h: * accessibility/AXObjectCache.cpp: (WebCore::createFromRenderer): * accessibility/AccessibilityMediaObject.cpp: * accessibility/AccessibilityMediaObject.h: * accessibility/AccessibilityMenuList.cpp: (WebCore::AccessibilityMenuList::press): (WebCore::AccessibilityMenuList::isCollapsed const): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::isAccessibilityObjectSearchMatchAtIndex): (WebCore::AccessibilityObject::press): (WebCore::AccessibilityObject::actionVerb const): * accessibility/AccessibilityObject.h: * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::stringValue const): (WebCore::AccessibilityRenderObject::determineAccessibilityRole): (WebCore::AccessibilityRenderObject::actionVerb const): * accessibility/AccessibilityTableColumn.cpp: (WebCore::AccessibilityTableColumn::computeAccessibilityIsIgnored const): * accessibility/AccessibilityTableHeaderContainer.cpp: (WebCore::AccessibilityTableHeaderContainer::computeAccessibilityIsIgnored const): * accessibility/ios/AXObjectCacheIOS.mm: * accessibility/ios/AccessibilityObjectIOS.mm: * accessibility/ios/WebAccessibilityObjectWrapperIOS.h: * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: * bindings/js/CommonVM.cpp: (WebCore::commonVMSlow): * bindings/js/JSCallbackData.h: (WebCore::JSCallbackData::~JSCallbackData): * bindings/js/JSDOMWindowBase.cpp: (WebCore::JSDOMWindowBase::shouldInterruptScriptBeforeTimeout): * bindings/js/ScriptController.cpp: (WebCore::ScriptController::initializeThreading): * bridge/objc/objc_class.mm: (JSC::Bindings::ObjcClass::fieldNamed const): * crypto/CommonCryptoUtilities.h: * crypto/mac/CryptoKeyRSAMac.cpp: * crypto/mac/SerializedCryptoKeyWrapMac.mm: (WebCore::masterKeyAccountNameForCurrentApplication): (WebCore::createAndStoreMasterKey): * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::valueForPropertyinStyle): * css/CSSProperties.json: * css/CSSStyleDeclaration.cpp: * css/CSSValueKeywords.in: * css/MediaQueryEvaluator.cpp: (WebCore::prefersReducedMotionEvaluate): * css/StyleBuilderConverter.h: * css/html.css: (video): (input, textarea, keygen, select, button): (#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY): (#if defined(ENABLE_INPUT_TYPE_DATE) && ENABLE_INPUT_TYPE_DATE): (#endif): (#if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT): (textarea): (input:matches([type="radio"], [type="checkbox"])): (input:matches([type="button"], [type="submit"], [type="reset"]), input[type="file"]::-webkit-file-upload-button, button): (input[type="range"]::-webkit-slider-thumb, input[type="range"]::-webkit-media-slider-thumb): (#if !(defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY)): (input[type="checkbox"]): (#endif // defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR): (#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS): Deleted. (#if !(defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS)): Deleted. * css/parser/CSSParserContext.cpp: (WebCore::CSSParserContext::CSSParserContext): * css/parser/CSSParserFastPaths.cpp: (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): (WebCore::CSSParserFastPaths::isKeywordPropertyID): * css/parser/CSSPropertyParser.cpp: (WebCore::cssPropertyID): (WebCore::CSSPropertyParser::parseSingleValue): * css/parser/CSSPropertyParser.h: * css/svg.css: (#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY): (#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS): Deleted. * dom/DeviceMotionController.cpp: * dom/DeviceMotionController.h: * dom/DeviceOrientationController.cpp: (WebCore::DeviceOrientationController::DeviceOrientationController): * dom/DeviceOrientationController.h: * dom/DeviceOrientationData.cpp: * dom/DeviceOrientationData.h: * dom/DeviceOrientationEvent.cpp: * dom/DeviceOrientationEvent.h: * dom/DeviceOrientationEvent.idl: * dom/Document.cpp: (WebCore::Document::~Document): (WebCore::Document::suspendDeviceMotionAndOrientationUpdates): (WebCore::Document::resumeDeviceMotionAndOrientationUpdates): (WebCore::Document::platformSuspendOrStopActiveDOMObjects): * dom/Document.h: * dom/DocumentMarker.h: (WebCore::DocumentMarker::allMarkers): * dom/DocumentMarkerController.cpp: (WebCore::shouldInsertAsSeparateMarker): (WebCore::DocumentMarkerController::shiftMarkers): * dom/DocumentMarkerController.h: * dom/Element.cpp: (WebCore::Element::focus): * dom/Node.cpp: (WebCore::Node::~Node): (WebCore::Node::willBeDeletedFrom): (WebCore::Node::moveNodeToNewDocument): (WebCore::tryAddEventListener): (WebCore::tryRemoveEventListener): (WebCore::Node::defaultEventHandler): (WebCore::Node::willRespondToMouseMoveEvents): (WebCore::Node::willRespondToMouseClickEvents): * dom/Range.cpp: * dom/Range.h: * dom/TreeScope.cpp: (WebCore::absolutePointIfNotClipped): * dom/ViewportArguments.cpp: (WebCore::setViewportFeature): * dom/ViewportArguments.h: * editing/CompositeEditCommand.cpp: (WebCore::EditCommandComposition::unapply): (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers): (WebCore::CompositeEditCommand::moveParagraphs): * editing/Editor.cpp: (WebCore::TemporarySelectionChange::TemporarySelectionChange): (WebCore::TemporarySelectionChange::~TemporarySelectionChange): (WebCore::Editor::handleTextEvent): (WebCore::Editor::Editor): (WebCore::Editor::clear): (WebCore::Editor::insertTextWithoutSendingTextEvent): (WebCore::Editor::setBaseWritingDirection): (WebCore::Editor::setComposition): (WebCore::Editor::showSpellingGuessPanel): (WebCore::Editor::markMisspellingsAfterTypingToWord): (WebCore::Editor::markMisspellingsOrBadGrammar): (WebCore::Editor::changeBackToReplacedString): (WebCore::Editor::updateMarkersForWordsAffectedByEditing): (WebCore::Editor::revealSelectionAfterEditingOperation): (WebCore::Editor::setIgnoreSelectionChanges): (WebCore::Editor::changeSelectionAfterCommand): (WebCore::Editor::shouldChangeSelection const): (WebCore::Editor::respondToChangedSelection): (WebCore::Editor::editorUIUpdateTimerFired): (WebCore::Editor::resolveTextCheckingTypeMask): * editing/Editor.h: * editing/FontAttributes.h: * editing/FrameSelection.cpp: (WebCore::FrameSelection::FrameSelection): (WebCore::FrameSelection::updateDataDetectorsForSelection): (WebCore::FrameSelection::setSelectedRange): (WebCore::FrameSelection::updateAppearance): (WebCore::FrameSelection::shouldDeleteSelection const): (WebCore::FrameSelection::revealSelection): (WebCore::FrameSelection::setSelectionFromNone): (WebCore::FrameSelection::shouldChangeSelection const): * editing/FrameSelection.h: * editing/InsertIntoTextNodeCommand.cpp: * editing/InsertIntoTextNodeCommand.h: * editing/TypingCommand.cpp: (WebCore::TypingCommand::markMisspellingsAfterTyping): (WebCore::TypingCommand::deleteKeyPressed): (WebCore::TypingCommand::forwardDeleteKeyPressed): * editing/TypingCommand.h: * editing/cocoa/DataDetection.h: * editing/cocoa/DataDetection.mm: * editing/cocoa/FontAttributesCocoa.mm: * editing/cocoa/FontShadowCocoa.mm: (WebCore::FontShadow::createShadow const): * editing/cocoa/HTMLConverter.h: * editing/cocoa/HTMLConverter.mm: (_fontForNameAndSize): (_shadowForShadowStyle): (HTMLConverter::computedAttributesForElement): (HTMLConverter::_addAttachmentForElement): (HTMLConverter::_processMetaElementWithName): (HTMLConverter::_processElement): * editing/cocoa/WebContentReaderCocoa.mm: (WebCore::attributesForAttributedStringConversion): (WebCore::WebContentReader::readURL): * editing/ios/DictationCommandIOS.cpp: * editing/ios/DictationCommandIOS.h: * editing/ios/EditorIOS.mm: * editing/mac/FrameSelectionMac.mm: (WebCore::FrameSelection::notifyAccessibilityForSelectionChange): * fileapi/FileCocoa.mm: * history/CachedFrame.cpp: (WebCore::CachedFrameBase::restore): (WebCore::CachedFrame::CachedFrame): * history/CachedPage.cpp: (WebCore::CachedPage::restore): * history/HistoryItem.cpp: (WebCore::HistoryItem::HistoryItem): * history/HistoryItem.h: * history/PageCache.cpp: (WebCore::canCachePage): * html/BaseDateAndTimeInputType.cpp: * html/BaseDateAndTimeInputType.h: * html/ColorInputType.cpp: (WebCore::ColorInputType::isKeyboardFocusable const): * html/HTMLAppletElement.cpp: (WebCore::HTMLAppletElement::updateWidget): * html/HTMLAttachmentElement.h: * html/HTMLCanvasElement.cpp: (WebCore::maxActivePixelMemory): * html/HTMLElement.cpp: (WebCore::HTMLElement::collectStyleForPresentationAttribute): * html/HTMLIFrameElement.h: * html/HTMLImageElement.cpp: * html/HTMLImageElement.h: * html/HTMLInputElement.cpp: * html/HTMLInputElement.h: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::finishInitialization): (WebCore::HTMLMediaElement::registerWithDocument): (WebCore::HTMLMediaElement::unregisterWithDocument): (WebCore::HTMLMediaElement::setVolume): (WebCore::HTMLMediaElement::nextScanRate): (WebCore::HTMLMediaElement::sourceWasAdded): (WebCore::HTMLMediaElement::mediaEngineWasUpdated): (WebCore::HTMLMediaElement::updateVolume): (WebCore::HTMLMediaElement::userCancelledLoad): (WebCore::HTMLMediaElement::mediaSessionTitle const): (WebCore::HTMLMediaElement::purgeBufferedDataIfPossible): * html/HTMLMediaElement.h: * html/HTMLMetaElement.cpp: (WebCore::HTMLMetaElement::process): * html/HTMLObjectElement.cpp: * html/HTMLPlugInElement.h: * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::usesMenuList const): (WebCore::HTMLSelectElement::createElementRenderer): (WebCore::HTMLSelectElement::childShouldCreateRenderer const): (WebCore::HTMLSelectElement::willRespondToMouseClickEvents): (WebCore::HTMLSelectElement::updateListBoxSelection): (WebCore::HTMLSelectElement::scrollToSelection): (WebCore::HTMLSelectElement::setOptionsChangedOnRenderer): (WebCore::HTMLSelectElement::menuListDefaultEventHandler): (WebCore::HTMLSelectElement::defaultEventHandler): * html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::createInnerTextStyle): * html/HTMLTextFormControlElement.cpp: (WebCore::HTMLTextFormControlElement::select): (WebCore::HTMLTextFormControlElement::adjustInnerTextStyle const): * html/HTMLTextFormControlElement.h: * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::parseAttribute): (WebCore::HTMLVideoElement::supportsFullscreen const): * html/HTMLVideoElement.h: * html/ImageDocument.cpp: (WebCore::ImageDocument::ImageDocument): (WebCore::ImageDocument::createDocumentStructure): (WebCore::ImageDocument::imageUpdated): * html/ImageDocument.h: * html/InputType.cpp: * html/InputType.h: * html/MediaDocument.cpp: (WebCore::MediaDocumentParser::createDocumentStructure): * html/MediaElementSession.cpp: (WebCore::MediaElementSession::clientDataBufferingTimerFired): (WebCore::MediaElementSession::showPlaybackTargetPicker): (WebCore::MediaElementSession::wirelessVideoPlaybackDisabled const): (WebCore::MediaElementSession::setHasPlaybackTargetAvailabilityListeners): (WebCore::MediaElementSession::isPlayingToWirelessPlaybackTarget const): (WebCore::MediaElementSession::requiresFullscreenForVideoPlayback const): * html/MediaElementSession.h: * html/PluginDocument.cpp: (WebCore::PluginDocumentParser::createDocumentStructure): * html/RangeInputType.cpp: (WebCore::RangeInputType::handleTouchEvent): * html/RangeInputType.h: * html/SearchInputType.cpp: (WebCore::SearchInputType::addSearchResult): * html/TextFieldInputType.cpp: (WebCore::TextFieldInputType::isKeyboardFocusable const): (WebCore::TextFieldInputType::handleFocusEvent): (WebCore::TextFieldInputType::handleBlurEvent): (WebCore::TextFieldInputType::didSetValueByUserEdit): (WebCore::TextFieldInputType::listAttributeTargetChanged): * html/parser/HTMLParserScheduler.h: (WebCore::HTMLParserScheduler::shouldYieldBeforeToken): * html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processCharacterBufferForInBody): * html/parser/HTMLTreeBuilder.h: * html/shadow/MediaControlElements.cpp: * html/shadow/MediaControlElements.h: * html/shadow/MediaControls.h: * html/shadow/SliderThumbElement.cpp: (WebCore::SliderThumbElement::dragFrom): * html/shadow/SliderThumbElement.h: * html/shadow/TextControlInnerElements.cpp: (WebCore::SearchFieldResultsButtonElement::defaultEventHandler): (WebCore::SearchFieldCancelButtonElement::SearchFieldCancelButtonElement): * html/shadow/TextControlInnerElements.h: * inspector/InspectorController.cpp: (WebCore::InspectorController::setIndicating): * inspector/InspectorFrontendHost.cpp: (WebCore::InspectorFrontendHost::platform): * inspector/PageScriptDebugServer.cpp: (WebCore::PageScriptDebugServer::runEventLoopWhilePaused): * inspector/agents/InspectorTimelineAgent.cpp: (WebCore::currentRunLoop): * loader/DocumentLoader.cpp: * loader/DocumentLoader.h: * loader/DocumentThreadableLoader.cpp: (WebCore::DocumentThreadableLoader::makeCrossOriginAccessRequest): * loader/DocumentWriter.cpp: (WebCore::DocumentWriter::createDocument): * loader/EmptyClients.cpp: * loader/EmptyClients.h: * loader/EmptyFrameLoaderClient.h: * loader/FrameLoader.cpp: (WebCore::FrameLoader::checkCompleted): (WebCore::FrameLoader::willLoadMediaElementURL): (WebCore::FrameLoader::stopForUserCancel): (WebCore::FrameLoader::commitProvisionalLoad): (WebCore::FrameLoader::didFirstLayout): (WebCore::createWindow): * loader/FrameLoader.h: * loader/FrameLoaderClient.h: * loader/HistoryController.cpp: (WebCore::HistoryController::saveScrollPositionAndViewStateToItem): (WebCore::HistoryController::restoreScrollPositionAndViewState): * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::init): (WebCore::ResourceLoader::willSendRequestInternal): * loader/ResourceLoader.h: * loader/SubframeLoader.cpp: (WebCore::SubframeLoader::loadPlugin): * loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::create): (WebCore::SubresourceLoader::willCancel): (WebCore::SubresourceLoader::notifyDone): (WebCore::SubresourceLoader::releaseResources): * loader/SubresourceLoader.h: * loader/cache/CachedImage.cpp: * page/CaptionUserPreferencesMediaAF.cpp: (WebCore::userCaptionPreferencesChangedNotificationCallback): * page/Chrome.cpp: (WebCore::Chrome::createColorChooser): (WebCore::Chrome::dispatchViewportPropertiesDidChange const): (WebCore::Chrome::didReceiveDocType): * page/Chrome.h: * page/ChromeClient.h: * page/DOMTimer.cpp: (WebCore::DOMTimer::install): (WebCore::DOMTimer::fired): * page/DOMWindow.cpp: (WebCore::DOMWindow::outerHeight const): (WebCore::DOMWindow::outerWidth const): (WebCore::DOMWindow::clearTimeout): (WebCore::DOMWindow::addEventListener): (WebCore::DOMWindow::resetAllGeolocationPermission): (WebCore::DOMWindow::removeEventListener): (WebCore::DOMWindow::removeAllEventListeners): * page/DOMWindow.h: * page/DeprecatedGlobalSettings.cpp: (WebCore::DeprecatedGlobalSettings::globalConstRedeclarationShouldThrow): * page/DeprecatedGlobalSettings.h: * page/DragController.cpp: * page/EditorClient.h: * page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEventSingleClick): (WebCore::EventHandler::handleMouseReleaseEvent): (WebCore::EventHandler::startPanScrolling): (WebCore::EventHandler::handleMouseMoveEvent): * page/EventHandler.h: * page/Frame.cpp: (WebCore::Frame::Frame): (WebCore::Frame::willDetachPage): * page/Frame.h: * page/FrameView.cpp: (WebCore::FrameView::FrameView): (WebCore::FrameView::clear): (WebCore::FrameView::effectiveFrameFlattening const): (WebCore::FrameView::flushCompositingStateForThisFrame): (WebCore::FrameView::scrollPositionRespectingCustomFixedPosition const): (WebCore::FrameView::viewportConstrainedVisibleContentRect const): (WebCore::FrameView::updateContentsSize): (WebCore::FrameView::computeScrollability const): (WebCore::FrameView::adjustTiledBackingCoverage): (WebCore::FrameView::calculateExtendedBackgroundMode const): (WebCore::FrameView::performPostLayoutTasks): (WebCore::FrameView::sizeForResizeEvent const): (WebCore::FrameView::sendResizeEventIfNeeded): * page/FrameView.h: * page/FrameViewLayoutContext.cpp: (WebCore::FrameViewLayoutContext::layout): * page/MemoryRelease.cpp: (WebCore::releaseCriticalMemory): (WebCore::releaseMemory): * page/Navigator.cpp: * page/Navigator.h: * page/NavigatorBase.cpp: * page/Page.cpp: (WebCore::Page::setIsVisibleInternal): (WebCore::Page::showPlaybackTargetPicker): * page/Page.h: * page/PerformanceMonitor.cpp: (WebCore::PerformanceMonitor::measurePostLoadMemoryUsage): * page/ResourceUsageOverlay.cpp: (WebCore::ResourceUsageOverlay::initialize): * page/SecurityOrigin.cpp: (WebCore::SecurityOrigin::canDisplay const): * page/SettingsBase.cpp: * page/SettingsBase.h: * page/SettingsDefaultValues.h: (WebCore::editingBehaviorTypeForPlatform): * page/TextIndicator.cpp: (WebCore::TextIndicator::createWithRange): (WebCore::initializeIndicator): * page/ViewportConfiguration.cpp: (WebCore::ViewportConfiguration::textDocumentParameters): * page/cocoa/MemoryReleaseCocoa.mm: (WebCore::platformReleaseMemory): (WebCore::jettisonExpensiveObjectsOnTopLevelNavigation): * page/cocoa/ResourceUsageOverlayCocoa.mm: (WebCore::showText): * page/cocoa/ResourceUsageThreadCocoa.mm: (WebCore::vmPageSize): * page/cocoa/SettingsBaseCocoa.mm: * page/ios/EventHandlerIOS.mm: * page/ios/FrameIOS.mm: * page/mac/ChromeMac.mm: * page/mac/PageMac.mm: (WebCore::Page::platformInitialize): * page/mac/WebCoreFrameView.h: * page/scrolling/AsyncScrollingCoordinator.cpp: (WebCore::AsyncScrollingCoordinator::reconcileScrollingState): * page/scrolling/ScrollingTree.h: * page/scrolling/ScrollingTreeScrollingNode.h: * page/scrolling/ScrollingTreeScrollingNodeDelegate.cpp: * page/scrolling/ScrollingTreeScrollingNodeDelegate.h: * page/scrolling/ios/ScrollingCoordinatorIOS.h: * page/scrolling/ios/ScrollingCoordinatorIOS.mm: * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.h: * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm: * page/scrolling/ios/ScrollingTreeIOS.cpp: * page/scrolling/ios/ScrollingTreeIOS.h: * platform/ContentFilterUnblockHandler.h: * platform/Cursor.cpp: * platform/Cursor.h: * platform/DragImage.cpp: * platform/DragImage.h: * platform/FileChooser.cpp: * platform/FileChooser.h: * platform/HostWindow.h: * platform/LocalizedStrings.cpp: * platform/LocalizedStrings.h: * platform/LowPowerModeNotifier.cpp: * platform/LowPowerModeNotifier.h: * platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedImageMIMETypes): (WebCore::initializeSupportedNonImageMimeTypes): (WebCore::initializeUnsupportedTextMIMETypes): * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformKeyboardEvent.h: * platform/PlatformPasteboard.h: * platform/PlatformScreen.h: * platform/RemoteCommandListener.cpp: * platform/RuntimeApplicationChecks.h: * platform/ScrollAnimator.cpp: * platform/ScrollView.cpp: (WebCore::ScrollView::contentsScrollPosition const): (WebCore::ScrollView::setContentsScrollPosition): (WebCore::ScrollView::visibleContentRectInternal const): * platform/ScrollView.h: * platform/ScrollableArea.cpp: * platform/ScrollableArea.h: * platform/Scrollbar.cpp: * platform/Scrollbar.h: * platform/ThreadTimers.cpp: * platform/Timer.cpp: (WebCore::shouldSuppressThreadSafetyCheck): * platform/Timer.h: (WebCore::TimerBase::isActive const): * platform/ValidationBubble.h: * platform/Widget.h: * platform/audio/AudioHardwareListener.cpp: (WebCore::AudioHardwareListener::AudioHardwareListener): * platform/audio/PlatformMediaSession.h: * platform/audio/PlatformMediaSessionManager.h: * platform/audio/ios/AudioDestinationIOS.cpp: * platform/audio/ios/AudioDestinationIOS.h: * platform/audio/ios/AudioFileReaderIOS.cpp: * platform/audio/ios/AudioFileReaderIOS.h: * platform/audio/ios/AudioSessionIOS.mm: (WebCore::AudioSession::setCategory): (WebCore::AudioSession::routingContextUID const): * platform/audio/ios/MediaSessionManagerIOS.h: * platform/audio/ios/MediaSessionManagerIOS.mm: * platform/cf/MainThreadSharedTimerCF.cpp: (WebCore::setupPowerObserver): (WebCore::MainThreadSharedTimer::setFireInterval): * platform/cf/URLCF.cpp: * platform/cocoa/ContentFilterUnblockHandlerCocoa.mm: (WebCore::ContentFilterUnblockHandler::wrapWithDecisionHandler): (WebCore::ContentFilterUnblockHandler::needsUIProcess const): (WebCore::ContentFilterUnblockHandler::encode const): (WebCore::ContentFilterUnblockHandler::decode): (WebCore::ContentFilterUnblockHandler::canHandleRequest const): (WebCore::dispatchToMainThread): (WebCore::ContentFilterUnblockHandler::requestUnblockAsync const): * platform/cocoa/DataDetectorsCoreSoftLink.h: * platform/cocoa/DataDetectorsCoreSoftLink.mm: * platform/cocoa/KeyEventCocoa.mm: * platform/cocoa/LocalizedStringsCocoa.mm: (WebCore::localizedNSString): * platform/cocoa/NetworkExtensionContentFilter.mm: (WebCore::NetworkExtensionContentFilter::initialize): * platform/cocoa/ParentalControlsContentFilter.mm: (WebCore::ParentalControlsContentFilter::unblockHandler const): * platform/cocoa/PasteboardCocoa.mm: (WebCore::Pasteboard::fileContentState): * platform/cocoa/PlatformView.h: * platform/cocoa/PlaybackSessionInterface.h: * platform/cocoa/PlaybackSessionModel.h: * platform/cocoa/PlaybackSessionModelMediaElement.h: * platform/cocoa/PlaybackSessionModelMediaElement.mm: * platform/cocoa/RuntimeApplicationChecksCocoa.mm: * platform/cocoa/SystemVersion.mm: (WebCore::createSystemMarketingVersion): * platform/cocoa/VideoFullscreenChangeObserver.h: * platform/cocoa/VideoFullscreenModel.h: * platform/cocoa/VideoFullscreenModelVideoElement.h: * platform/cocoa/VideoFullscreenModelVideoElement.mm: * platform/gamepad/cocoa/GameControllerGamepad.h: * platform/gamepad/cocoa/GameControllerGamepad.mm: * platform/gamepad/cocoa/GameControllerGamepadProvider.h: * platform/gamepad/cocoa/GameControllerGamepadProvider.mm: * platform/graphics/BitmapImage.h: * platform/graphics/Color.h: * platform/graphics/ComplexTextController.cpp: * platform/graphics/DisplayRefreshMonitor.cpp: (WebCore::DisplayRefreshMonitor::createDefaultDisplayRefreshMonitor): * platform/graphics/FloatSize.h: * platform/graphics/Font.cpp: (WebCore::Font::Font): (WebCore::createAndFillGlyphPage): * platform/graphics/Font.h: * platform/graphics/FontCache.cpp: (WebCore::FontCache::getCachedFontPlatformData): (WebCore::FontCache::fontForPlatformData): (WebCore::FontCache::purgeInactiveFontData): (WebCore::FontCache::inactiveFontCount): * platform/graphics/FontCascade.cpp: (WebCore::FontCascade::FontCascade): * platform/graphics/FontCascadeFonts.h: * platform/graphics/FontDescription.h: * platform/graphics/FontPlatformData.h: (WebCore::FontPlatformData::isEmoji const): * platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::drawImage): * platform/graphics/GraphicsContext3D.h: * platform/graphics/GraphicsLayer.h: * platform/graphics/Icon.h: * platform/graphics/Image.cpp: (WebCore::Image::drawTiled): (WebCore::Image::computeIntrinsicDimensions): * platform/graphics/Image.h: * platform/graphics/IntPoint.h: * platform/graphics/IntRect.h: * platform/graphics/IntSize.h: * platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::isAvailable): (WebCore::MediaPlayer::volumeChanged): * platform/graphics/MediaPlayer.h: * platform/graphics/MediaPlayerPrivate.h: * platform/graphics/NamedImageGeneratedImage.cpp: (WebCore::NamedImageGeneratedImage::draw): * platform/graphics/StringTruncator.cpp: (WebCore::centerTruncateToBuffer): (WebCore::rightTruncateToBuffer): (WebCore::rightClipToWordBuffer): * platform/graphics/TextTrackRepresentation.cpp: * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: * platform/graphics/avfoundation/MediaPlaybackTargetMac.mm: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::supportsFullscreen const): (WebCore::MediaPlayerPrivateAVFoundation::rateChanged): * platform/graphics/avfoundation/WebMediaSessionManagerMac.cpp: * platform/graphics/avfoundation/WebMediaSessionManagerMac.h: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h: * platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm: (WebCore::CDMInstanceFairPlayStreamingAVFObjC::supportsPersistentKeys): * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm: * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.h: * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerLayer): (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): (WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenMode): (WebCore::MediaPlayerPrivateAVFoundationObjC::setVolume): (WebCore::MediaPlayerPrivateAVFoundationObjC::seekableTimeRangesLastModifiedTime const): (WebCore::MediaPlayerPrivateAVFoundationObjC::liveUpdateInterval const): (WebCore::MediaPlayerPrivateAVFoundationObjC::maximumDurationToCacheMediaTime const): (WebCore::MediaPlayerPrivateAVFoundationObjC::didPassCORSAccessCheck const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wouldTaintOrigin const): (WebCore::MediaPlayerPrivateAVFoundationObjC::isCurrentPlaybackTargetWireless const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessPlaybackTargetType const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessPlaybackTargetName const): (WebCore::MediaPlayerPrivateAVFoundationObjC::updateDisableExternalPlayback): (WebCore::MediaPlayerPrivateAVFoundationObjC::setShouldDisableSleep): * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm: (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::supportsPictureInPicture const): * platform/graphics/avfoundation/objc/OutOfBandTextTrackPrivateAVF.h: * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::flushCompositingState): (WebCore::GraphicsLayerCA::computeVisibleAndCoverageRect const): (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes): * platform/graphics/ca/GraphicsLayerCA.h: * platform/graphics/ca/PlatformCALayer.h: * platform/graphics/ca/TileController.cpp: (WebCore::TileController::~TileController): (WebCore::TileController::adjustTileCoverageRect const): * platform/graphics/ca/TileController.h: * platform/graphics/ca/TileGrid.cpp: (WebCore::TileGrid::startedNewCohort): (WebCore::TileGrid::platformCALayerPaintContents): * platform/graphics/ca/TileGrid.h: * platform/graphics/ca/cocoa/LayerFlushSchedulerMac.cpp: (WebCore::currentRunLoop): * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: (-[WebAnimationDelegate animationDidStart:]): (-[WebAnimationDelegate animationDidStop:finished:]): (WebCore::PlatformCALayerCocoa::setContentsScale): (WebCore::layerContentsFormat): (WebCore::PlatformCALayer::drawLayerContents): (WebCore::PlatformCALayerCocoa::backingStoreBytesPerPixel const): * platform/graphics/cg/GradientCG.cpp: (WebCore::Gradient::paint): * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::displayP3ColorSpaceRef): (WebCore::GraphicsContext::drawNativeImage): (WebCore::drawPatternCallback): (WebCore::GraphicsContext::drawPattern): (WebCore::GraphicsContext::drawLine): (WebCore::applyShadowOffsetWorkaroundIfNeeded): (WebCore::GraphicsContext::setURLForRect): * platform/graphics/cg/ImageBufferCG.cpp: (WebCore::jpegUTI): * platform/graphics/cg/ImageBufferDataCG.cpp: * platform/graphics/cg/ImageDecoderCG.cpp: (WebCore::ImageDecoderCG::createFrameImageAtIndex): * platform/graphics/cg/ImageSourceCGMac.mm: * platform/graphics/cg/PDFDocumentImage.cpp: * platform/graphics/cocoa/ColorCocoa.h: * platform/graphics/cocoa/ColorCocoa.mm: * platform/graphics/cocoa/FontCacheCoreText.cpp: (WebCore::FontCache::similarFont): (WebCore::computeNecessarySynthesis): (WebCore::FontDatabase::fontForPostScriptName): (WebCore::variationCapabilitiesForFontDescriptor): (WebCore::lookupFallbackFont): (WebCore::FontCache::systemFallbackForCharacters): (WebCore::FontCache::lastResortFallbackFont): * platform/graphics/cocoa/FontCascadeCocoa.mm: (WebCore::FontCascade::drawGlyphs): (WebCore::FontCascade::fontForCombiningCharacterSequence const): * platform/graphics/cocoa/FontCocoa.mm: (WebCore::Font::platformInit): (WebCore::Font::variantCapsSupportsCharacterForSynthesis const): (WebCore::Font::determinePitch): * platform/graphics/cocoa/FontDescriptionCocoa.cpp: (WebCore::FontCascadeDescription::effectiveFamilyCount const): (WebCore::FontCascadeDescription::effectiveFamilyAt const): * platform/graphics/cocoa/FontPlatformDataCocoa.mm: (WebCore::FontPlatformData::FontPlatformData): (WebCore::cascadeToLastResortAndVariationsFontDescriptor): * platform/graphics/cocoa/GraphicsContext3DCocoa.mm: (WebCore::GraphicsContext3D::GraphicsContext3D): (WebCore::GraphicsContext3D::texImageIOSurface2D): * platform/graphics/cocoa/GraphicsContextCocoa.mm: * platform/graphics/cocoa/IOSurface.mm: (WebCore::optionsForBiplanarSurface): (WebCore::optionsFor32BitSurface): (WebCore::IOSurface::maximumSize): (WebCore::IOSurface::surfaceID const): * platform/graphics/cocoa/SystemFontDatabaseCoreText.cpp: (WebCore::SystemFontDatabaseCoreText::cascadeList): * platform/graphics/cocoa/TextTrackRepresentationCocoa.h: * platform/graphics/cocoa/TextTrackRepresentationCocoa.mm: (-[WebCoreTextTrackRepresentationCocoaHelper observeValueForKeyPath:ofObject:change:context:]): * platform/graphics/cocoa/WebMetalLayer.h: * platform/graphics/cv/ImageTransferSessionVT.mm: (WebCore::cvPixelFormatOpenGLKey): (WebCore::ImageTransferSessionVT::ImageTransferSessionVT): * platform/graphics/cv/VideoTextureCopierCV.h: * platform/graphics/ios/DisplayRefreshMonitorIOS.h: * platform/graphics/ios/DisplayRefreshMonitorIOS.mm: * platform/graphics/ios/FontAntialiasingStateSaver.h: (WebCore::FontAntialiasingStateSaver::FontAntialiasingStateSaver): (WebCore::FontAntialiasingStateSaver::setup): (WebCore::FontAntialiasingStateSaver::restore): * platform/graphics/ios/FontCacheIOS.mm: * platform/graphics/ios/IconIOS.mm: * platform/graphics/mac/ComplexTextControllerCoreText.mm: (WebCore::ComplexTextController::collectComplexTextRunsForCharacters): * platform/graphics/mac/FloatPointMac.mm: * platform/graphics/mac/FloatRectMac.mm: * platform/graphics/mac/FloatSizeMac.mm: * platform/graphics/mac/FontCustomPlatformData.cpp: (WebCore::createFontCustomPlatformData): * platform/graphics/mac/ImageMac.mm: * platform/graphics/mac/IntPointMac.mm: * platform/graphics/mac/IntRectMac.mm: * platform/graphics/mac/IntSizeMac.mm: * platform/graphics/mac/WebKitNSImageExtras.h: * platform/graphics/mac/WebKitNSImageExtras.mm: * platform/graphics/mac/WebLayer.mm: (-[WebSimpleLayer display]): (-[WebSimpleLayer drawInContext:]): * platform/graphics/opengl/Extensions3DOpenGL.cpp: (WebCore::Extensions3DOpenGL::supportsExtension): * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp: * platform/graphics/transforms/TransformationMatrix.cpp: (WebCore::TransformationMatrix::multiply): * platform/graphics/transforms/TransformationMatrix.h: * platform/ios/CursorIOS.cpp: * platform/ios/Device.cpp: * platform/ios/Device.h: * platform/ios/DeviceMotionClientIOS.h: * platform/ios/DeviceMotionClientIOS.mm: (WebCore::DeviceMotionClientIOS::motionChanged): * platform/ios/DeviceOrientationClientIOS.h: * platform/ios/DeviceOrientationClientIOS.mm: (WebCore::DeviceOrientationClientIOS::orientationChanged): * platform/ios/DragImageIOS.mm: * platform/ios/EventLoopIOS.mm: * platform/ios/KeyEventIOS.mm: * platform/ios/LegacyTileCache.h: * platform/ios/LegacyTileCache.mm: * platform/ios/LegacyTileGrid.h: * platform/ios/LegacyTileGrid.mm: * platform/ios/LegacyTileGridTile.h: * platform/ios/LegacyTileGridTile.mm: * platform/ios/LegacyTileLayer.h: * platform/ios/LegacyTileLayer.mm: * platform/ios/LegacyTileLayerPool.h: * platform/ios/LegacyTileLayerPool.mm: * platform/ios/LowPowerModeNotifierIOS.mm: * platform/ios/PasteboardIOS.mm: * platform/ios/PlatformEventFactoryIOS.h: * platform/ios/PlatformEventFactoryIOS.mm: * platform/ios/PlatformPasteboardIOS.mm: * platform/ios/PlatformScreenIOS.mm: * platform/ios/PlatformSpeechSynthesizerIOS.mm: * platform/ios/PlaybackSessionInterfaceAVKit.h: * platform/ios/PlaybackSessionInterfaceAVKit.mm: * platform/ios/RemoteCommandListenerIOS.h: * platform/ios/RemoteCommandListenerIOS.mm: * platform/ios/SSLKeyGeneratorIOS.cpp: * platform/ios/ScrollAnimatorIOS.h: * platform/ios/ScrollAnimatorIOS.mm: * platform/ios/ScrollViewIOS.mm: (WebCore::ScrollView::platformSetContentsSize): * platform/ios/ScrollbarThemeIOS.h: * platform/ios/ScrollbarThemeIOS.mm: * platform/ios/SystemMemoryIOS.cpp: (WebCore::systemMemoryLevel): * platform/ios/ThemeIOS.h: * platform/ios/ThemeIOS.mm: * platform/ios/TileControllerMemoryHandlerIOS.cpp: * platform/ios/TileControllerMemoryHandlerIOS.h: * platform/ios/UserAgentIOS.mm: (WebCore::deviceNameForUserAgent): * platform/ios/ValidationBubbleIOS.mm: * platform/ios/VideoFullscreenInterfaceAVKit.h: * platform/ios/VideoFullscreenInterfaceAVKit.mm: (WebCore::supportsPictureInPicture): * platform/ios/WebAVPlayerController.h: * platform/ios/WebAVPlayerController.mm: * platform/ios/WebBackgroundTaskController.h: * platform/ios/WebBackgroundTaskController.mm: * platform/ios/WebCoreMotionManager.h: * platform/ios/WebCoreMotionManager.mm: * platform/ios/WebEvent.h: * platform/ios/WebEvent.mm: * platform/ios/WebSQLiteDatabaseTrackerClient.h: * platform/ios/WebSQLiteDatabaseTrackerClient.mm: * platform/ios/WebVideoFullscreenControllerAVKit.h: * platform/ios/WebVideoFullscreenControllerAVKit.mm: (VideoFullscreenControllerContext::requestUpdateInlineRect): (VideoFullscreenControllerContext::requestVideoContentLayer): (VideoFullscreenControllerContext::returnVideoContentLayer): (VideoFullscreenControllerContext::didSetupFullscreen): (VideoFullscreenControllerContext::didExitFullscreen): * platform/ios/WidgetIOS.mm: * platform/ios/wak/FloatingPointEnvironment.cpp: * platform/ios/wak/FloatingPointEnvironment.h: * platform/ios/wak/WAKAppKitStubs.m: * platform/ios/wak/WAKClipView.m: * platform/ios/wak/WAKResponder.m: * platform/ios/wak/WAKScrollView.mm: * platform/ios/wak/WAKView.mm: * platform/ios/wak/WAKWindow.mm: * platform/ios/wak/WKContentObservation.cpp: * platform/ios/wak/WKGraphics.mm: * platform/ios/wak/WKUtilities.c: * platform/ios/wak/WKView.mm: * platform/ios/wak/WebCoreThread.mm: * platform/ios/wak/WebCoreThreadRun.cpp: * platform/ios/wak/WebCoreThreadSystemInterface.cpp: * platform/mac/DragDataMac.mm: (WebCore::rtfPasteboardType): (WebCore::rtfdPasteboardType): (WebCore::stringPasteboardType): (WebCore::urlPasteboardType): (WebCore::htmlPasteboardType): (WebCore::colorPasteboardType): (WebCore::pdfPasteboardType): (WebCore::tiffPasteboardType): (WebCore::DragData::containsURL const): * platform/mac/MediaRemoteSoftLink.cpp: * platform/mac/MediaRemoteSoftLink.h: * platform/mac/SuddenTermination.mm: * platform/mac/WebCoreFullScreenPlaceholderView.mm: * platform/mac/WebCoreFullScreenWarningView.h: * platform/mac/WebCoreFullScreenWarningView.mm: * platform/mac/WebCoreFullScreenWindow.h: * platform/mac/WebCoreFullScreenWindow.mm: * platform/mac/WebNSAttributedStringExtras.mm: * platform/mediastream/RealtimeMediaSourceFactory.h: * platform/mediastream/RealtimeVideoSource.cpp: (WebCore::RealtimeVideoSource::~RealtimeVideoSource): (WebCore::RealtimeVideoSource::prepareToProduceData): * platform/mediastream/ios/AVAudioSessionCaptureDevice.h: * platform/mediastream/ios/AVAudioSessionCaptureDevice.mm: * platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.h: * platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm: * platform/mediastream/ios/CoreAudioCaptureSourceIOS.h: * platform/mediastream/ios/CoreAudioCaptureSourceIOS.mm: * platform/mediastream/libwebrtc/LibWebRTCMacros.h: * platform/mediastream/mac/AVCaptureDeviceManager.mm: (WebCore::deviceIsAvailable): * platform/mediastream/mac/AVMediaCaptureSource.mm: (WebCore::AVMediaCaptureSource::AVMediaCaptureSource): (WebCore::AVMediaCaptureSource::stopProducingData): (-[WebCoreAVMediaCaptureSourceObserver addNotificationObservers]): (-[WebCoreAVMediaCaptureSourceObserver removeNotificationObservers]): * platform/mediastream/mac/AVVideoCaptureSource.mm: (WebCore::AVVideoCaptureSource::AVVideoCaptureSource): (WebCore::AVVideoCaptureSource::~AVVideoCaptureSource): (WebCore::AVVideoCaptureSource::stopProducingData): (WebCore::AVVideoCaptureSource::prefersPreset): (WebCore::sensorOrientation): (WebCore::AVVideoCaptureSource::setupCaptureSession): (WebCore::AVVideoCaptureSource::monitorOrientation): (-[WebCoreAVVideoCaptureSourceObserver addNotificationObservers]): (-[WebCoreAVVideoCaptureSourceObserver removeNotificationObservers]): * platform/mediastream/mac/AudioTrackPrivateMediaStreamCocoa.cpp: (WebCore::AudioTrackPrivateMediaStreamCocoa::createAudioUnit): * platform/mediastream/mac/CoreAudioCaptureSource.cpp: (WebCore::CoreAudioSharedUnit::setupAudioUnit): (WebCore::CoreAudioCaptureSource::create): (WebCore::CoreAudioCaptureSource::CoreAudioCaptureSource): (WebCore::CoreAudioCaptureSource::~CoreAudioCaptureSource): (WebCore::CoreAudioCaptureSource::startProducingData): * platform/mediastream/mac/CoreAudioCaptureSource.h: * platform/mediastream/mac/DisplayCaptureSourceCocoa.cpp: (WebCore::DisplayCaptureSourceCocoa::~DisplayCaptureSourceCocoa): (WebCore::DisplayCaptureSourceCocoa::startProducingData): * platform/mediastream/mac/RealtimeIncomingVideoSourceCocoa.mm: (WebCore::RealtimeIncomingVideoSourceCocoa::pixelBufferPool): * platform/mediastream/mac/RealtimeMediaSourceCenterMac.cpp: * platform/mock/MediaPlaybackTargetMock.cpp: * platform/mock/MediaPlaybackTargetMock.h: * platform/mock/MediaPlaybackTargetPickerMock.cpp: * platform/mock/MediaPlaybackTargetPickerMock.h: * platform/mock/MockRealtimeAudioSource.cpp: (WebCore::MockRealtimeAudioSource::~MockRealtimeAudioSource): (WebCore::MockRealtimeAudioSource::startProducingData): * platform/mock/MockRealtimeMediaSourceCenter.cpp: * platform/mock/MockRealtimeVideoSource.cpp: * platform/network/CredentialStorage.cpp: * platform/network/NetworkStateNotifier.h: * platform/network/ResourceHandle.cpp: (WebCore::builtinResourceHandleConstructorMap): * platform/network/ResourceHandle.h: * platform/network/ResourceHandleClient.h: * platform/network/ResourceRequestBase.cpp: * platform/network/ResourceRequestBase.h: * platform/network/cf/DNSResolveQueueCFNet.cpp: * platform/network/cf/ProxyServerCFNet.cpp: * platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::ResourceHandle::createCFURLConnection): * platform/network/cf/ResourceRequest.h: (WebCore::ResourceRequest::resourcePrioritiesEnabled): * platform/network/cf/ResourceRequestCFNet.cpp: (WebCore::ResourceRequest::doUpdatePlatformRequest): (WebCore::ResourceRequest::doUpdateResourceRequest): * platform/network/cf/SocketStreamHandleImplCFNet.cpp: (WebCore::callbacksRunLoop): (WebCore::copyCONNECTProxyResponse): * platform/network/cocoa/CookieCocoa.mm: (WebCore::Cookie::operator NSHTTPCookie * _Nullable const): * platform/network/cocoa/NetworkStorageSessionCocoa.mm: (WebCore::cookiesForURL): (WebCore::setHTTPCookiesForURL): * platform/network/cocoa/ResourceRequestCocoa.mm: (WebCore::ResourceRequest::doUpdateResourceRequest): (WebCore::ResourceRequest::doUpdatePlatformRequest): * platform/network/ios/NetworkStateNotifierIOS.mm: * platform/network/ios/WebCoreURLResponseIOS.h: * platform/network/ios/WebCoreURLResponseIOS.mm: * platform/network/mac/ResourceErrorMac.mm: * platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::createNSURLConnection): (WebCore::ResourceHandle::start): (WebCore::ResourceHandle::platformLoadResourceSynchronously): (WebCore::ResourceHandle::didReceiveAuthenticationChallenge): * platform/network/mac/UTIUtilities.mm: * platform/sql/SQLiteDatabase.h: (WebCore::SQLiteDatabase::sqlite3Handle const): * platform/sql/SQLiteFileSystem.cpp: * platform/sql/SQLiteFileSystem.h: * platform/sql/SQLiteTransaction.cpp: (WebCore::SQLiteTransaction::begin): (WebCore::SQLiteTransaction::commit): (WebCore::SQLiteTransaction::rollback): (WebCore::SQLiteTransaction::stop): * platform/text/PlatformLocale.cpp: * platform/text/PlatformLocale.h: * platform/text/ios/LocalizedDateCache.h: * platform/text/ios/LocalizedDateCache.mm: * platform/text/ios/TextEncodingRegistryIOS.mm: * platform/text/mac/LocaleMac.h: * platform/text/mac/LocaleMac.mm: * plugins/PluginViewBase.h: * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paintPlatformDocumentMarker): (WebCore::InlineTextBox::resolveStyleForMarkedText): (WebCore::InlineTextBox::collectMarkedTextsForDocumentMarkers): * rendering/MarkedText.h: * rendering/RenderBlock.cpp: (WebCore::RenderBlock::paint): * rendering/RenderBox.cpp: (WebCore::RenderBox::paintBoxDecorations): (WebCore::allowMinMaxPercentagesInAutoHeightBlocksQuirk): * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::decodingModeForImageDraw const): * rendering/RenderButton.cpp: * rendering/RenderButton.h: * rendering/RenderElement.cpp: (WebCore::RenderElement::styleWillChange): (WebCore::RenderElement::styleDidChange): * rendering/RenderEmbeddedObject.cpp: (WebCore::RenderEmbeddedObject::allowsAcceleratedCompositing const): (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReason): (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReasonWithDescription): * rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::maxFilenameWidth const): (WebCore::RenderFileUploadControl::paintObject): * rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::positionFrames): * rendering/RenderIFrame.h: * rendering/RenderImage.cpp: (WebCore::RenderImage::paintAreaElementFocusRing): * rendering/RenderImage.h: * rendering/RenderInline.cpp: * rendering/RenderInline.h: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::RenderLayer): (WebCore::canCreateStackingContext): (WebCore::RenderLayer::canUseAcceleratedTouchScrolling const): (WebCore::RenderLayer::scrollTo): (WebCore::RenderLayer::scrollRectToVisible): (WebCore::RenderLayer::updateScrollInfoAfterLayout): (WebCore::RenderLayer::showsOverflowControls const): (WebCore::RenderLayer::calculateClipRects const): * rendering/RenderLayer.h: * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer): (WebCore::RenderLayerBacking::shouldClipCompositedBounds const): (WebCore::RenderLayerBacking::updateConfiguration): (WebCore::RenderLayerBacking::computeParentGraphicsLayerRect const): (WebCore::RenderLayerBacking::updateGeometry): (WebCore::RenderLayerBacking::paintsIntoWindow const): (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect): (WebCore::RenderLayerBacking::paintIntoLayer): * rendering/RenderLayerBacking.h: * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::visibleRectForLayerFlushing const): (WebCore::RenderLayerCompositor::flushPendingLayerChanges): (WebCore::RenderLayerCompositor::updateCustomLayersAfterFlush): (WebCore::RenderLayerCompositor::didFlushChangesForLayer): (WebCore::RenderLayerCompositor::computeCompositingRequirements): (WebCore::RenderLayerCompositor::setIsInWindow): (WebCore::RenderLayerCompositor::requiresCompositingForScrollableFrame const): (WebCore::RenderLayerCompositor::isAsyncScrollableStickyLayer const): (WebCore::RenderLayerCompositor::requiresCompositingForOverflowScrolling const): (WebCore::RenderLayerCompositor::contentsScaleMultiplierForNewTiles const): (WebCore::RenderLayerCompositor::ensureRootLayer): (WebCore::RenderLayerCompositor::computeStickyViewportConstraints const): (WebCore::RenderLayerCompositor::willRemoveScrollingLayerWithBacking): (WebCore::RenderLayerCompositor::didAddScrollingLayer): * rendering/RenderLayerCompositor.h: * rendering/RenderLayerModelObject.cpp: (WebCore::RenderLayerModelObject::shouldPlaceBlockDirectionScrollbarOnLeft const): * rendering/RenderLineBreak.cpp: * rendering/RenderLineBreak.h: * rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::RenderMenuList): (WebCore::RenderMenuList::willBeDestroyed): (WebCore::RenderMenuList::adjustInnerStyle): (RenderMenuList::updateFromElement): (RenderMenuList::setTextFromOption): (RenderMenuList::hidePopup): (RenderMenuList::popupDidHide): * rendering/RenderMenuList.h: * rendering/RenderObject.cpp: (WebCore::RenderObject::shouldApplyCompositedContainerScrollsForRepaint): (WebCore::RenderObject::destroy): * rendering/RenderObject.h: * rendering/RenderSearchField.cpp: (WebCore::RenderSearchField::itemText const): * rendering/RenderText.cpp: (WebCore::RenderText::setRenderedText): * rendering/RenderText.h: * rendering/RenderTextControl.cpp: * rendering/RenderTextControl.h: * rendering/RenderTextControlMultiLine.cpp: (WebCore::RenderTextControlMultiLine::getAverageCharWidth): * rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::layout): (WebCore::RenderTextControlSingleLine::getAverageCharWidth): (WebCore::RenderTextControlSingleLine::preferredContentLogicalWidth const): * rendering/RenderTextLineBoxes.cpp: (WebCore::lineDirectionPointFitsInBox): (WebCore::RenderTextLineBoxes::positionForPoint const): * rendering/RenderTheme.cpp: (WebCore::RenderTheme::paintBorderOnly): * rendering/RenderThemeIOS.h: * rendering/RenderThemeIOS.mm: (WebCore::arKitBundle): * rendering/RenderView.cpp: (WebCore::RenderView::availableLogicalHeight const): (WebCore::RenderView::clientLogicalWidthForFixedPosition const): (WebCore::RenderView::clientLogicalHeightForFixedPosition const): (WebCore::RenderView::repaintViewRectangle const): * rendering/RenderWidget.cpp: (WebCore::RenderWidget::willBeDestroyed): * rendering/RootInlineBox.cpp: (WebCore::RootInlineBox::selectionTop const): (WebCore::RootInlineBox::selectionBottom const): * rendering/style/RenderStyle.h: * rendering/style/StyleRareInheritedData.cpp: (WebCore::StyleRareInheritedData::StyleRareInheritedData): (WebCore::StyleRareInheritedData::operator== const): * rendering/style/StyleRareInheritedData.h: * rendering/updating/RenderTreeUpdater.cpp: (WebCore::RenderTreeUpdater::updateElementRenderer): * style/StyleResolveForDocument.cpp: (WebCore::Style::resolveForDocument): * testing/Internals.cpp: (WebCore::Internals::getCurrentCursorInfo): (WebCore::Internals::isSelectPopupVisible): (WebCore::Internals::setQuickLookPassword): * testing/Internals.mm: (WebCore::Internals::userPrefersReducedMotion const): * testing/js/WebCoreTestSupportPrefix.h: * workers/WorkerThread.cpp: (WebCore::WorkerThread::workerThread): Source/WebCore/PAL: * pal/cf/CoreMediaSoftLink.cpp: * pal/cf/CoreMediaSoftLink.h: * pal/ios/UIKitSoftLink.h: * pal/ios/UIKitSoftLink.mm: * pal/spi/cf/CFNetworkSPI.h: * pal/spi/cocoa/AVKitSPI.h: * pal/spi/cocoa/CFNSURLConnectionSPI.h: * pal/spi/cocoa/CoreTextSPI.h: * pal/spi/cocoa/DataDetectorsCoreSPI.h: * pal/spi/cocoa/IOSurfaceSPI.h: * pal/spi/cocoa/LaunchServicesSPI.h: * pal/spi/cocoa/NEFilterSourceSPI.h: * pal/spi/cocoa/NSAttributedStringSPI.h: * pal/spi/cocoa/NSKeyedArchiverSPI.h: * pal/spi/cocoa/PassKitSPI.h: * pal/spi/cocoa/QuartzCoreSPI.h: * pal/spi/ios/DataDetectorsUISPI.h: * pal/spi/ios/GraphicsServicesSPI.h: * pal/spi/ios/MediaPlayerSPI.h: * pal/spi/ios/MobileGestaltSPI.h: * pal/spi/mac/AVFoundationSPI.h: * pal/system/mac/ClockCM.mm: (ClockCM::ClockCM): Source/WebKit: * DerivedSources.make: * NetworkProcess/Downloads/cocoa/DownloadCocoa.mm: (WebKit::Download::resume): * NetworkProcess/NetworkActivityTracker.h: * NetworkProcess/NetworkProcess.h: * NetworkProcess/NetworkProcessCreationParameters.cpp: (WebKit::NetworkProcessCreationParameters::encode const): (WebKit::NetworkProcessCreationParameters::decode): * NetworkProcess/NetworkProcessCreationParameters.h: * NetworkProcess/cache/NetworkCacheFileSystem.cpp: (WebKit::NetworkCache::isSafeToUseMemoryMapForPath): * NetworkProcess/cocoa/NetworkDataTaskCocoa.mm: (WebKit::updateTaskWithFirstPartyForSameSiteCookies): * NetworkProcess/cocoa/NetworkProcessCocoa.mm: (WebKit::NetworkProcess::platformInitializeNetworkProcessCocoa): (WebKit::NetworkProcess::sourceApplicationAuditData const): (WebKit::NetworkProcess::platformSyncAllCookies): * NetworkProcess/cocoa/NetworkSessionCocoa.h: * NetworkProcess/cocoa/NetworkSessionCocoa.mm: (-[WKNetworkSessionDelegate URLSession:task:didFinishCollectingMetrics:]): (WebKit::NetworkSessionCocoa::NetworkSessionCocoa): * NetworkProcess/ios/NetworkProcessIOS.mm: * Platform/IPC/mac/ConnectionMac.mm: (IPC::ConnectionTerminationWatchdog::ConnectionTerminationWatchdog): (IPC::Connection::receiveSourceEventHandler): (IPC::AccessibilityProcessSuspendedNotification): * Platform/ios/AccessibilityIOS.mm: * Platform/mac/LayerHostingContext.mm: (WebKit::LayerHostingContext::createForExternalHostingProcess): * Platform/spi/Cocoa/DeviceIdentitySPI.h: * Platform/spi/ios/CelestialSPI.h: * Platform/spi/ios/FrontBoardServicesSPI.h: * PluginProcess/mac/PluginProcessShim.mm: * Shared/API/Cocoa/WKDataDetectorTypesInternal.h: * Shared/API/Cocoa/WebKit.m: * Shared/AssistedNodeInformation.cpp: * Shared/AssistedNodeInformation.h: * Shared/CacheModel.cpp: (WebKit::calculateURLCacheSizes): * Shared/ChildProcess.cpp: * Shared/Cocoa/APIObject.mm: (API::Object::newObject): * Shared/Cocoa/WebKit2InitializeCocoa.mm: (WebKit::runInitializationCode): * Shared/DrawingAreaInfo.h: * Shared/EditorState.cpp: (WebKit::EditorState::encode const): (WebKit::EditorState::decode): (WebKit::EditorState::PostLayoutData::encode const): (WebKit::EditorState::PostLayoutData::decode): (WebKit::operator<<): * Shared/EditorState.h: * Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.mm: (WebKit::XPCServiceInitializerDelegate::checkEntitlements): * Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm: (WebKit::XPCServiceMain): * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/PrintInfo.cpp: (WebKit::PrintInfo::encode const): (WebKit::PrintInfo::decode): * Shared/PrintInfo.h: * Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.h: * Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm: (WebKit::RemoteLayerTreePropertyApplier::applyProperties): * Shared/SessionState.cpp: (WebKit::FrameState::encode const): (WebKit::FrameState::decode): * Shared/SessionState.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebEvent.h: * Shared/WebEventConversion.cpp: (WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent): * Shared/WebKeyboardEvent.cpp: * Shared/WebPageCreationParameters.cpp: (WebKit::WebPageCreationParameters::encode const): (WebKit::WebPageCreationParameters::decode): * Shared/WebPageCreationParameters.h: * Shared/WebPlatformTouchPoint.cpp: * Shared/WebPreferences.yaml: * Shared/WebPreferencesDefaultValues.cpp: (defaultPassiveTouchListenersAsDefaultOnDocument): (defaultCustomPasteboardDataEnabled): * Shared/WebPreferencesDefaultValues.h: * Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode const): (WebKit::WebProcessCreationParameters::decode): * Shared/WebProcessCreationParameters.h: * Shared/WebTouchEvent.cpp: * Shared/cf/ArgumentCodersCF.cpp: (IPC::encode): (IPC::decode): * Shared/cf/ArgumentCodersCF.h: * Shared/ios/ChildProcessIOS.mm: * Shared/ios/InteractionInformationAtPosition.h: * Shared/ios/InteractionInformationAtPosition.mm: * Shared/ios/InteractionInformationRequest.cpp: * Shared/ios/InteractionInformationRequest.h: * Shared/ios/NativeWebKeyboardEventIOS.mm: * Shared/ios/NativeWebMouseEventIOS.mm: * Shared/ios/NativeWebTouchEventIOS.mm: * Shared/ios/WebIOSEventFactory.h: * Shared/ios/WebIOSEventFactory.mm: * Shared/ios/WebIconUtilities.h: * Shared/ios/WebIconUtilities.mm: * Shared/mac/ArgumentCodersMac.h: * Shared/mac/ArgumentCodersMac.mm: * Shared/mac/SandboxExtensionMac.mm: * Shared/mac/SecItemShim.cpp: (WebKit::initializeSecItemShim): * UIProcess/API/APIPageConfiguration.cpp: (API::PageConfiguration::copy const): * UIProcess/API/APIPageConfiguration.h: * UIProcess/API/APIProcessPoolConfiguration.cpp: (API::ProcessPoolConfiguration::copy): * UIProcess/API/APIProcessPoolConfiguration.h: * UIProcess/API/APIUIClient.h: * UIProcess/API/C/WKInspector.cpp: * UIProcess/API/C/WKPage.cpp: (WKPageSetIgnoresViewportScaleLimits): * UIProcess/API/C/mac/WKContextPrivateMac.mm: (WKContextIsPlugInUpdateAvailable): * UIProcess/API/Cocoa/APIAttachmentCocoa.mm: * UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm: (API::WebsiteDataStore::defaultApplicationCacheDirectory): (API::WebsiteDataStore::legacyDefaultApplicationCacheDirectory): (API::WebsiteDataStore::legacyDefaultJavaScriptConfigurationDirectory): * UIProcess/API/Cocoa/WKNavigationAction.mm: (-[WKNavigationAction description]): * UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.mm: * UIProcess/API/Cocoa/WKPreviewElementInfo.mm: * UIProcess/API/Cocoa/WKProcessGroup.mm: (IGNORE_WARNINGS_BEGIN): * UIProcess/API/Cocoa/WKProcessPool.mm: (-[WKProcessPool _pluginProcessCount]): * UIProcess/API/Cocoa/WKWebView.mm: (shouldRequireUserGestureToLoadVideo): (validate): (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _setUpSQLiteDatabaseTrackerClient]): (-[WKWebView dealloc]): (-[WKWebView allowsLinkPreview]): (-[WKWebView setAllowsLinkPreview:]): (-[WKWebView _countStringMatches:options:maxCount:]): (-[WKWebView _findString:options:maxCount:]): (-[WKWebView _hideFindUI]): (-[WKWebView _scrollPerformanceData]): (-[WKWebView _allowsMediaDocumentInlinePlayback]): (-[WKWebView _setAllowsMediaDocumentInlinePlayback:]): (-[WKWebView _contentsOfUserInterfaceItem:]): (-[WKWebView _internalDoAfterNextPresentationUpdate:withoutWaitingForPainting:withoutWaitingForAnimatedResize:]): (-[WKWebView _doAfterNextVisibleContentRectUpdate:]): * UIProcess/API/Cocoa/WKWebViewConfiguration.mm: (-[WKWebViewConfiguration init]): (-[WKWebViewConfiguration encodeWithCoder:]): (-[WKWebViewConfiguration initWithCoder:]): (-[WKWebViewConfiguration copyWithZone:]): (defaultApplicationNameForUserAgent): * UIProcess/API/Cocoa/WKWebViewConfigurationInternal.h: * UIProcess/API/Cocoa/WKWebViewInternal.h: * UIProcess/API/Cocoa/_WKActivatedElementInfo.mm: (-[_WKActivatedElementInfo _initWithType:URL:location:title:ID:rect:image:userInfo:]): * UIProcess/API/Cocoa/_WKActivatedElementInfoInternal.h: * UIProcess/API/Cocoa/_WKAttachment.mm: * UIProcess/API/Cocoa/_WKContextMenuElementInfo.mm: * UIProcess/API/Cocoa/_WKElementAction.mm: * UIProcess/API/Cocoa/_WKElementActionInternal.h: * UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm: * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.h: * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm: (-[WKPaymentAuthorizationViewControllerDelegate invalidate]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didAuthorizePayment:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectPaymentMethod:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectShippingMethod:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectShippingContact:handler:]): (WebKit::WebPaymentCoordinatorProxy::platformCanMakePaymentsWithActiveCard): (WebKit::toPKPaymentRequest): (WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentSession): (WebKit::WebPaymentCoordinatorProxy::platformCompleteShippingMethodSelection): (WebKit::WebPaymentCoordinatorProxy::platformCompleteShippingContactSelection): (WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentMethodSelection): * UIProcess/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm: * UIProcess/ApplicationStateTracker.h: * UIProcess/ApplicationStateTracker.mm: * UIProcess/Automation/cocoa/WebAutomationSessionCocoa.mm: * UIProcess/Automation/ios/WebAutomationSessionIOS.mm: * UIProcess/BackgroundProcessResponsivenessTimer.cpp: (WebKit::BackgroundProcessResponsivenessTimer::shouldBeActive const): * UIProcess/ChildProcessProxy.cpp: (WebKit::ChildProcessProxy::shutDownProcess): * UIProcess/Cocoa/DownloadClient.h: * UIProcess/Cocoa/DownloadClient.mm: (WebKit::DownloadClient::takeActivityToken): (WebKit::DownloadClient::releaseActivityTokenIfNecessary): * UIProcess/Cocoa/LayerRepresentation.h: * UIProcess/Cocoa/NavigationState.h: * UIProcess/Cocoa/NavigationState.mm: (WebKit::NavigationState::NavigationState): (WebKit::NavigationState::didChangeIsLoading): * UIProcess/Cocoa/PlaybackSessionManagerProxy.h: * UIProcess/Cocoa/PlaybackSessionManagerProxy.messages.in: * UIProcess/Cocoa/PlaybackSessionManagerProxy.mm: * UIProcess/Cocoa/UIDelegate.h: * UIProcess/Cocoa/UIDelegate.mm: (WebKit::UIDelegate::setDelegate): (WebKit::UIDelegate::UIClient::decidePolicyForUserMediaPermissionRequest): * UIProcess/Cocoa/VersionChecks.h: * UIProcess/Cocoa/VersionChecks.mm: (WebKit::linkedOnOrAfter): * UIProcess/Cocoa/VideoFullscreenManagerProxy.h: * UIProcess/Cocoa/VideoFullscreenManagerProxy.messages.in: * UIProcess/Cocoa/VideoFullscreenManagerProxy.mm: (WebKit::VideoFullscreenManagerProxy::setupFullscreenWithID): (WebKit::VideoFullscreenManagerProxy::exitFullscreen): (WebKit::VideoFullscreenManagerProxy::preparedToReturnToInline): (WebKit::VideoFullscreenManagerProxy::setVideoLayerFrame): * UIProcess/Cocoa/ViewGestureController.h: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet presentWithParameters:completionHandler:]): * UIProcess/Cocoa/WKWebViewContentProvider.h: * UIProcess/Cocoa/WKWebViewContentProviderRegistry.h: * UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/Cocoa/WebPasteboardProxyCocoa.mm: * UIProcess/Cocoa/WebProcessPoolCocoa.mm: (WebKit::WebProcessPool::platformResolvePathsForSandboxExtensions): (WebKit::WebProcessPool::platformInitializeWebProcess): (WebKit::WebProcessPool::platformInitializeNetworkProcess): (WebKit::WebProcessPool::registerNotificationObservers): (WebKit::WebProcessPool::unregisterNotificationObservers): * UIProcess/Gamepad/cocoa/UIGamepadProviderCocoa.mm: (WebKit::UIGamepadProvider::platformSetDefaultGamepadProvider): * UIProcess/Gamepad/ios/UIGamepadProviderIOS.mm: * UIProcess/Launcher/mac/ProcessLauncherMac.mm: (WebKit::shouldLeakBoost): (WebKit::systemDirectoryPath): (WebKit::ProcessLauncher::launchProcess): * UIProcess/Network/NetworkProcessProxy.cpp: (WebKit::NetworkProcessProxy::didFinishLaunching): * UIProcess/PageClient.h: * UIProcess/ProcessAssertion.cpp: * UIProcess/ProcessAssertion.h: * UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h: * UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm: (WebKit::RemoteLayerTreeDrawingAreaProxy::~RemoteLayerTreeDrawingAreaProxy): (WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTree): (WebKit::RemoteLayerTreeDrawingAreaProxy::indicatorLocation const): (WebKit::RemoteLayerTreeDrawingAreaProxy::updateDebugIndicator): (WebKit::RemoteLayerTreeDrawingAreaProxy::didRefreshDisplay): (WebKit::RemoteLayerTreeDrawingAreaProxy::waitForDidUpdateActivityState): * UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm: (WebKit::RemoteLayerTreeHost::clearLayers): (WebKit::RemoteLayerTreeHost::detachRootLayer): * UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp: (WebKit::RemoteScrollingCoordinatorProxy::scrollingTreeNodeDidScroll): * UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.h: * UIProcess/RemoteLayerTree/RemoteScrollingTree.cpp: (WebKit::RemoteScrollingTree::createScrollingTreeNode): * UIProcess/RemoteLayerTree/RemoteScrollingTree.h: * UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm: * UIProcess/RemoteLayerTree/ios/RemoteScrollingCoordinatorProxyIOS.mm: * UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.h: * UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.mm: * UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.h: * UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm: * UIProcess/ResourceLoadStatisticsPersistentStorage.cpp: * UIProcess/WKImagePreviewViewController.h: * UIProcess/WKImagePreviewViewController.mm: * UIProcess/WKInspectorHighlightView.h: * UIProcess/WKInspectorHighlightView.mm: * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: (WebKit::LocalAuthenticatorInternal::buildAuthData): (WebKit::LocalAuthenticator::makeCredential): (WebKit::LocalAuthenticator::continueMakeCredentialAfterUserConsented): (WebKit::LocalAuthenticator::continueMakeCredentialAfterAttested): (WebKit::LocalAuthenticator::getAssertion): (WebKit::LocalAuthenticator::continueGetAssertionAfterUserConsented): * UIProcess/WebAuthentication/Cocoa/LocalConnection.mm: (WebKit::LocalConnection::getUserConsent const): (WebKit::LocalConnection::getAttestation const): * UIProcess/WebAuthentication/Cocoa/LocalService.mm: (WebKit::LocalService::isAvailable): * UIProcess/WebFullScreenManagerProxy.cpp: (WebKit::WebFullScreenManagerProxy::supportsFullScreen): * UIProcess/WebGeolocationManagerProxy.cpp: * UIProcess/WebGeolocationManagerProxy.h: * UIProcess/WebInspectorProxy.cpp: * UIProcess/WebOpenPanelResultListenerProxy.cpp: * UIProcess/WebOpenPanelResultListenerProxy.h: * UIProcess/WebPageProxy.cpp: (WebKit::m_resetRecentCrashCountTimer): (WebKit::WebPageProxy::finishAttachingToWebProcess): (WebKit::WebPageProxy::initializeWebPage): (WebKit::WebPageProxy::close): (WebKit::WebPageProxy::viewDidLeaveWindow): (WebKit::WebPageProxy::updateThrottleState): (WebKit::WebPageProxy::waitForDidUpdateActivityState): (WebKit::WebPageProxy::didCommitLoadForFrame): (WebKit::WebPageProxy::exitFullscreenImmediately): (WebKit::WebPageProxy::runJavaScriptAlert): (WebKit::WebPageProxy::runJavaScriptConfirm): (WebKit::WebPageProxy::runJavaScriptPrompt): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::processDidTerminate): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::resetStateAfterProcessExited): (WebKit::WebPageProxy::creationParameters): (WebKit::WebPageProxy::requestGeolocationPermissionForFrame): (WebKit::WebPageProxy::hasActiveVideoForControlsManager const): (WebKit::WebPageProxy::requestControlledElementID const): (WebKit::WebPageProxy::isPlayingVideoInEnhancedFullscreen const): * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: (WebKit::WebProcessPool::ensureNetworkProcess): (WebKit::WebProcessPool::initializeNewWebProcess): (WebKit::WebProcessPool::updateProcessAssertions): (WebKit::WebProcessPool::reinstateNetworkProcessAssertionState): * UIProcess/WebProcessPool.h: * UIProcess/WebProcessProxy.cpp: (WebKit::isMainThreadOrCheckDisabled): (WebKit::WebProcessProxy::didFinishLaunching): (WebKit::WebProcessProxy::didSetAssertionState): * UIProcess/WebProcessProxy.h: * UIProcess/WebStorage/LocalStorageDatabaseTracker.cpp: (WebKit::LocalStorageDatabaseTracker::databasePath const): * UIProcess/WebStorage/LocalStorageDatabaseTracker.h: * UIProcess/WebStorage/ios/LocalStorageDatabaseTrackerIOS.mm: * UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm: * UIProcess/_WKWebViewPrintFormatter.mm: * UIProcess/_WKWebViewPrintFormatterInternal.h: * UIProcess/ios/DragDropInteractionState.h: * UIProcess/ios/DragDropInteractionState.mm: * UIProcess/ios/InputViewUpdateDeferrer.h: * UIProcess/ios/InputViewUpdateDeferrer.mm: * UIProcess/ios/LayerRepresentation.mm: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: * UIProcess/ios/ProcessAssertionIOS.mm: * UIProcess/ios/ResourceLoadStatisticsPersistentStorageIOS.mm: * UIProcess/ios/SmartMagnificationController.h: * UIProcess/ios/SmartMagnificationController.messages.in: * UIProcess/ios/SmartMagnificationController.mm: * UIProcess/ios/TextCheckerIOS.mm: * UIProcess/ios/ViewGestureControllerIOS.mm: * UIProcess/ios/WKActionSheet.h: * UIProcess/ios/WKActionSheet.mm: * UIProcess/ios/WKActionSheetAssistant.h: * UIProcess/ios/WKActionSheetAssistant.mm: * UIProcess/ios/WKApplicationStateTrackingView.h: * UIProcess/ios/WKApplicationStateTrackingView.mm: * UIProcess/ios/WKContentView.mm: * UIProcess/ios/WKContentViewInteraction.h: * UIProcess/ios/WKContentViewInteraction.mm: * UIProcess/ios/WKGeolocationProviderIOS.h: * UIProcess/ios/WKGeolocationProviderIOS.mm: * UIProcess/ios/WKGeolocationProviderIOSObjCSecurityOrigin.mm: * UIProcess/ios/WKInspectorNodeSearchGestureRecognizer.h: * UIProcess/ios/WKInspectorNodeSearchGestureRecognizer.mm: * UIProcess/ios/WKKeyboardScrollingAnimator.h: * UIProcess/ios/WKKeyboardScrollingAnimator.mm: * UIProcess/ios/WKPDFPageNumberIndicator.h: * UIProcess/ios/WKPDFPageNumberIndicator.mm: * UIProcess/ios/WKPasswordView.h: * UIProcess/ios/WKPasswordView.mm: * UIProcess/ios/WKScrollView.h: * UIProcess/ios/WKScrollView.mm: * UIProcess/ios/WKSyntheticClickTapGestureRecognizer.h: * UIProcess/ios/WKSyntheticClickTapGestureRecognizer.m: * UIProcess/ios/WKWebEvent.h: * UIProcess/ios/WKWebEvent.mm: * UIProcess/ios/WebDataListSuggestionsDropdownIOS.h: * UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm: * UIProcess/ios/WebPageProxyIOS.mm: * UIProcess/ios/WebProcessProxyIOS.mm: * UIProcess/ios/forms/WKAirPlayRoutePicker.h: * UIProcess/ios/forms/WKAirPlayRoutePicker.mm: * UIProcess/ios/forms/WKFileUploadPanel.h: * UIProcess/ios/forms/WKFileUploadPanel.mm: * UIProcess/ios/forms/WKFormColorControl.h: * UIProcess/ios/forms/WKFormColorControl.mm: * UIProcess/ios/forms/WKFormColorPicker.h: * UIProcess/ios/forms/WKFormColorPicker.mm: * UIProcess/ios/forms/WKFormInputControl.h: * UIProcess/ios/forms/WKFormInputControl.mm: * UIProcess/ios/forms/WKFormPopover.h: * UIProcess/ios/forms/WKFormPopover.mm: * UIProcess/ios/forms/WKFormSelectControl.h: * UIProcess/ios/forms/WKFormSelectControl.mm: * UIProcess/ios/forms/WKFormSelectPicker.h: * UIProcess/ios/forms/WKFormSelectPicker.mm: * UIProcess/ios/forms/WKFormSelectPopover.h: * UIProcess/ios/forms/WKFormSelectPopover.mm: * UIProcess/ios/fullscreen/FullscreenTouchSecheuristic.cpp: * UIProcess/ios/fullscreen/FullscreenTouchSecheuristic.h: * UIProcess/ios/fullscreen/WKFullScreenViewController.h: * UIProcess/ios/fullscreen/WKFullScreenViewController.mm: * UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.h: * UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm: * UIProcess/ios/fullscreen/WKFullscreenStackView.h: * UIProcess/ios/fullscreen/WKFullscreenStackView.mm: * UIProcess/mac/LegacySessionStateCoding.cpp: (WebKit::encodeFrameStateNode): (WebKit::decodeBackForwardTreeNode): * UIProcess/mac/PageClientImplMac.h: * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h: * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm: * UIProcess/mac/ViewSnapshotStore.mm: * UIProcess/mac/WKFullScreenWindowController.mm: * WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm: (WebContentServiceInitializer): * WebProcess/FullScreen/WebFullScreenManager.cpp: (WebKit::WebFullScreenManager::videoControlsManagerDidChange): (WebKit::WebFullScreenManager::willEnterFullScreen): (WebKit::WebFullScreenManager::didEnterFullScreen): (WebKit::WebFullScreenManager::willExitFullScreen): * WebProcess/Geolocation/WebGeolocationManager.cpp: * WebProcess/Geolocation/WebGeolocationManager.h: * WebProcess/Geolocation/WebGeolocationManager.messages.in: * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm: * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: * WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm: * WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm: * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm: (-[WKWebProcessPlugInBrowserContextController _setEditingDelegate:]): * WebProcess/WebCoreSupport/SessionStateConversion.cpp: (WebKit::toFrameState): (WebKit::applyFrameState): * WebProcess/WebCoreSupport/WebAlternativeTextClient.h: * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::windowRect): (WebKit::WebChromeClient::enterVideoFullscreenForVideoElement): * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebEditorClient.h: * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidLayout): (WebKit::WebFrameLoaderClient::saveViewStateToItem): (WebKit::WebFrameLoaderClient::restoreViewState): (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage): (WebKit::WebFrameLoaderClient::objectContentType): * WebProcess/WebCoreSupport/WebFrameLoaderClient.h: * WebProcess/WebCoreSupport/WebInspectorClient.cpp: (WebKit::WebInspectorClient::highlight): (WebKit::WebInspectorClient::hideHighlight): * WebProcess/WebCoreSupport/WebInspectorClient.h: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/ios/WebChromeClientIOS.mm: * WebProcess/WebCoreSupport/ios/WebEditorClientIOS.mm: * WebProcess/WebCoreSupport/ios/WebFrameLoaderClientIOS.mm: * WebProcess/WebCoreSupport/mac/WebDragClientMac.mm: * WebProcess/WebPage/DrawingArea.cpp: (WebKit::DrawingArea::create): * WebProcess/WebPage/DrawingArea.h: * WebProcess/WebPage/FindController.cpp: (WebKit::FindController::findString): * WebProcess/WebPage/FindController.h: * WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteCustom.mm: (WebKit::PlatformCALayerRemoteCustom::PlatformCALayerRemoteCustom): * WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.h: * WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm: (WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea): (WebKit::RemoteLayerTreeDrawingArea::updateScrolledExposedRect): * WebProcess/WebPage/ViewGestureGeometryCollector.cpp: (WebKit::ViewGestureGeometryCollector::dispatchDidCollectGeometryForSmartMagnificationGesture): (WebKit::ViewGestureGeometryCollector::collectGeometryForSmartMagnificationGesture): (WebKit::ViewGestureGeometryCollector::mainFrameDidLayout): * WebProcess/WebPage/ViewGestureGeometryCollector.h: * WebProcess/WebPage/ViewGestureGeometryCollector.messages.in: * WebProcess/WebPage/ViewUpdateDispatcher.cpp: * WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.h: * WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.mm: * WebProcess/WebPage/WebFrame.h: * WebProcess/WebPage/WebOpenPanelResultListener.cpp: * WebProcess/WebPage/WebOpenPanelResultListener.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::m_cpuLimit): (WebKit::WebPage::~WebPage): (WebKit::WebPage::scalePage): (WebKit::WebPage::setUseFixedLayout): (WebKit::WebPage::disabledAdaptationsDidChange): (WebKit::WebPage::viewportPropertiesDidChange): (WebKit::WebPage::pageDidScroll): (WebKit::WebPage::mouseEvent): (WebKit::WebPage::updatePreferences): (WebKit::WebPage::willCommitLayerTree): (WebKit::WebPage::didFlushLayerTreeAtTime): (WebKit::WebPage::mainFrameDidLayout): (WebKit::WebPage::resetAssistedNodeForFrame): (WebKit::WebPage::elementDidFocus): (WebKit::WebPage::elementDidBlur): (WebKit::WebPage::willReplaceMultipartContent): (WebKit::WebPage::didReplaceMultipartContent): (WebKit::WebPage::didCommitLoad): * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: * WebProcess/WebPage/ios/FindControllerIOS.mm: * WebProcess/WebPage/ios/WebPageIOS.mm: * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h: * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: (WebKit::TiledCoreAnimationDrawingArea::updateScrolledExposedRect): * WebProcess/WebPage/mac/WebPageMac.mm: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::WebProcess): (WebKit::WebProcess::initializeConnection): (WebKit::WebProcess::initializeWebProcess): (WebKit::WebProcess::actualPrepareToSuspend): (WebKit::WebProcess::cancelPrepareToSuspend): (WebKit::WebProcess::processDidResume): * WebProcess/WebProcess.h: * WebProcess/cocoa/PlaybackSessionManager.h: * WebProcess/cocoa/PlaybackSessionManager.messages.in: * WebProcess/cocoa/PlaybackSessionManager.mm: * WebProcess/cocoa/VideoFullscreenManager.h: * WebProcess/cocoa/VideoFullscreenManager.messages.in: * WebProcess/cocoa/VideoFullscreenManager.mm: (WebKit::VideoFullscreenManager::supportsVideoFullscreen const): (WebKit::VideoFullscreenManager::supportsVideoFullscreenStandby const): (WebKit::VideoFullscreenManager::didSetupFullscreen): (WebKit::VideoFullscreenManager::didExitFullscreen): * WebProcess/cocoa/WebProcessCocoa.mm: (WebKit::WebProcess::platformInitializeWebProcess): (WebKit::WebProcess::initializeProcessName): (WebKit::registerWithAccessibility): (WebKit::WebProcess::sourceApplicationAuditData const): (WebKit::WebProcess::initializeSandbox): * WebProcess/mac/SecItemShimLibrary.mm: * config.h: Source/WebKitLegacy: * Storage/StorageTracker.cpp: (WebKit::StorageTracker::syncDeleteAllOrigins): (WebKit::StorageTracker::syncDeleteOrigin): * WebCoreSupport/WebResourceLoadScheduler.cpp: (WebResourceLoadScheduler::loadResource): (WebResourceLoadScheduler::scheduleLoad): (WebResourceLoadScheduler::remove): (WebResourceLoadScheduler::servePendingRequests): Source/WebKitLegacy/ios: * DefaultDelegates/WebDefaultFormDelegate.m: * DefaultDelegates/WebDefaultFrameLoadDelegate.m: * DefaultDelegates/WebDefaultResourceLoadDelegate.m: * DefaultDelegates/WebDefaultUIKitDelegate.m: * Misc/MemoryMeasure.mm: * Misc/WebGeolocationCoreLocationProvider.mm: * Misc/WebGeolocationProviderIOS.mm: * Misc/WebNSStringExtrasIOS.m: * Misc/WebUIKitSupport.mm: (WebKitPlatformSystemRootDirectory): * WebCoreSupport/PopupMenuIOS.mm: * WebCoreSupport/SearchPopupMenuIOS.cpp: * WebCoreSupport/WebChromeClientIOS.h: * WebCoreSupport/WebChromeClientIOS.mm: * WebCoreSupport/WebFixedPositionContent.mm: * WebCoreSupport/WebFrameIOS.mm: * WebCoreSupport/WebGeolocation.mm: * WebCoreSupport/WebInspectorClientIOS.mm: * WebCoreSupport/WebMIMETypeRegistry.mm: * WebCoreSupport/WebSelectionRect.m: * WebCoreSupport/WebVisiblePosition.mm: * WebView/WebFrameViewWAKCompatibility.m: * WebView/WebPDFViewIOS.mm: * WebView/WebPDFViewPlaceholder.mm: * WebView/WebPlainWhiteView.h: * WebView/WebPlainWhiteView.mm: Source/WebKitLegacy/mac: * DOM/DOM.mm: (-[DOMNode boundingBox]): * DOM/DOMElement.mm: * DOM/DOMHTML.mm: * DOM/DOMInternal.mm: * DOM/DOMUIKitExtensions.mm: * DOM/WebDOMOperations.mm: * DefaultDelegates/WebDefaultContextMenuDelegate.mm: * DefaultDelegates/WebDefaultEditingDelegate.m: * DefaultDelegates/WebDefaultPolicyDelegate.m: (-[WebDefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): * DefaultDelegates/WebDefaultUIDelegate.h: * DefaultDelegates/WebDefaultUIDelegate.mm: (-[WebDefaultUIDelegate webViewClose:]): (-[WebDefaultUIDelegate webViewFocus:]): (-[WebDefaultUIDelegate webViewUnfocus:]): (-[WebDefaultUIDelegate webViewIsResizable:]): (-[WebDefaultUIDelegate webView:setResizable:]): (-[WebDefaultUIDelegate webView:setFrame:]): (-[WebDefaultUIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]): * History/BackForwardList.h: * History/BackForwardList.mm: * History/WebBackForwardList.mm: (+[WebBackForwardList initialize]): (bumperCarBackForwardHackNeeded): * History/WebHistory.mm: (-[WebHistoryPrivate addItem:discardDuplicate:]): (-[WebHistory _sendNotification:entries:]): (-[WebHistory loadFromURL:error:]): (-[WebHistory saveToURL:error:]): * History/WebHistoryItem.mm: (WKNotifyHistoryItemChanged): (+[WebHistoryItem initialize]): (-[WebHistoryItem initFromDictionaryRepresentation:]): * History/WebURLsWithTitles.m: * Misc/WebCache.mm: (+[WebCache initialize]): * Misc/WebDownload.mm: (-[WebDownloadInternal download:didReceiveAuthenticationChallenge:]): * Misc/WebElementDictionary.mm: (+[WebElementDictionary initialize]): (+[WebElementDictionary initializeLookupTable]): * Misc/WebIconDatabase.mm: * Misc/WebKitNSStringExtras.mm: (+[NSString _webkit_localCacheDirectoryWithBundleIdentifier:]): * Misc/WebKitVersionChecks.h: * Misc/WebKitVersionChecks.mm: (WebKitLinkedOnOrAfter): (WebKitLinkTimeVersion): * Misc/WebLocalizableStrings.mm: * Misc/WebNSControlExtras.h: * Misc/WebNSControlExtras.m: * Misc/WebNSEventExtras.m: * Misc/WebNSFileManagerExtras.mm: * Misc/WebNSImageExtras.h: * Misc/WebNSImageExtras.m: * Misc/WebNSPasteboardExtras.mm: * Misc/WebNSPrintOperationExtras.h: * Misc/WebNSPrintOperationExtras.m: * Misc/WebNSViewExtras.m: * Misc/WebNSWindowExtras.m: * Panels/WebAuthenticationPanel.h: * Panels/WebAuthenticationPanel.m: * Panels/WebPanelAuthenticationHandler.m: * Plugins/Hosted/WebHostedNetscapePluginView.mm: (+[WebHostedNetscapePluginView initialize]): * Plugins/WebBasePluginPackage.h: * Plugins/WebBasePluginPackage.mm: * Plugins/WebJavaPlugIn.h: * Plugins/WebPluginContainerCheck.mm: * Plugins/WebPluginController.h: * Plugins/WebPluginController.mm: (-[WebPluginController plugInViewWithArguments:fromPluginPackage:]): (-[WebPluginController addPlugin:]): (-[WebPluginController destroyPlugin:]): (-[WebPluginController destroyAllPlugins]): * Plugins/WebPluginDatabase.mm: (+[WebPluginDatabase _defaultPlugInPaths]): * Plugins/WebPluginPackage.mm: (-[WebPluginPackage initWithPath:]): * Storage/WebDatabaseManager.mm: (-[WebDatabaseManager deleteAllDatabases]): * Storage/WebDatabaseManagerClient.h: * Storage/WebDatabaseManagerClient.mm: (WebDatabaseManagerClient::WebDatabaseManagerClient): (WebDatabaseManagerClient::~WebDatabaseManagerClient): * Storage/WebStorageManager.mm: (-[WebStorageManager deleteAllOrigins]): (WebKitInitializeStorageIfNecessary): * WebCoreSupport/WebAlternativeTextClient.h: * WebCoreSupport/WebApplicationCache.mm: (applicationCacheBundleIdentifier): * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::setWindowRect): (WebChromeClient::windowRect): (WebChromeClient::takeFocus): (WebChromeClient::addMessageToConsole): (WebChromeClient::enableSuddenTermination): (WebChromeClient::disableSuddenTermination): (WebChromeClient::createPopupMenu const): (WebChromeClient::createSearchPopupMenu const): (WebChromeClient::shouldPaintEntireContents const): (WebChromeClient::supportsVideoFullscreen): (WebChromeClient::supportsFullScreenForElement): (WebChromeClient::enterFullScreenForElement): (WebChromeClient::exitFullScreenForElement): * WebCoreSupport/WebContextMenuClient.mm: * WebCoreSupport/WebDragClient.mm: * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebEditorClient.mm: (+[WebUndoStep initialize]): (updateFontPanel): (WebEditorClient::didBeginEditing): (WebEditorClient::respondToChangedContents): (WebEditorClient::respondToChangedSelection): (WebEditorClient::canceledComposition): (WebEditorClient::didEndEditing): (WebEditorClient::didWriteSelectionToPasteboard): (attributesForAttributedStringConversion): (WebEditorClient::setInsertionPasteboard): (WebEditorClient::registerUndoOrRedoStep): (WebEditorClient::handleKeyboardEvent): (WebEditorClient::handleInputMethodKeydown): (WebEditorClient::textDidChangeInTextField): (WebEditorClient::requestCheckingOfString): * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::detachedFromParent2): (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache): (WebFrameLoaderClient::assignIdentifierToInitialRequest): (WebFrameLoaderClient::dispatchWillSendRequest): (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): (WebFrameLoaderClient::dispatchDidReceiveResponse): (WebFrameLoaderClient::willCacheResponse const): (WebFrameLoaderClient::dispatchDidReceiveContentLength): (WebFrameLoaderClient::dispatchDidFinishLoading): (WebFrameLoaderClient::dispatchDidFailLoading): (WebFrameLoaderClient::dispatchDidChangeLocationWithinPage): (WebFrameLoaderClient::dispatchWillClose): (WebFrameLoaderClient::dispatchDidStartProvisionalLoad): (WebFrameLoaderClient::dispatchDidCommitLoad): (WebFrameLoaderClient::dispatchDidFailProvisionalLoad): (WebFrameLoaderClient::dispatchDidFailLoad): (WebFrameLoaderClient::dispatchDidFinishDocumentLoad): (WebFrameLoaderClient::dispatchDidFinishLoad): (WebFrameLoaderClient::dispatchDidReachLayoutMilestone): (WebFrameLoaderClient::willChangeTitle): (WebFrameLoaderClient::didChangeTitle): (WebFrameLoaderClient::didReplaceMultipartContent): (WebFrameLoaderClient::updateGlobalHistory): (WebFrameLoaderClient::saveViewStateToItem): (WebFrameLoaderClient::restoreViewState): (WebFrameLoaderClient::provisionalLoadStarted): (WebFrameLoaderClient::prepareForDataSourceReplacement): (WebFrameLoaderClient::setTitle): (WebFrameLoaderClient::savePlatformDataToCachedFrame): (WebFrameLoaderClient::transitionToCommittedFromCachedFrame): (WebFrameLoaderClient::transitionToCommittedForNewPage): (WebFrameLoaderClient::didRestoreFromPageCache): (WebFrameLoaderClient::actionDictionary const): (WebFrameLoaderClient::createPlugin): (WebFrameLoaderClient::getLoadDecisionForIcons): (WebFrameLoaderClient::finishedLoadingIcon): (+[WebFramePolicyListener initialize]): * WebCoreSupport/WebFrameNetworkingContext.mm: * WebCoreSupport/WebGeolocationClient.h: * WebCoreSupport/WebGeolocationClient.mm: (WebGeolocationClient::requestPermission): * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebJavaScriptTextInputPanel.m: * WebCoreSupport/WebNotificationClient.mm: * WebCoreSupport/WebOpenPanelResultListener.mm: * WebCoreSupport/WebPlatformStrategies.h: * WebCoreSupport/WebPlatformStrategies.mm: * WebCoreSupport/WebProgressTrackerClient.h: * WebCoreSupport/WebProgressTrackerClient.mm: (WebProgressTrackerClient::progressStarted): (WebProgressTrackerClient::progressEstimateChanged): (WebProgressTrackerClient::progressFinished): * WebCoreSupport/WebSecurityOrigin.mm: * WebInspector/WebNodeHighlight.h: * WebInspector/WebNodeHighlight.mm: (-[WebNodeHighlight initWithTargetView:inspectorController:]): (-[WebNodeHighlight dealloc]): (-[WebNodeHighlight attach]): * WebInspector/WebNodeHighlightView.h: * WebInspector/WebNodeHighlightView.mm: (-[WebNodeHighlightView initWithWebNodeHighlight:]): (-[WebNodeHighlightView dealloc]): * WebInspector/WebNodeHighlighter.mm: (-[WebNodeHighlighter highlight]): * WebView/WebArchive.mm: (+[WebArchivePrivate initialize]): * WebView/WebClipView.h: * WebView/WebDataSource.mm: (WebDataSourcePrivate::WebDataSourcePrivate): (+[WebDataSource initialize]): (+[WebDataSource _repTypesAllowImageTypeOmission:]): (-[WebDataSource _makeRepresentation]): * WebView/WebDelegateImplementationCaching.h: * WebView/WebDelegateImplementationCaching.mm: (CallDelegate): (CallDelegateReturningFloat): (CallDelegateReturningBoolean): (CallUIDelegate): (CallUIDelegateReturningFloat): (CallUIDelegateReturningBoolean): (CallFrameLoadDelegate): (CallFrameLoadDelegateReturningBoolean): (CallResourceLoadDelegate): (CallScriptDebugDelegate): (CallFormDelegate): (CallFormDelegateReturningBoolean): * WebView/WebDeviceOrientation.mm: (-[WebDeviceOrientation initWithCanProvideAlpha:alpha:canProvideBeta:beta:canProvideGamma:gamma:]): * WebView/WebDocumentInternal.h: * WebView/WebDocumentLoaderMac.mm: (needsDataLoadWorkaround): * WebView/WebDynamicScrollBarsViewInternal.h: * WebView/WebFormDelegate.m: * WebView/WebFrame.mm: (-[WebFrame _updateBackgroundAndUpdatesWhileOffscreen]): (-[WebFrame _unmarkAllMisspellings]): (-[WebFrame _paintBehaviorForDestinationContext:]): (-[WebFrame _drawRect:contentsOnly:]): (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]): (-[WebFrame _scrollDOMRangeToVisible:]): (-[WebFrame _bodyBackgroundColor]): (-[WebFrame accessibilityRoot]): (needsMicrosoftMessengerDOMDocumentWorkaround): * WebView/WebFrameInternal.h: * WebView/WebFrameView.mm: (-[WebFrameView _setDocumentView:]): (+[WebFrameView _viewTypesAllowImageTypeOmission:]): (-[WebFrameView _viewClassForMIMEType:]): (-[WebFrameView initWithFrame:]): (-[WebFrameView drawRect:]): (-[WebFrameView _firstResponderIsFormControl]): (-[WebFrameView keyDown:keyDown:]): (-[WebFrameView _isScrollable]): * WebView/WebFullScreenController.h: * WebView/WebFullScreenController.mm: * WebView/WebHTMLRepresentation.mm: * WebView/WebHTMLView.mm: (-[WebHTMLView hitTest:]): (-[WebHTMLView initWithFrame:]): (-[WebHTMLView dealloc]): (-[WebHTMLView addSubview:]): (-[WebHTMLView mouseDown:]): (-[WebHTMLView mouseUp:]): (-[WebHTMLView resignFirstResponder]): (-[WebHTMLView accessibilityHitTest:]): (-[WebHTMLView selectionImageForcingBlackText:selectionImageForcingBlackText:]): * WebView/WebHTMLViewInternal.h: * WebView/WebIndicateLayer.h: * WebView/WebIndicateLayer.mm: * WebView/WebMediaPlaybackTargetPicker.h: * WebView/WebMediaPlaybackTargetPicker.mm: * WebView/WebPDFDocumentExtras.h: * WebView/WebPDFDocumentExtras.mm: * WebView/WebPDFRepresentation.h: * WebView/WebPDFRepresentation.mm: * WebView/WebPDFView.h: * WebView/WebPreferences.mm: (cacheModelForMainBundle): (WebPreferencesPrivate::WebPreferencesPrivate): (-[WebPreferences initWithIdentifier:sendChangeNotification:initWithIdentifier:]): (-[WebPreferences encodeWithCoder:]): (+[WebPreferences standardPreferences]): (+[WebPreferences initialize]): (-[WebPreferences _valueForKey:]): (-[WebPreferences _setStringValue:forKey:]): (-[WebPreferences _setIntegerValue:forKey:]): (-[WebPreferences _setUnsignedIntValue:forKey:]): (-[WebPreferences _setFloatValue:forKey:]): (-[WebPreferences _setBoolValue:forKey:]): (-[WebPreferences _setLongLongValue:forKey:]): (-[WebPreferences _setUnsignedLongLongValue:forKey:]): (-[WebPreferences _postCacheModelChangedNotification]): (-[WebPreferences _postPreferencesChangedNotification]): (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): (-[WebPreferences setStorageBlockingPolicy:]): * WebView/WebResource.mm: (+[WebResourcePrivate initialize]): * WebView/WebTextCompletionController.h: * WebView/WebTextIterator.mm: (+[WebTextIteratorPrivate initialize]): * WebView/WebView.mm: (shouldEnableLoadDeferring): (shouldRestrictWindowFocus): (shouldRespectPriorityInCSSAttributeSetters): (shouldUseLegacyBackgroundSizeShorthandBehavior): (shouldAllowPictureInPictureMediaPlayback): (shouldAllowContentSecurityPolicySourceStarToMatchAnyProtocol): (shouldAllowWindowOpenWithoutUserGesture): (shouldConvertInvalidURLsToBlank): (shouldRequireUserGestureToLoadVideo): (-[WebView _commonInitializationWithFrameName:groupName:]): (+[WebView _viewClass:andRepresentationClass:forMIMEType:allowingPlugins:]): (-[WebView _viewClass:andRepresentationClass:forMIMEType:]): (-[WebView _closePluginDatabases]): (-[WebView _closeWithFastTeardown]): (-[WebView _close]): (+[WebView _MIMETypeForFile:]): (-[WebView setShowingInspectorIndication:]): (-[WebView _setFormDelegate:]): (-[WebView _needsPreHTML5ParserQuirks]): (-[WebView _preferencesChangedNotification:]): (-[WebView _preferencesChanged:]): (-[WebView _cacheResourceLoadDelegateImplementations]): (-[WebView _cacheFrameLoadDelegateImplementations]): (-[WebView _policyDelegateForwarder]): (-[WebView _UIDelegateForwarder]): (-[WebView _editingDelegateForwarder]): (-[WebView _updateActiveState]): (-[_WebSafeForwarder forwardInvocation:]): (+[WebView initialize]): (-[WebView _pluginForMIMEType:]): (-[WebView _pluginForExtension:]): (-[WebView _isMIMETypeRegisteredAsPlugin:]): (+[WebView canShowMIMETypeAsHTML:]): (-[WebView _initWithArguments:]): (-[WebView initWithFrame:frameName:groupName:]): (-[WebView dealloc]): (-[WebView close]): (-[WebView viewDidMoveToWindow]): (-[WebView setUIDelegate:]): (-[WebView setResourceLoadDelegate:]): (-[WebView setPolicyDelegate:]): (-[WebView setFrameLoadDelegate:]): (-[WebView goBack]): (-[WebView goForward]): (-[WebView stringByEvaluatingJavaScriptFromString:]): (-[WebView setHostWindow:]): (-[WebView becomeFirstResponder]): (+[WebView _cacheModelChangedNotification:]): (-[WebView _frameViewAtWindowPoint:]): (+[WebView _preflightSpellCheckerNow:]): (+[WebView _preflightSpellChecker]): (-[WebView canGoBack]): (-[WebView canGoForward]): (-[WebView stopLoading:]): (-[WebView reload:]): (-[WebView setMainFrameDocumentReady:]): (-[WebView _shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): (-[WebView setContinuousSpellCheckingEnabled:]): (-[WebView undoManager]): (-[WebView isAutomaticQuoteSubstitutionEnabled]): (-[WebView isAutomaticLinkDetectionEnabled]): (-[WebView isAutomaticDashSubstitutionEnabled]): (-[WebView isAutomaticTextReplacementEnabled]): (-[WebView isAutomaticSpellingCorrectionEnabled]): (+[WebView _setCacheModel:]): (-[WebView _retrieveKeyboardUIModeFromPreferences:]): (-[WebView _keyboardUIMode]): (LayerFlushController::flushLayers): (-[WebView _scheduleCompositingLayerFlush]): (-[WebView _enterVideoFullscreenForVideoElement:mode:]): (-[WebView fullScreenPlaceholderView]): (WebInstallMemoryPressureHandler): * WebView/WebViewData.h: * WebView/WebViewData.mm: (+[WebViewPrivate initialize]): (-[WebViewPrivate init]): (-[WebViewPrivate dealloc]): * WebView/WebViewInternal.h: Source/WTF: * wtf/Assertions.h: * wtf/FeatureDefines.h: * wtf/InlineASM.h: * wtf/MemoryPressureHandler.cpp: (WTF::thresholdForPolicy): * wtf/Platform.h: * wtf/cocoa/MemoryPressureHandlerCocoa.mm: (WTF::MemoryPressureHandler::install): (WTF::MemoryPressureHandler::respondToMemoryPressure): * wtf/spi/cocoa/NSMapTableSPI.h: * wtf/spi/darwin/XPCSPI.h: * wtf/text/StringCommon.h: * wtf/text/TextBreakIterator.cpp: * wtf/text/TextBreakIterator.h: * wtf/unicode/icu/CollatorICU.cpp: (WTF::copyDefaultLocale): Tools: * DumpRenderTree/AccessibilityController.h: * DumpRenderTree/AccessibilityTextMarker.h: * DumpRenderTree/AccessibilityUIElement.cpp: (AccessibilityUIElement::getJSClass): * DumpRenderTree/AccessibilityUIElement.h: * DumpRenderTree/DumpRenderTreeFileDraggingSource.h: * DumpRenderTree/TestRunner.cpp: (getSecureEventInputIsEnabledCallback): (TestRunner::staticFunctions): (TestRunner::callUIScriptCallback): * DumpRenderTree/TestRunner.h: * DumpRenderTree/cg/PixelDumpSupportCG.cpp: * DumpRenderTree/ios/AccessibilityTextMarkerIOS.mm: * DumpRenderTree/ios/AccessibilityUIElementIOS.mm: * DumpRenderTree/ios/DumpRenderTreeAppMain.mm: * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm: * DumpRenderTree/ios/TextInputControllerIOS.m: * DumpRenderTree/ios/UIScriptControllerIOS.mm: * DumpRenderTree/mac/AppleScriptController.m: * DumpRenderTree/mac/DumpRenderTree.mm: (createWebViewAndOffscreenWindow): (destroyWebViewAndOffscreenWindow): (resetWebPreferencesToConsistentValues): (setDefaultsToConsistentValuesForTesting): (allocateGlobalControllers): (releaseGlobalControllers): (addTestPluginsToPluginSearchPath): (prepareConsistentTestingEnvironment): (dumpRenderTree): (DumpRenderTreeMain): (dumpFrameAsPDF): (dumpBackForwardListForAllWindows): (updateDisplay): (dump): (resetWebViewToConsistentStateBeforeTesting): (runTest): (displayWebView): (displayAndTrackRepaintsWebView): * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: * DumpRenderTree/mac/DumpRenderTreeMac.h: * DumpRenderTree/mac/DumpRenderTreePasteboard.h: * DumpRenderTree/mac/DumpRenderTreeWindow.h: * DumpRenderTree/mac/DumpRenderTreeWindow.mm: (-[DumpRenderTreeWindow close]): (-[DumpRenderTreeWindow webView]): (-[DumpRenderTreeWindow webViewStartedAcceleratedCompositing:]): * DumpRenderTree/mac/EventSendingController.h: * DumpRenderTree/mac/EventSendingController.mm: (+[EventSendingController isSelectorExcludedFromWebScript:]): (+[EventSendingController webScriptNameForSelector:]): (-[EventSendingController dealloc]): (-[EventSendingController currentEventTime]): (-[EventSendingController clearKillRing]): (modifierFlags): (-[EventSendingController mouseDown:withModifiers:]): (-[EventSendingController scalePageBy:atX:andY:]): (-[EventSendingController mouseUp:withModifiers:]): (-[EventSendingController mouseMoveToX:Y:]): (-[EventSendingController mouseScrollByX:andY:continuously:]): (-[EventSendingController keyDown:withModifiers:withLocation:]): * DumpRenderTree/mac/FrameLoadDelegate.mm: (-[FrameLoadDelegate init]): (-[FrameLoadDelegate dealloc]): (-[FrameLoadDelegate processWork:]): (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): (-[FrameLoadDelegate webView:didCommitLoadForFrame:]): (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): * DumpRenderTree/mac/LayoutTestHelper.m: * DumpRenderTree/mac/MockGeolocationProvider.mm: (-[MockGeolocationProvider timerFired]): * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::setMainFrameIsFirstResponder): (TestRunner::setAutomaticLinkDetectionEnabled): (TestRunner::setUseDashboardCompatibilityMode): (TestRunner::isCommandEnabled): (TestRunner::inspectorTestStubURL): (TestRunner::apiTestNewWindowDataLoadBaseURL): (TestRunner::abortModal): (TestRunner::setTextDirection): (TestRunner::addChromeInputField): (TestRunner::removeChromeInputField): (TestRunner::focusWebView): (TestRunner::setBackingScaleFactor): (TestRunner::imageCountInGeneralPasteboard const): * DumpRenderTree/mac/UIDelegate.h: * DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate modalWindowWillClose:]): (-[UIDelegate webViewRunModal:]): (-[UIDelegate webView:supportsFullScreenForElement:withKeyboard:]): (-[UIDelegate dealloc]): * Scripts/check-for-inappropriate-objc-class-names: * TestRunnerShared/UIScriptContext/UIScriptController.cpp: * TestRunnerShared/spi/UIKitTestSPI.h: * TestWebKitAPI/Tests/WTF/darwin/WeakLinking.cpp: * TestWebKitAPI/Tests/WebCore/MarkedText.cpp: (WebCore::operator<<): * TestWebKitAPI/Tests/WebCore/cocoa/DatabaseTrackerTest.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm: (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp): * TestWebKitAPI/Tests/WebCore/ios/PreviewLoader.cpp: * TestWebKitAPI/Tests/WebKit/NoHistoryItemScrollToFragment.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit/WKPreferences.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLs.mm: * TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm: * TestWebKitAPI/Tests/WebKitCocoa/BundleEditingDelegate.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandle.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandlePlugIn.mm: (-[BundleRangeHandlePlugIn webProcessPlugInBrowserContextController:didFinishDocumentLoadForFrame:]): * TestWebKitAPI/Tests/WebKitCocoa/Coding.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/CopyHTML.mm: * TestWebKitAPI/Tests/WebKitCocoa/CopyURL.mm: (createWebViewWithCustomPasteboardDataEnabled): * TestWebKitAPI/Tests/WebKitCocoa/Copying.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/DataDetection.mm: * TestWebKitAPI/Tests/WebKitCocoa/DoAfterNextPresentationUpdateAfterCrash.mm: * TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm: * TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm: * TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm: * TestWebKitAPI/Tests/WebKitCocoa/FixedLayoutSize.mm: * TestWebKitAPI/Tests/WebKitCocoa/FontAttributes.mm: * TestWebKitAPI/Tests/WebKitCocoa/Geolocation.mm: * TestWebKitAPI/Tests/WebKitCocoa/InteractionDeadlockAfterCrash.mm: * TestWebKitAPI/Tests/WebKitCocoa/LocalStorageClear.mm: (defaultWebsiteCacheDirectory): (defaultApplicationCacheDirectory): (TEST): * TestWebKitAPI/Tests/WebKitCocoa/NSFileManagerExtras.mm: * TestWebKitAPI/Tests/WebKitCocoa/NowPlaying.mm: * TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteHTML.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteImage.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKitCocoa/PasteRTFD.mm: * TestWebKitAPI/Tests/WebKitCocoa/QuickLook.mm: * TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptions.mm: (runTestWithWidth): * TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptionsPlugIn.mm: (-[RenderedImageWithOptionsPlugIn renderImageWithWidth:completionHandler:]): * TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm: * TestWebKitAPI/Tests/WebKitCocoa/ShrinkToFit.mm: * TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm: * TestWebKitAPI/Tests/WebKitCocoa/VisibleContentRect.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm: (platformCopyRichTextWithMultipleAttachments): (platformCopyRichTextWithImage): (platformCopyPNG): * TestWebKitAPI/Tests/WebKitCocoa/WKContentViewEditingActions.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKContentViewTargetForAction.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKHTTPCookieStore.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKPDFViewStablePresentationUpdateCallback.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKRequestActivatedElementInfo.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-leaks.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/_WKInputDelegate.mm: * TestWebKitAPI/Tests/WebKitLegacy/ios/AudioSessionCategoryIOS.mm: * TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm: * TestWebKitAPI/Tests/WebKitLegacy/mac/AccessingPastedImage.mm: * TestWebKitAPI/Tests/ios/AccessibilityTestsIOS.mm: * TestWebKitAPI/Tests/ios/ActionSheetTests.mm: * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: * TestWebKitAPI/Tests/ios/FocusPreservationTests.mm: * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: * TestWebKitAPI/Tests/ios/RenderingProgressTests.mm: * TestWebKitAPI/Tests/ios/ScrollViewInsetTests.mm: * TestWebKitAPI/Tests/ios/SetTimeoutFunction.mm: * TestWebKitAPI/Tests/ios/SynchronousTimeoutTests.mm: * TestWebKitAPI/Tests/ios/TestInputDelegate.h: * TestWebKitAPI/Tests/ios/TestInputDelegate.mm: * TestWebKitAPI/Tests/ios/TextAutosizingBoost.mm: * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: * TestWebKitAPI/Tests/ios/WKScrollViewDelegate.mm: * TestWebKitAPI/Tests/ios/WKScrollViewTests.mm: * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm: * TestWebKitAPI/Tests/ios/WKWebViewEditActions.mm: * TestWebKitAPI/cocoa/DragAndDropSimulator.h: * TestWebKitAPI/cocoa/TestNavigationDelegate.mm: (-[WKWebView _test_waitForDidFinishNavigation]): * TestWebKitAPI/cocoa/TestWKWebView.h: * TestWebKitAPI/cocoa/TestWKWebView.mm: * TestWebKitAPI/config.h: * TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm: * TestWebKitAPI/ios/TestWKWebViewController.h: * TestWebKitAPI/ios/TestWKWebViewController.mm: * TestWebKitAPI/ios/UIKitSPI.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm: (WTR::TestRunner::inspectorTestStubURL): * WebKitTestRunner/TestController.cpp: (WTR::TestController::webProcessName): (WTR::TestController::networkProcessName): * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke): (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): * WebKitTestRunner/cg/TestInvocationCG.cpp: * WebKitTestRunner/cocoa/TestControllerCocoa.mm: (WTR::initializeWebViewConfiguration): (WTR::TestController::platformCreateWebView): (WTR::TestController::imageCountInGeneralPasteboard const): (WTR::TestController::addTestKeyToKeychain): (WTR::TestController::cleanUpKeychain): (WTR::TestController::keyExistsInKeychain): * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Canonical link: https://commits.webkit.org/205631@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-18 21:38:50 +00:00
#elif PLATFORM(IOS_FAMILY)
[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
OBJC_CLASS UIViewController;
OBJC_CLASS WebValidationBubbleDelegate;
OBJC_CLASS WebValidationBubbleTapRecognizer;
[iOS] Ugly and misaligned form validation bubble https://bugs.webkit.org/show_bug.cgi?id=208472 <rdar://problem/59984027> Reviewed by Tim Horton. In iOS 13, the view of a `UIViewController` that is presented as a popover encompasses the arrow (connected to the popover) that points to the target rect. This means that our current logic for laying out the inner text label of a form validation bubble on iOS no longer works, since it sets a frame that is offset vertically and horizontally from the bounds of the view controller's view. To fix this, we need to respect the safe area insets of the view controller's view when laying out the label. The idiomatic way to do this is to subclass -viewSafeAreaInsetsDidChange and -viewWillLayoutSubviews on the view controller, and update the subview's (i.e. label's) frame; unfortunately, since ValidationBubble is implemented in WebCore, we can't explicitly link against UIKit, so we need to dynamically create a UIViewController subclass and override these subclassing hooks to get our desired behavior. * platform/ValidationBubble.h: * platform/ios/ValidationBubbleIOS.mm: (invokeUIViewControllerSelector): (WebValidationBubbleViewController_dealloc): (WebValidationBubbleViewController_viewDidLoad): (WebValidationBubbleViewController_viewWillLayoutSubviews): (WebValidationBubbleViewController_viewSafeAreaInsetsDidChange): (WebValidationBubbleViewController_labelFrame): (WebValidationBubbleViewController_label): (allocWebValidationBubbleViewControllerInstance): Subclass and create a custom UIViewController to ensure that the label is vertically centered in its popover. See above for more details. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::show): Minor style fixes: remove extraneous `.get()`s on `RetainPtr`, and use property syntax when possible. (WebCore::ValidationBubble::setAnchorRect): Additionally remove a line of code that currently forces the form validation popover to present below its target rect (and therefore have an arrow pointing up). It wasn't apparent why this logic was added in r208361, but it seems the intention wasn't to restrict the popover to presenting below the target. This allows the form validation popover to show up in the case where the input element is aligned to the very bottom of the web view, such that there isn't enough space below the field to show the validation bubble. Canonical link: https://commits.webkit.org/222941@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@259550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-05 16:34:39 +00:00
OBJC_CLASS WebValidationBubbleViewController;
[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
#endif
#if PLATFORM(MAC)
OBJC_CLASS NSView;
using PlatformView = NSView;
Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY) https://bugs.webkit.org/show_bug.cgi?id=190729 Reviewed by Tim Horton. Source/JavaScriptCore: * API/JSBase.cpp: * API/JSWrapperMap.mm: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/AssemblerCommon.h: (JSC::isIOS): * heap/FullGCActivityCallback.cpp: (JSC::FullGCActivityCallback::doCollection): * heap/Heap.cpp: (JSC::Heap::overCriticalMemoryThreshold): (JSC::Heap::updateAllocationLimits): (JSC::Heap::collectIfNecessaryOrDefer): * heap/Heap.h: * inspector/remote/cocoa/RemoteConnectionToTargetCocoa.mm: (Inspector::RemoteConnectionToTarget::dispatchAsyncOnTarget): * jit/ExecutableAllocator.cpp: (JSC::allowJIT): * jit/ExecutableAllocator.h: * jit/RegisterSet.cpp: (JSC::RegisterSet::reservedHardwareRegisters): (JSC::RegisterSet::calleeSaveRegisters): * jit/ThunkGenerators.cpp: * jsc.cpp: (main): * runtime/MathCommon.cpp: * runtime/Options.cpp: (JSC::overrideDefaults): (JSC::recomputeDependentOptions): * runtime/Options.h: Source/WebCore: * DerivedSources.make: * Modules/applepay/cocoa/PaymentContactCocoa.mm: (WebCore::subLocality): (WebCore::setSubLocality): (WebCore::subAdministrativeArea): (WebCore::setSubAdministrativeArea): * Modules/encryptedmedia/legacy/LegacyCDMPrivateMediaPlayer.cpp: * Modules/geolocation/Geolocation.cpp: (WebCore::isRequestFromIBooks): * Modules/geolocation/GeolocationPosition.h: * Modules/geolocation/NavigatorGeolocation.cpp: * Modules/geolocation/NavigatorGeolocation.h: * Modules/geolocation/ios/GeolocationPositionIOS.mm: * Modules/mediasession/WebMediaSessionManager.cpp: * Modules/mediasession/WebMediaSessionManager.h: * Modules/mediastream/MediaDevicesRequest.cpp: (WebCore::MediaDevicesRequest::filterDeviceList): * Modules/plugins/QuickTimePluginReplacement.mm: (WebCore::JSQuickTimePluginReplacement::timedMetaData const): (WebCore::JSQuickTimePluginReplacement::accessLog const): (WebCore::JSQuickTimePluginReplacement::errorLog const): * Modules/speech/SpeechSynthesis.cpp: (WebCore::SpeechSynthesis::SpeechSynthesis): (WebCore::SpeechSynthesis::speak): * Modules/speech/SpeechSynthesis.h: * Modules/webaudio/AudioContext.cpp: * Modules/webaudio/AudioScheduledSourceNode.cpp: * Modules/webdatabase/Database.cpp: (WebCore::Database::performOpenAndVerify): * Modules/webdatabase/DatabaseContext.h: * Modules/webdatabase/DatabaseManagerClient.h: * Modules/webdatabase/DatabaseTracker.cpp: (WebCore::DatabaseTracker::deleteDatabaseFile): * Modules/webdatabase/DatabaseTracker.h: * WebCorePrefix.h: * accessibility/AXObjectCache.cpp: (WebCore::createFromRenderer): * accessibility/AccessibilityMediaObject.cpp: * accessibility/AccessibilityMediaObject.h: * accessibility/AccessibilityMenuList.cpp: (WebCore::AccessibilityMenuList::press): (WebCore::AccessibilityMenuList::isCollapsed const): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::isAccessibilityObjectSearchMatchAtIndex): (WebCore::AccessibilityObject::press): (WebCore::AccessibilityObject::actionVerb const): * accessibility/AccessibilityObject.h: * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::stringValue const): (WebCore::AccessibilityRenderObject::determineAccessibilityRole): (WebCore::AccessibilityRenderObject::actionVerb const): * accessibility/AccessibilityTableColumn.cpp: (WebCore::AccessibilityTableColumn::computeAccessibilityIsIgnored const): * accessibility/AccessibilityTableHeaderContainer.cpp: (WebCore::AccessibilityTableHeaderContainer::computeAccessibilityIsIgnored const): * accessibility/ios/AXObjectCacheIOS.mm: * accessibility/ios/AccessibilityObjectIOS.mm: * accessibility/ios/WebAccessibilityObjectWrapperIOS.h: * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: * bindings/js/CommonVM.cpp: (WebCore::commonVMSlow): * bindings/js/JSCallbackData.h: (WebCore::JSCallbackData::~JSCallbackData): * bindings/js/JSDOMWindowBase.cpp: (WebCore::JSDOMWindowBase::shouldInterruptScriptBeforeTimeout): * bindings/js/ScriptController.cpp: (WebCore::ScriptController::initializeThreading): * bridge/objc/objc_class.mm: (JSC::Bindings::ObjcClass::fieldNamed const): * crypto/CommonCryptoUtilities.h: * crypto/mac/CryptoKeyRSAMac.cpp: * crypto/mac/SerializedCryptoKeyWrapMac.mm: (WebCore::masterKeyAccountNameForCurrentApplication): (WebCore::createAndStoreMasterKey): * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::valueForPropertyinStyle): * css/CSSProperties.json: * css/CSSStyleDeclaration.cpp: * css/CSSValueKeywords.in: * css/MediaQueryEvaluator.cpp: (WebCore::prefersReducedMotionEvaluate): * css/StyleBuilderConverter.h: * css/html.css: (video): (input, textarea, keygen, select, button): (#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY): (#if defined(ENABLE_INPUT_TYPE_DATE) && ENABLE_INPUT_TYPE_DATE): (#endif): (#if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT): (textarea): (input:matches([type="radio"], [type="checkbox"])): (input:matches([type="button"], [type="submit"], [type="reset"]), input[type="file"]::-webkit-file-upload-button, button): (input[type="range"]::-webkit-slider-thumb, input[type="range"]::-webkit-media-slider-thumb): (#if !(defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY)): (input[type="checkbox"]): (#endif // defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR): (#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS): Deleted. (#if !(defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS)): Deleted. * css/parser/CSSParserContext.cpp: (WebCore::CSSParserContext::CSSParserContext): * css/parser/CSSParserFastPaths.cpp: (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): (WebCore::CSSParserFastPaths::isKeywordPropertyID): * css/parser/CSSPropertyParser.cpp: (WebCore::cssPropertyID): (WebCore::CSSPropertyParser::parseSingleValue): * css/parser/CSSPropertyParser.h: * css/svg.css: (#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY): (#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS): Deleted. * dom/DeviceMotionController.cpp: * dom/DeviceMotionController.h: * dom/DeviceOrientationController.cpp: (WebCore::DeviceOrientationController::DeviceOrientationController): * dom/DeviceOrientationController.h: * dom/DeviceOrientationData.cpp: * dom/DeviceOrientationData.h: * dom/DeviceOrientationEvent.cpp: * dom/DeviceOrientationEvent.h: * dom/DeviceOrientationEvent.idl: * dom/Document.cpp: (WebCore::Document::~Document): (WebCore::Document::suspendDeviceMotionAndOrientationUpdates): (WebCore::Document::resumeDeviceMotionAndOrientationUpdates): (WebCore::Document::platformSuspendOrStopActiveDOMObjects): * dom/Document.h: * dom/DocumentMarker.h: (WebCore::DocumentMarker::allMarkers): * dom/DocumentMarkerController.cpp: (WebCore::shouldInsertAsSeparateMarker): (WebCore::DocumentMarkerController::shiftMarkers): * dom/DocumentMarkerController.h: * dom/Element.cpp: (WebCore::Element::focus): * dom/Node.cpp: (WebCore::Node::~Node): (WebCore::Node::willBeDeletedFrom): (WebCore::Node::moveNodeToNewDocument): (WebCore::tryAddEventListener): (WebCore::tryRemoveEventListener): (WebCore::Node::defaultEventHandler): (WebCore::Node::willRespondToMouseMoveEvents): (WebCore::Node::willRespondToMouseClickEvents): * dom/Range.cpp: * dom/Range.h: * dom/TreeScope.cpp: (WebCore::absolutePointIfNotClipped): * dom/ViewportArguments.cpp: (WebCore::setViewportFeature): * dom/ViewportArguments.h: * editing/CompositeEditCommand.cpp: (WebCore::EditCommandComposition::unapply): (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers): (WebCore::CompositeEditCommand::moveParagraphs): * editing/Editor.cpp: (WebCore::TemporarySelectionChange::TemporarySelectionChange): (WebCore::TemporarySelectionChange::~TemporarySelectionChange): (WebCore::Editor::handleTextEvent): (WebCore::Editor::Editor): (WebCore::Editor::clear): (WebCore::Editor::insertTextWithoutSendingTextEvent): (WebCore::Editor::setBaseWritingDirection): (WebCore::Editor::setComposition): (WebCore::Editor::showSpellingGuessPanel): (WebCore::Editor::markMisspellingsAfterTypingToWord): (WebCore::Editor::markMisspellingsOrBadGrammar): (WebCore::Editor::changeBackToReplacedString): (WebCore::Editor::updateMarkersForWordsAffectedByEditing): (WebCore::Editor::revealSelectionAfterEditingOperation): (WebCore::Editor::setIgnoreSelectionChanges): (WebCore::Editor::changeSelectionAfterCommand): (WebCore::Editor::shouldChangeSelection const): (WebCore::Editor::respondToChangedSelection): (WebCore::Editor::editorUIUpdateTimerFired): (WebCore::Editor::resolveTextCheckingTypeMask): * editing/Editor.h: * editing/FontAttributes.h: * editing/FrameSelection.cpp: (WebCore::FrameSelection::FrameSelection): (WebCore::FrameSelection::updateDataDetectorsForSelection): (WebCore::FrameSelection::setSelectedRange): (WebCore::FrameSelection::updateAppearance): (WebCore::FrameSelection::shouldDeleteSelection const): (WebCore::FrameSelection::revealSelection): (WebCore::FrameSelection::setSelectionFromNone): (WebCore::FrameSelection::shouldChangeSelection const): * editing/FrameSelection.h: * editing/InsertIntoTextNodeCommand.cpp: * editing/InsertIntoTextNodeCommand.h: * editing/TypingCommand.cpp: (WebCore::TypingCommand::markMisspellingsAfterTyping): (WebCore::TypingCommand::deleteKeyPressed): (WebCore::TypingCommand::forwardDeleteKeyPressed): * editing/TypingCommand.h: * editing/cocoa/DataDetection.h: * editing/cocoa/DataDetection.mm: * editing/cocoa/FontAttributesCocoa.mm: * editing/cocoa/FontShadowCocoa.mm: (WebCore::FontShadow::createShadow const): * editing/cocoa/HTMLConverter.h: * editing/cocoa/HTMLConverter.mm: (_fontForNameAndSize): (_shadowForShadowStyle): (HTMLConverter::computedAttributesForElement): (HTMLConverter::_addAttachmentForElement): (HTMLConverter::_processMetaElementWithName): (HTMLConverter::_processElement): * editing/cocoa/WebContentReaderCocoa.mm: (WebCore::attributesForAttributedStringConversion): (WebCore::WebContentReader::readURL): * editing/ios/DictationCommandIOS.cpp: * editing/ios/DictationCommandIOS.h: * editing/ios/EditorIOS.mm: * editing/mac/FrameSelectionMac.mm: (WebCore::FrameSelection::notifyAccessibilityForSelectionChange): * fileapi/FileCocoa.mm: * history/CachedFrame.cpp: (WebCore::CachedFrameBase::restore): (WebCore::CachedFrame::CachedFrame): * history/CachedPage.cpp: (WebCore::CachedPage::restore): * history/HistoryItem.cpp: (WebCore::HistoryItem::HistoryItem): * history/HistoryItem.h: * history/PageCache.cpp: (WebCore::canCachePage): * html/BaseDateAndTimeInputType.cpp: * html/BaseDateAndTimeInputType.h: * html/ColorInputType.cpp: (WebCore::ColorInputType::isKeyboardFocusable const): * html/HTMLAppletElement.cpp: (WebCore::HTMLAppletElement::updateWidget): * html/HTMLAttachmentElement.h: * html/HTMLCanvasElement.cpp: (WebCore::maxActivePixelMemory): * html/HTMLElement.cpp: (WebCore::HTMLElement::collectStyleForPresentationAttribute): * html/HTMLIFrameElement.h: * html/HTMLImageElement.cpp: * html/HTMLImageElement.h: * html/HTMLInputElement.cpp: * html/HTMLInputElement.h: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::finishInitialization): (WebCore::HTMLMediaElement::registerWithDocument): (WebCore::HTMLMediaElement::unregisterWithDocument): (WebCore::HTMLMediaElement::setVolume): (WebCore::HTMLMediaElement::nextScanRate): (WebCore::HTMLMediaElement::sourceWasAdded): (WebCore::HTMLMediaElement::mediaEngineWasUpdated): (WebCore::HTMLMediaElement::updateVolume): (WebCore::HTMLMediaElement::userCancelledLoad): (WebCore::HTMLMediaElement::mediaSessionTitle const): (WebCore::HTMLMediaElement::purgeBufferedDataIfPossible): * html/HTMLMediaElement.h: * html/HTMLMetaElement.cpp: (WebCore::HTMLMetaElement::process): * html/HTMLObjectElement.cpp: * html/HTMLPlugInElement.h: * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::usesMenuList const): (WebCore::HTMLSelectElement::createElementRenderer): (WebCore::HTMLSelectElement::childShouldCreateRenderer const): (WebCore::HTMLSelectElement::willRespondToMouseClickEvents): (WebCore::HTMLSelectElement::updateListBoxSelection): (WebCore::HTMLSelectElement::scrollToSelection): (WebCore::HTMLSelectElement::setOptionsChangedOnRenderer): (WebCore::HTMLSelectElement::menuListDefaultEventHandler): (WebCore::HTMLSelectElement::defaultEventHandler): * html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::createInnerTextStyle): * html/HTMLTextFormControlElement.cpp: (WebCore::HTMLTextFormControlElement::select): (WebCore::HTMLTextFormControlElement::adjustInnerTextStyle const): * html/HTMLTextFormControlElement.h: * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::parseAttribute): (WebCore::HTMLVideoElement::supportsFullscreen const): * html/HTMLVideoElement.h: * html/ImageDocument.cpp: (WebCore::ImageDocument::ImageDocument): (WebCore::ImageDocument::createDocumentStructure): (WebCore::ImageDocument::imageUpdated): * html/ImageDocument.h: * html/InputType.cpp: * html/InputType.h: * html/MediaDocument.cpp: (WebCore::MediaDocumentParser::createDocumentStructure): * html/MediaElementSession.cpp: (WebCore::MediaElementSession::clientDataBufferingTimerFired): (WebCore::MediaElementSession::showPlaybackTargetPicker): (WebCore::MediaElementSession::wirelessVideoPlaybackDisabled const): (WebCore::MediaElementSession::setHasPlaybackTargetAvailabilityListeners): (WebCore::MediaElementSession::isPlayingToWirelessPlaybackTarget const): (WebCore::MediaElementSession::requiresFullscreenForVideoPlayback const): * html/MediaElementSession.h: * html/PluginDocument.cpp: (WebCore::PluginDocumentParser::createDocumentStructure): * html/RangeInputType.cpp: (WebCore::RangeInputType::handleTouchEvent): * html/RangeInputType.h: * html/SearchInputType.cpp: (WebCore::SearchInputType::addSearchResult): * html/TextFieldInputType.cpp: (WebCore::TextFieldInputType::isKeyboardFocusable const): (WebCore::TextFieldInputType::handleFocusEvent): (WebCore::TextFieldInputType::handleBlurEvent): (WebCore::TextFieldInputType::didSetValueByUserEdit): (WebCore::TextFieldInputType::listAttributeTargetChanged): * html/parser/HTMLParserScheduler.h: (WebCore::HTMLParserScheduler::shouldYieldBeforeToken): * html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processCharacterBufferForInBody): * html/parser/HTMLTreeBuilder.h: * html/shadow/MediaControlElements.cpp: * html/shadow/MediaControlElements.h: * html/shadow/MediaControls.h: * html/shadow/SliderThumbElement.cpp: (WebCore::SliderThumbElement::dragFrom): * html/shadow/SliderThumbElement.h: * html/shadow/TextControlInnerElements.cpp: (WebCore::SearchFieldResultsButtonElement::defaultEventHandler): (WebCore::SearchFieldCancelButtonElement::SearchFieldCancelButtonElement): * html/shadow/TextControlInnerElements.h: * inspector/InspectorController.cpp: (WebCore::InspectorController::setIndicating): * inspector/InspectorFrontendHost.cpp: (WebCore::InspectorFrontendHost::platform): * inspector/PageScriptDebugServer.cpp: (WebCore::PageScriptDebugServer::runEventLoopWhilePaused): * inspector/agents/InspectorTimelineAgent.cpp: (WebCore::currentRunLoop): * loader/DocumentLoader.cpp: * loader/DocumentLoader.h: * loader/DocumentThreadableLoader.cpp: (WebCore::DocumentThreadableLoader::makeCrossOriginAccessRequest): * loader/DocumentWriter.cpp: (WebCore::DocumentWriter::createDocument): * loader/EmptyClients.cpp: * loader/EmptyClients.h: * loader/EmptyFrameLoaderClient.h: * loader/FrameLoader.cpp: (WebCore::FrameLoader::checkCompleted): (WebCore::FrameLoader::willLoadMediaElementURL): (WebCore::FrameLoader::stopForUserCancel): (WebCore::FrameLoader::commitProvisionalLoad): (WebCore::FrameLoader::didFirstLayout): (WebCore::createWindow): * loader/FrameLoader.h: * loader/FrameLoaderClient.h: * loader/HistoryController.cpp: (WebCore::HistoryController::saveScrollPositionAndViewStateToItem): (WebCore::HistoryController::restoreScrollPositionAndViewState): * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::init): (WebCore::ResourceLoader::willSendRequestInternal): * loader/ResourceLoader.h: * loader/SubframeLoader.cpp: (WebCore::SubframeLoader::loadPlugin): * loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::create): (WebCore::SubresourceLoader::willCancel): (WebCore::SubresourceLoader::notifyDone): (WebCore::SubresourceLoader::releaseResources): * loader/SubresourceLoader.h: * loader/cache/CachedImage.cpp: * page/CaptionUserPreferencesMediaAF.cpp: (WebCore::userCaptionPreferencesChangedNotificationCallback): * page/Chrome.cpp: (WebCore::Chrome::createColorChooser): (WebCore::Chrome::dispatchViewportPropertiesDidChange const): (WebCore::Chrome::didReceiveDocType): * page/Chrome.h: * page/ChromeClient.h: * page/DOMTimer.cpp: (WebCore::DOMTimer::install): (WebCore::DOMTimer::fired): * page/DOMWindow.cpp: (WebCore::DOMWindow::outerHeight const): (WebCore::DOMWindow::outerWidth const): (WebCore::DOMWindow::clearTimeout): (WebCore::DOMWindow::addEventListener): (WebCore::DOMWindow::resetAllGeolocationPermission): (WebCore::DOMWindow::removeEventListener): (WebCore::DOMWindow::removeAllEventListeners): * page/DOMWindow.h: * page/DeprecatedGlobalSettings.cpp: (WebCore::DeprecatedGlobalSettings::globalConstRedeclarationShouldThrow): * page/DeprecatedGlobalSettings.h: * page/DragController.cpp: * page/EditorClient.h: * page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEventSingleClick): (WebCore::EventHandler::handleMouseReleaseEvent): (WebCore::EventHandler::startPanScrolling): (WebCore::EventHandler::handleMouseMoveEvent): * page/EventHandler.h: * page/Frame.cpp: (WebCore::Frame::Frame): (WebCore::Frame::willDetachPage): * page/Frame.h: * page/FrameView.cpp: (WebCore::FrameView::FrameView): (WebCore::FrameView::clear): (WebCore::FrameView::effectiveFrameFlattening const): (WebCore::FrameView::flushCompositingStateForThisFrame): (WebCore::FrameView::scrollPositionRespectingCustomFixedPosition const): (WebCore::FrameView::viewportConstrainedVisibleContentRect const): (WebCore::FrameView::updateContentsSize): (WebCore::FrameView::computeScrollability const): (WebCore::FrameView::adjustTiledBackingCoverage): (WebCore::FrameView::calculateExtendedBackgroundMode const): (WebCore::FrameView::performPostLayoutTasks): (WebCore::FrameView::sizeForResizeEvent const): (WebCore::FrameView::sendResizeEventIfNeeded): * page/FrameView.h: * page/FrameViewLayoutContext.cpp: (WebCore::FrameViewLayoutContext::layout): * page/MemoryRelease.cpp: (WebCore::releaseCriticalMemory): (WebCore::releaseMemory): * page/Navigator.cpp: * page/Navigator.h: * page/NavigatorBase.cpp: * page/Page.cpp: (WebCore::Page::setIsVisibleInternal): (WebCore::Page::showPlaybackTargetPicker): * page/Page.h: * page/PerformanceMonitor.cpp: (WebCore::PerformanceMonitor::measurePostLoadMemoryUsage): * page/ResourceUsageOverlay.cpp: (WebCore::ResourceUsageOverlay::initialize): * page/SecurityOrigin.cpp: (WebCore::SecurityOrigin::canDisplay const): * page/SettingsBase.cpp: * page/SettingsBase.h: * page/SettingsDefaultValues.h: (WebCore::editingBehaviorTypeForPlatform): * page/TextIndicator.cpp: (WebCore::TextIndicator::createWithRange): (WebCore::initializeIndicator): * page/ViewportConfiguration.cpp: (WebCore::ViewportConfiguration::textDocumentParameters): * page/cocoa/MemoryReleaseCocoa.mm: (WebCore::platformReleaseMemory): (WebCore::jettisonExpensiveObjectsOnTopLevelNavigation): * page/cocoa/ResourceUsageOverlayCocoa.mm: (WebCore::showText): * page/cocoa/ResourceUsageThreadCocoa.mm: (WebCore::vmPageSize): * page/cocoa/SettingsBaseCocoa.mm: * page/ios/EventHandlerIOS.mm: * page/ios/FrameIOS.mm: * page/mac/ChromeMac.mm: * page/mac/PageMac.mm: (WebCore::Page::platformInitialize): * page/mac/WebCoreFrameView.h: * page/scrolling/AsyncScrollingCoordinator.cpp: (WebCore::AsyncScrollingCoordinator::reconcileScrollingState): * page/scrolling/ScrollingTree.h: * page/scrolling/ScrollingTreeScrollingNode.h: * page/scrolling/ScrollingTreeScrollingNodeDelegate.cpp: * page/scrolling/ScrollingTreeScrollingNodeDelegate.h: * page/scrolling/ios/ScrollingCoordinatorIOS.h: * page/scrolling/ios/ScrollingCoordinatorIOS.mm: * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.h: * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm: * page/scrolling/ios/ScrollingTreeIOS.cpp: * page/scrolling/ios/ScrollingTreeIOS.h: * platform/ContentFilterUnblockHandler.h: * platform/Cursor.cpp: * platform/Cursor.h: * platform/DragImage.cpp: * platform/DragImage.h: * platform/FileChooser.cpp: * platform/FileChooser.h: * platform/HostWindow.h: * platform/LocalizedStrings.cpp: * platform/LocalizedStrings.h: * platform/LowPowerModeNotifier.cpp: * platform/LowPowerModeNotifier.h: * platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedImageMIMETypes): (WebCore::initializeSupportedNonImageMimeTypes): (WebCore::initializeUnsupportedTextMIMETypes): * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformKeyboardEvent.h: * platform/PlatformPasteboard.h: * platform/PlatformScreen.h: * platform/RemoteCommandListener.cpp: * platform/RuntimeApplicationChecks.h: * platform/ScrollAnimator.cpp: * platform/ScrollView.cpp: (WebCore::ScrollView::contentsScrollPosition const): (WebCore::ScrollView::setContentsScrollPosition): (WebCore::ScrollView::visibleContentRectInternal const): * platform/ScrollView.h: * platform/ScrollableArea.cpp: * platform/ScrollableArea.h: * platform/Scrollbar.cpp: * platform/Scrollbar.h: * platform/ThreadTimers.cpp: * platform/Timer.cpp: (WebCore::shouldSuppressThreadSafetyCheck): * platform/Timer.h: (WebCore::TimerBase::isActive const): * platform/ValidationBubble.h: * platform/Widget.h: * platform/audio/AudioHardwareListener.cpp: (WebCore::AudioHardwareListener::AudioHardwareListener): * platform/audio/PlatformMediaSession.h: * platform/audio/PlatformMediaSessionManager.h: * platform/audio/ios/AudioDestinationIOS.cpp: * platform/audio/ios/AudioDestinationIOS.h: * platform/audio/ios/AudioFileReaderIOS.cpp: * platform/audio/ios/AudioFileReaderIOS.h: * platform/audio/ios/AudioSessionIOS.mm: (WebCore::AudioSession::setCategory): (WebCore::AudioSession::routingContextUID const): * platform/audio/ios/MediaSessionManagerIOS.h: * platform/audio/ios/MediaSessionManagerIOS.mm: * platform/cf/MainThreadSharedTimerCF.cpp: (WebCore::setupPowerObserver): (WebCore::MainThreadSharedTimer::setFireInterval): * platform/cf/URLCF.cpp: * platform/cocoa/ContentFilterUnblockHandlerCocoa.mm: (WebCore::ContentFilterUnblockHandler::wrapWithDecisionHandler): (WebCore::ContentFilterUnblockHandler::needsUIProcess const): (WebCore::ContentFilterUnblockHandler::encode const): (WebCore::ContentFilterUnblockHandler::decode): (WebCore::ContentFilterUnblockHandler::canHandleRequest const): (WebCore::dispatchToMainThread): (WebCore::ContentFilterUnblockHandler::requestUnblockAsync const): * platform/cocoa/DataDetectorsCoreSoftLink.h: * platform/cocoa/DataDetectorsCoreSoftLink.mm: * platform/cocoa/KeyEventCocoa.mm: * platform/cocoa/LocalizedStringsCocoa.mm: (WebCore::localizedNSString): * platform/cocoa/NetworkExtensionContentFilter.mm: (WebCore::NetworkExtensionContentFilter::initialize): * platform/cocoa/ParentalControlsContentFilter.mm: (WebCore::ParentalControlsContentFilter::unblockHandler const): * platform/cocoa/PasteboardCocoa.mm: (WebCore::Pasteboard::fileContentState): * platform/cocoa/PlatformView.h: * platform/cocoa/PlaybackSessionInterface.h: * platform/cocoa/PlaybackSessionModel.h: * platform/cocoa/PlaybackSessionModelMediaElement.h: * platform/cocoa/PlaybackSessionModelMediaElement.mm: * platform/cocoa/RuntimeApplicationChecksCocoa.mm: * platform/cocoa/SystemVersion.mm: (WebCore::createSystemMarketingVersion): * platform/cocoa/VideoFullscreenChangeObserver.h: * platform/cocoa/VideoFullscreenModel.h: * platform/cocoa/VideoFullscreenModelVideoElement.h: * platform/cocoa/VideoFullscreenModelVideoElement.mm: * platform/gamepad/cocoa/GameControllerGamepad.h: * platform/gamepad/cocoa/GameControllerGamepad.mm: * platform/gamepad/cocoa/GameControllerGamepadProvider.h: * platform/gamepad/cocoa/GameControllerGamepadProvider.mm: * platform/graphics/BitmapImage.h: * platform/graphics/Color.h: * platform/graphics/ComplexTextController.cpp: * platform/graphics/DisplayRefreshMonitor.cpp: (WebCore::DisplayRefreshMonitor::createDefaultDisplayRefreshMonitor): * platform/graphics/FloatSize.h: * platform/graphics/Font.cpp: (WebCore::Font::Font): (WebCore::createAndFillGlyphPage): * platform/graphics/Font.h: * platform/graphics/FontCache.cpp: (WebCore::FontCache::getCachedFontPlatformData): (WebCore::FontCache::fontForPlatformData): (WebCore::FontCache::purgeInactiveFontData): (WebCore::FontCache::inactiveFontCount): * platform/graphics/FontCascade.cpp: (WebCore::FontCascade::FontCascade): * platform/graphics/FontCascadeFonts.h: * platform/graphics/FontDescription.h: * platform/graphics/FontPlatformData.h: (WebCore::FontPlatformData::isEmoji const): * platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::drawImage): * platform/graphics/GraphicsContext3D.h: * platform/graphics/GraphicsLayer.h: * platform/graphics/Icon.h: * platform/graphics/Image.cpp: (WebCore::Image::drawTiled): (WebCore::Image::computeIntrinsicDimensions): * platform/graphics/Image.h: * platform/graphics/IntPoint.h: * platform/graphics/IntRect.h: * platform/graphics/IntSize.h: * platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::isAvailable): (WebCore::MediaPlayer::volumeChanged): * platform/graphics/MediaPlayer.h: * platform/graphics/MediaPlayerPrivate.h: * platform/graphics/NamedImageGeneratedImage.cpp: (WebCore::NamedImageGeneratedImage::draw): * platform/graphics/StringTruncator.cpp: (WebCore::centerTruncateToBuffer): (WebCore::rightTruncateToBuffer): (WebCore::rightClipToWordBuffer): * platform/graphics/TextTrackRepresentation.cpp: * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: * platform/graphics/avfoundation/MediaPlaybackTargetMac.mm: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::supportsFullscreen const): (WebCore::MediaPlayerPrivateAVFoundation::rateChanged): * platform/graphics/avfoundation/WebMediaSessionManagerMac.cpp: * platform/graphics/avfoundation/WebMediaSessionManagerMac.h: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h: * platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm: (WebCore::CDMInstanceFairPlayStreamingAVFObjC::supportsPersistentKeys): * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm: * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.h: * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerLayer): (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): (WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenMode): (WebCore::MediaPlayerPrivateAVFoundationObjC::setVolume): (WebCore::MediaPlayerPrivateAVFoundationObjC::seekableTimeRangesLastModifiedTime const): (WebCore::MediaPlayerPrivateAVFoundationObjC::liveUpdateInterval const): (WebCore::MediaPlayerPrivateAVFoundationObjC::maximumDurationToCacheMediaTime const): (WebCore::MediaPlayerPrivateAVFoundationObjC::didPassCORSAccessCheck const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wouldTaintOrigin const): (WebCore::MediaPlayerPrivateAVFoundationObjC::isCurrentPlaybackTargetWireless const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessPlaybackTargetType const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessPlaybackTargetName const): (WebCore::MediaPlayerPrivateAVFoundationObjC::updateDisableExternalPlayback): (WebCore::MediaPlayerPrivateAVFoundationObjC::setShouldDisableSleep): * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm: (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::supportsPictureInPicture const): * platform/graphics/avfoundation/objc/OutOfBandTextTrackPrivateAVF.h: * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::flushCompositingState): (WebCore::GraphicsLayerCA::computeVisibleAndCoverageRect const): (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes): * platform/graphics/ca/GraphicsLayerCA.h: * platform/graphics/ca/PlatformCALayer.h: * platform/graphics/ca/TileController.cpp: (WebCore::TileController::~TileController): (WebCore::TileController::adjustTileCoverageRect const): * platform/graphics/ca/TileController.h: * platform/graphics/ca/TileGrid.cpp: (WebCore::TileGrid::startedNewCohort): (WebCore::TileGrid::platformCALayerPaintContents): * platform/graphics/ca/TileGrid.h: * platform/graphics/ca/cocoa/LayerFlushSchedulerMac.cpp: (WebCore::currentRunLoop): * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: (-[WebAnimationDelegate animationDidStart:]): (-[WebAnimationDelegate animationDidStop:finished:]): (WebCore::PlatformCALayerCocoa::setContentsScale): (WebCore::layerContentsFormat): (WebCore::PlatformCALayer::drawLayerContents): (WebCore::PlatformCALayerCocoa::backingStoreBytesPerPixel const): * platform/graphics/cg/GradientCG.cpp: (WebCore::Gradient::paint): * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::displayP3ColorSpaceRef): (WebCore::GraphicsContext::drawNativeImage): (WebCore::drawPatternCallback): (WebCore::GraphicsContext::drawPattern): (WebCore::GraphicsContext::drawLine): (WebCore::applyShadowOffsetWorkaroundIfNeeded): (WebCore::GraphicsContext::setURLForRect): * platform/graphics/cg/ImageBufferCG.cpp: (WebCore::jpegUTI): * platform/graphics/cg/ImageBufferDataCG.cpp: * platform/graphics/cg/ImageDecoderCG.cpp: (WebCore::ImageDecoderCG::createFrameImageAtIndex): * platform/graphics/cg/ImageSourceCGMac.mm: * platform/graphics/cg/PDFDocumentImage.cpp: * platform/graphics/cocoa/ColorCocoa.h: * platform/graphics/cocoa/ColorCocoa.mm: * platform/graphics/cocoa/FontCacheCoreText.cpp: (WebCore::FontCache::similarFont): (WebCore::computeNecessarySynthesis): (WebCore::FontDatabase::fontForPostScriptName): (WebCore::variationCapabilitiesForFontDescriptor): (WebCore::lookupFallbackFont): (WebCore::FontCache::systemFallbackForCharacters): (WebCore::FontCache::lastResortFallbackFont): * platform/graphics/cocoa/FontCascadeCocoa.mm: (WebCore::FontCascade::drawGlyphs): (WebCore::FontCascade::fontForCombiningCharacterSequence const): * platform/graphics/cocoa/FontCocoa.mm: (WebCore::Font::platformInit): (WebCore::Font::variantCapsSupportsCharacterForSynthesis const): (WebCore::Font::determinePitch): * platform/graphics/cocoa/FontDescriptionCocoa.cpp: (WebCore::FontCascadeDescription::effectiveFamilyCount const): (WebCore::FontCascadeDescription::effectiveFamilyAt const): * platform/graphics/cocoa/FontPlatformDataCocoa.mm: (WebCore::FontPlatformData::FontPlatformData): (WebCore::cascadeToLastResortAndVariationsFontDescriptor): * platform/graphics/cocoa/GraphicsContext3DCocoa.mm: (WebCore::GraphicsContext3D::GraphicsContext3D): (WebCore::GraphicsContext3D::texImageIOSurface2D): * platform/graphics/cocoa/GraphicsContextCocoa.mm: * platform/graphics/cocoa/IOSurface.mm: (WebCore::optionsForBiplanarSurface): (WebCore::optionsFor32BitSurface): (WebCore::IOSurface::maximumSize): (WebCore::IOSurface::surfaceID const): * platform/graphics/cocoa/SystemFontDatabaseCoreText.cpp: (WebCore::SystemFontDatabaseCoreText::cascadeList): * platform/graphics/cocoa/TextTrackRepresentationCocoa.h: * platform/graphics/cocoa/TextTrackRepresentationCocoa.mm: (-[WebCoreTextTrackRepresentationCocoaHelper observeValueForKeyPath:ofObject:change:context:]): * platform/graphics/cocoa/WebMetalLayer.h: * platform/graphics/cv/ImageTransferSessionVT.mm: (WebCore::cvPixelFormatOpenGLKey): (WebCore::ImageTransferSessionVT::ImageTransferSessionVT): * platform/graphics/cv/VideoTextureCopierCV.h: * platform/graphics/ios/DisplayRefreshMonitorIOS.h: * platform/graphics/ios/DisplayRefreshMonitorIOS.mm: * platform/graphics/ios/FontAntialiasingStateSaver.h: (WebCore::FontAntialiasingStateSaver::FontAntialiasingStateSaver): (WebCore::FontAntialiasingStateSaver::setup): (WebCore::FontAntialiasingStateSaver::restore): * platform/graphics/ios/FontCacheIOS.mm: * platform/graphics/ios/IconIOS.mm: * platform/graphics/mac/ComplexTextControllerCoreText.mm: (WebCore::ComplexTextController::collectComplexTextRunsForCharacters): * platform/graphics/mac/FloatPointMac.mm: * platform/graphics/mac/FloatRectMac.mm: * platform/graphics/mac/FloatSizeMac.mm: * platform/graphics/mac/FontCustomPlatformData.cpp: (WebCore::createFontCustomPlatformData): * platform/graphics/mac/ImageMac.mm: * platform/graphics/mac/IntPointMac.mm: * platform/graphics/mac/IntRectMac.mm: * platform/graphics/mac/IntSizeMac.mm: * platform/graphics/mac/WebKitNSImageExtras.h: * platform/graphics/mac/WebKitNSImageExtras.mm: * platform/graphics/mac/WebLayer.mm: (-[WebSimpleLayer display]): (-[WebSimpleLayer drawInContext:]): * platform/graphics/opengl/Extensions3DOpenGL.cpp: (WebCore::Extensions3DOpenGL::supportsExtension): * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp: * platform/graphics/transforms/TransformationMatrix.cpp: (WebCore::TransformationMatrix::multiply): * platform/graphics/transforms/TransformationMatrix.h: * platform/ios/CursorIOS.cpp: * platform/ios/Device.cpp: * platform/ios/Device.h: * platform/ios/DeviceMotionClientIOS.h: * platform/ios/DeviceMotionClientIOS.mm: (WebCore::DeviceMotionClientIOS::motionChanged): * platform/ios/DeviceOrientationClientIOS.h: * platform/ios/DeviceOrientationClientIOS.mm: (WebCore::DeviceOrientationClientIOS::orientationChanged): * platform/ios/DragImageIOS.mm: * platform/ios/EventLoopIOS.mm: * platform/ios/KeyEventIOS.mm: * platform/ios/LegacyTileCache.h: * platform/ios/LegacyTileCache.mm: * platform/ios/LegacyTileGrid.h: * platform/ios/LegacyTileGrid.mm: * platform/ios/LegacyTileGridTile.h: * platform/ios/LegacyTileGridTile.mm: * platform/ios/LegacyTileLayer.h: * platform/ios/LegacyTileLayer.mm: * platform/ios/LegacyTileLayerPool.h: * platform/ios/LegacyTileLayerPool.mm: * platform/ios/LowPowerModeNotifierIOS.mm: * platform/ios/PasteboardIOS.mm: * platform/ios/PlatformEventFactoryIOS.h: * platform/ios/PlatformEventFactoryIOS.mm: * platform/ios/PlatformPasteboardIOS.mm: * platform/ios/PlatformScreenIOS.mm: * platform/ios/PlatformSpeechSynthesizerIOS.mm: * platform/ios/PlaybackSessionInterfaceAVKit.h: * platform/ios/PlaybackSessionInterfaceAVKit.mm: * platform/ios/RemoteCommandListenerIOS.h: * platform/ios/RemoteCommandListenerIOS.mm: * platform/ios/SSLKeyGeneratorIOS.cpp: * platform/ios/ScrollAnimatorIOS.h: * platform/ios/ScrollAnimatorIOS.mm: * platform/ios/ScrollViewIOS.mm: (WebCore::ScrollView::platformSetContentsSize): * platform/ios/ScrollbarThemeIOS.h: * platform/ios/ScrollbarThemeIOS.mm: * platform/ios/SystemMemoryIOS.cpp: (WebCore::systemMemoryLevel): * platform/ios/ThemeIOS.h: * platform/ios/ThemeIOS.mm: * platform/ios/TileControllerMemoryHandlerIOS.cpp: * platform/ios/TileControllerMemoryHandlerIOS.h: * platform/ios/UserAgentIOS.mm: (WebCore::deviceNameForUserAgent): * platform/ios/ValidationBubbleIOS.mm: * platform/ios/VideoFullscreenInterfaceAVKit.h: * platform/ios/VideoFullscreenInterfaceAVKit.mm: (WebCore::supportsPictureInPicture): * platform/ios/WebAVPlayerController.h: * platform/ios/WebAVPlayerController.mm: * platform/ios/WebBackgroundTaskController.h: * platform/ios/WebBackgroundTaskController.mm: * platform/ios/WebCoreMotionManager.h: * platform/ios/WebCoreMotionManager.mm: * platform/ios/WebEvent.h: * platform/ios/WebEvent.mm: * platform/ios/WebSQLiteDatabaseTrackerClient.h: * platform/ios/WebSQLiteDatabaseTrackerClient.mm: * platform/ios/WebVideoFullscreenControllerAVKit.h: * platform/ios/WebVideoFullscreenControllerAVKit.mm: (VideoFullscreenControllerContext::requestUpdateInlineRect): (VideoFullscreenControllerContext::requestVideoContentLayer): (VideoFullscreenControllerContext::returnVideoContentLayer): (VideoFullscreenControllerContext::didSetupFullscreen): (VideoFullscreenControllerContext::didExitFullscreen): * platform/ios/WidgetIOS.mm: * platform/ios/wak/FloatingPointEnvironment.cpp: * platform/ios/wak/FloatingPointEnvironment.h: * platform/ios/wak/WAKAppKitStubs.m: * platform/ios/wak/WAKClipView.m: * platform/ios/wak/WAKResponder.m: * platform/ios/wak/WAKScrollView.mm: * platform/ios/wak/WAKView.mm: * platform/ios/wak/WAKWindow.mm: * platform/ios/wak/WKContentObservation.cpp: * platform/ios/wak/WKGraphics.mm: * platform/ios/wak/WKUtilities.c: * platform/ios/wak/WKView.mm: * platform/ios/wak/WebCoreThread.mm: * platform/ios/wak/WebCoreThreadRun.cpp: * platform/ios/wak/WebCoreThreadSystemInterface.cpp: * platform/mac/DragDataMac.mm: (WebCore::rtfPasteboardType): (WebCore::rtfdPasteboardType): (WebCore::stringPasteboardType): (WebCore::urlPasteboardType): (WebCore::htmlPasteboardType): (WebCore::colorPasteboardType): (WebCore::pdfPasteboardType): (WebCore::tiffPasteboardType): (WebCore::DragData::containsURL const): * platform/mac/MediaRemoteSoftLink.cpp: * platform/mac/MediaRemoteSoftLink.h: * platform/mac/SuddenTermination.mm: * platform/mac/WebCoreFullScreenPlaceholderView.mm: * platform/mac/WebCoreFullScreenWarningView.h: * platform/mac/WebCoreFullScreenWarningView.mm: * platform/mac/WebCoreFullScreenWindow.h: * platform/mac/WebCoreFullScreenWindow.mm: * platform/mac/WebNSAttributedStringExtras.mm: * platform/mediastream/RealtimeMediaSourceFactory.h: * platform/mediastream/RealtimeVideoSource.cpp: (WebCore::RealtimeVideoSource::~RealtimeVideoSource): (WebCore::RealtimeVideoSource::prepareToProduceData): * platform/mediastream/ios/AVAudioSessionCaptureDevice.h: * platform/mediastream/ios/AVAudioSessionCaptureDevice.mm: * platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.h: * platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm: * platform/mediastream/ios/CoreAudioCaptureSourceIOS.h: * platform/mediastream/ios/CoreAudioCaptureSourceIOS.mm: * platform/mediastream/libwebrtc/LibWebRTCMacros.h: * platform/mediastream/mac/AVCaptureDeviceManager.mm: (WebCore::deviceIsAvailable): * platform/mediastream/mac/AVMediaCaptureSource.mm: (WebCore::AVMediaCaptureSource::AVMediaCaptureSource): (WebCore::AVMediaCaptureSource::stopProducingData): (-[WebCoreAVMediaCaptureSourceObserver addNotificationObservers]): (-[WebCoreAVMediaCaptureSourceObserver removeNotificationObservers]): * platform/mediastream/mac/AVVideoCaptureSource.mm: (WebCore::AVVideoCaptureSource::AVVideoCaptureSource): (WebCore::AVVideoCaptureSource::~AVVideoCaptureSource): (WebCore::AVVideoCaptureSource::stopProducingData): (WebCore::AVVideoCaptureSource::prefersPreset): (WebCore::sensorOrientation): (WebCore::AVVideoCaptureSource::setupCaptureSession): (WebCore::AVVideoCaptureSource::monitorOrientation): (-[WebCoreAVVideoCaptureSourceObserver addNotificationObservers]): (-[WebCoreAVVideoCaptureSourceObserver removeNotificationObservers]): * platform/mediastream/mac/AudioTrackPrivateMediaStreamCocoa.cpp: (WebCore::AudioTrackPrivateMediaStreamCocoa::createAudioUnit): * platform/mediastream/mac/CoreAudioCaptureSource.cpp: (WebCore::CoreAudioSharedUnit::setupAudioUnit): (WebCore::CoreAudioCaptureSource::create): (WebCore::CoreAudioCaptureSource::CoreAudioCaptureSource): (WebCore::CoreAudioCaptureSource::~CoreAudioCaptureSource): (WebCore::CoreAudioCaptureSource::startProducingData): * platform/mediastream/mac/CoreAudioCaptureSource.h: * platform/mediastream/mac/DisplayCaptureSourceCocoa.cpp: (WebCore::DisplayCaptureSourceCocoa::~DisplayCaptureSourceCocoa): (WebCore::DisplayCaptureSourceCocoa::startProducingData): * platform/mediastream/mac/RealtimeIncomingVideoSourceCocoa.mm: (WebCore::RealtimeIncomingVideoSourceCocoa::pixelBufferPool): * platform/mediastream/mac/RealtimeMediaSourceCenterMac.cpp: * platform/mock/MediaPlaybackTargetMock.cpp: * platform/mock/MediaPlaybackTargetMock.h: * platform/mock/MediaPlaybackTargetPickerMock.cpp: * platform/mock/MediaPlaybackTargetPickerMock.h: * platform/mock/MockRealtimeAudioSource.cpp: (WebCore::MockRealtimeAudioSource::~MockRealtimeAudioSource): (WebCore::MockRealtimeAudioSource::startProducingData): * platform/mock/MockRealtimeMediaSourceCenter.cpp: * platform/mock/MockRealtimeVideoSource.cpp: * platform/network/CredentialStorage.cpp: * platform/network/NetworkStateNotifier.h: * platform/network/ResourceHandle.cpp: (WebCore::builtinResourceHandleConstructorMap): * platform/network/ResourceHandle.h: * platform/network/ResourceHandleClient.h: * platform/network/ResourceRequestBase.cpp: * platform/network/ResourceRequestBase.h: * platform/network/cf/DNSResolveQueueCFNet.cpp: * platform/network/cf/ProxyServerCFNet.cpp: * platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::ResourceHandle::createCFURLConnection): * platform/network/cf/ResourceRequest.h: (WebCore::ResourceRequest::resourcePrioritiesEnabled): * platform/network/cf/ResourceRequestCFNet.cpp: (WebCore::ResourceRequest::doUpdatePlatformRequest): (WebCore::ResourceRequest::doUpdateResourceRequest): * platform/network/cf/SocketStreamHandleImplCFNet.cpp: (WebCore::callbacksRunLoop): (WebCore::copyCONNECTProxyResponse): * platform/network/cocoa/CookieCocoa.mm: (WebCore::Cookie::operator NSHTTPCookie * _Nullable const): * platform/network/cocoa/NetworkStorageSessionCocoa.mm: (WebCore::cookiesForURL): (WebCore::setHTTPCookiesForURL): * platform/network/cocoa/ResourceRequestCocoa.mm: (WebCore::ResourceRequest::doUpdateResourceRequest): (WebCore::ResourceRequest::doUpdatePlatformRequest): * platform/network/ios/NetworkStateNotifierIOS.mm: * platform/network/ios/WebCoreURLResponseIOS.h: * platform/network/ios/WebCoreURLResponseIOS.mm: * platform/network/mac/ResourceErrorMac.mm: * platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::createNSURLConnection): (WebCore::ResourceHandle::start): (WebCore::ResourceHandle::platformLoadResourceSynchronously): (WebCore::ResourceHandle::didReceiveAuthenticationChallenge): * platform/network/mac/UTIUtilities.mm: * platform/sql/SQLiteDatabase.h: (WebCore::SQLiteDatabase::sqlite3Handle const): * platform/sql/SQLiteFileSystem.cpp: * platform/sql/SQLiteFileSystem.h: * platform/sql/SQLiteTransaction.cpp: (WebCore::SQLiteTransaction::begin): (WebCore::SQLiteTransaction::commit): (WebCore::SQLiteTransaction::rollback): (WebCore::SQLiteTransaction::stop): * platform/text/PlatformLocale.cpp: * platform/text/PlatformLocale.h: * platform/text/ios/LocalizedDateCache.h: * platform/text/ios/LocalizedDateCache.mm: * platform/text/ios/TextEncodingRegistryIOS.mm: * platform/text/mac/LocaleMac.h: * platform/text/mac/LocaleMac.mm: * plugins/PluginViewBase.h: * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paintPlatformDocumentMarker): (WebCore::InlineTextBox::resolveStyleForMarkedText): (WebCore::InlineTextBox::collectMarkedTextsForDocumentMarkers): * rendering/MarkedText.h: * rendering/RenderBlock.cpp: (WebCore::RenderBlock::paint): * rendering/RenderBox.cpp: (WebCore::RenderBox::paintBoxDecorations): (WebCore::allowMinMaxPercentagesInAutoHeightBlocksQuirk): * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::decodingModeForImageDraw const): * rendering/RenderButton.cpp: * rendering/RenderButton.h: * rendering/RenderElement.cpp: (WebCore::RenderElement::styleWillChange): (WebCore::RenderElement::styleDidChange): * rendering/RenderEmbeddedObject.cpp: (WebCore::RenderEmbeddedObject::allowsAcceleratedCompositing const): (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReason): (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReasonWithDescription): * rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::maxFilenameWidth const): (WebCore::RenderFileUploadControl::paintObject): * rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::positionFrames): * rendering/RenderIFrame.h: * rendering/RenderImage.cpp: (WebCore::RenderImage::paintAreaElementFocusRing): * rendering/RenderImage.h: * rendering/RenderInline.cpp: * rendering/RenderInline.h: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::RenderLayer): (WebCore::canCreateStackingContext): (WebCore::RenderLayer::canUseAcceleratedTouchScrolling const): (WebCore::RenderLayer::scrollTo): (WebCore::RenderLayer::scrollRectToVisible): (WebCore::RenderLayer::updateScrollInfoAfterLayout): (WebCore::RenderLayer::showsOverflowControls const): (WebCore::RenderLayer::calculateClipRects const): * rendering/RenderLayer.h: * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer): (WebCore::RenderLayerBacking::shouldClipCompositedBounds const): (WebCore::RenderLayerBacking::updateConfiguration): (WebCore::RenderLayerBacking::computeParentGraphicsLayerRect const): (WebCore::RenderLayerBacking::updateGeometry): (WebCore::RenderLayerBacking::paintsIntoWindow const): (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect): (WebCore::RenderLayerBacking::paintIntoLayer): * rendering/RenderLayerBacking.h: * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::visibleRectForLayerFlushing const): (WebCore::RenderLayerCompositor::flushPendingLayerChanges): (WebCore::RenderLayerCompositor::updateCustomLayersAfterFlush): (WebCore::RenderLayerCompositor::didFlushChangesForLayer): (WebCore::RenderLayerCompositor::computeCompositingRequirements): (WebCore::RenderLayerCompositor::setIsInWindow): (WebCore::RenderLayerCompositor::requiresCompositingForScrollableFrame const): (WebCore::RenderLayerCompositor::isAsyncScrollableStickyLayer const): (WebCore::RenderLayerCompositor::requiresCompositingForOverflowScrolling const): (WebCore::RenderLayerCompositor::contentsScaleMultiplierForNewTiles const): (WebCore::RenderLayerCompositor::ensureRootLayer): (WebCore::RenderLayerCompositor::computeStickyViewportConstraints const): (WebCore::RenderLayerCompositor::willRemoveScrollingLayerWithBacking): (WebCore::RenderLayerCompositor::didAddScrollingLayer): * rendering/RenderLayerCompositor.h: * rendering/RenderLayerModelObject.cpp: (WebCore::RenderLayerModelObject::shouldPlaceBlockDirectionScrollbarOnLeft const): * rendering/RenderLineBreak.cpp: * rendering/RenderLineBreak.h: * rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::RenderMenuList): (WebCore::RenderMenuList::willBeDestroyed): (WebCore::RenderMenuList::adjustInnerStyle): (RenderMenuList::updateFromElement): (RenderMenuList::setTextFromOption): (RenderMenuList::hidePopup): (RenderMenuList::popupDidHide): * rendering/RenderMenuList.h: * rendering/RenderObject.cpp: (WebCore::RenderObject::shouldApplyCompositedContainerScrollsForRepaint): (WebCore::RenderObject::destroy): * rendering/RenderObject.h: * rendering/RenderSearchField.cpp: (WebCore::RenderSearchField::itemText const): * rendering/RenderText.cpp: (WebCore::RenderText::setRenderedText): * rendering/RenderText.h: * rendering/RenderTextControl.cpp: * rendering/RenderTextControl.h: * rendering/RenderTextControlMultiLine.cpp: (WebCore::RenderTextControlMultiLine::getAverageCharWidth): * rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::layout): (WebCore::RenderTextControlSingleLine::getAverageCharWidth): (WebCore::RenderTextControlSingleLine::preferredContentLogicalWidth const): * rendering/RenderTextLineBoxes.cpp: (WebCore::lineDirectionPointFitsInBox): (WebCore::RenderTextLineBoxes::positionForPoint const): * rendering/RenderTheme.cpp: (WebCore::RenderTheme::paintBorderOnly): * rendering/RenderThemeIOS.h: * rendering/RenderThemeIOS.mm: (WebCore::arKitBundle): * rendering/RenderView.cpp: (WebCore::RenderView::availableLogicalHeight const): (WebCore::RenderView::clientLogicalWidthForFixedPosition const): (WebCore::RenderView::clientLogicalHeightForFixedPosition const): (WebCore::RenderView::repaintViewRectangle const): * rendering/RenderWidget.cpp: (WebCore::RenderWidget::willBeDestroyed): * rendering/RootInlineBox.cpp: (WebCore::RootInlineBox::selectionTop const): (WebCore::RootInlineBox::selectionBottom const): * rendering/style/RenderStyle.h: * rendering/style/StyleRareInheritedData.cpp: (WebCore::StyleRareInheritedData::StyleRareInheritedData): (WebCore::StyleRareInheritedData::operator== const): * rendering/style/StyleRareInheritedData.h: * rendering/updating/RenderTreeUpdater.cpp: (WebCore::RenderTreeUpdater::updateElementRenderer): * style/StyleResolveForDocument.cpp: (WebCore::Style::resolveForDocument): * testing/Internals.cpp: (WebCore::Internals::getCurrentCursorInfo): (WebCore::Internals::isSelectPopupVisible): (WebCore::Internals::setQuickLookPassword): * testing/Internals.mm: (WebCore::Internals::userPrefersReducedMotion const): * testing/js/WebCoreTestSupportPrefix.h: * workers/WorkerThread.cpp: (WebCore::WorkerThread::workerThread): Source/WebCore/PAL: * pal/cf/CoreMediaSoftLink.cpp: * pal/cf/CoreMediaSoftLink.h: * pal/ios/UIKitSoftLink.h: * pal/ios/UIKitSoftLink.mm: * pal/spi/cf/CFNetworkSPI.h: * pal/spi/cocoa/AVKitSPI.h: * pal/spi/cocoa/CFNSURLConnectionSPI.h: * pal/spi/cocoa/CoreTextSPI.h: * pal/spi/cocoa/DataDetectorsCoreSPI.h: * pal/spi/cocoa/IOSurfaceSPI.h: * pal/spi/cocoa/LaunchServicesSPI.h: * pal/spi/cocoa/NEFilterSourceSPI.h: * pal/spi/cocoa/NSAttributedStringSPI.h: * pal/spi/cocoa/NSKeyedArchiverSPI.h: * pal/spi/cocoa/PassKitSPI.h: * pal/spi/cocoa/QuartzCoreSPI.h: * pal/spi/ios/DataDetectorsUISPI.h: * pal/spi/ios/GraphicsServicesSPI.h: * pal/spi/ios/MediaPlayerSPI.h: * pal/spi/ios/MobileGestaltSPI.h: * pal/spi/mac/AVFoundationSPI.h: * pal/system/mac/ClockCM.mm: (ClockCM::ClockCM): Source/WebKit: * DerivedSources.make: * NetworkProcess/Downloads/cocoa/DownloadCocoa.mm: (WebKit::Download::resume): * NetworkProcess/NetworkActivityTracker.h: * NetworkProcess/NetworkProcess.h: * NetworkProcess/NetworkProcessCreationParameters.cpp: (WebKit::NetworkProcessCreationParameters::encode const): (WebKit::NetworkProcessCreationParameters::decode): * NetworkProcess/NetworkProcessCreationParameters.h: * NetworkProcess/cache/NetworkCacheFileSystem.cpp: (WebKit::NetworkCache::isSafeToUseMemoryMapForPath): * NetworkProcess/cocoa/NetworkDataTaskCocoa.mm: (WebKit::updateTaskWithFirstPartyForSameSiteCookies): * NetworkProcess/cocoa/NetworkProcessCocoa.mm: (WebKit::NetworkProcess::platformInitializeNetworkProcessCocoa): (WebKit::NetworkProcess::sourceApplicationAuditData const): (WebKit::NetworkProcess::platformSyncAllCookies): * NetworkProcess/cocoa/NetworkSessionCocoa.h: * NetworkProcess/cocoa/NetworkSessionCocoa.mm: (-[WKNetworkSessionDelegate URLSession:task:didFinishCollectingMetrics:]): (WebKit::NetworkSessionCocoa::NetworkSessionCocoa): * NetworkProcess/ios/NetworkProcessIOS.mm: * Platform/IPC/mac/ConnectionMac.mm: (IPC::ConnectionTerminationWatchdog::ConnectionTerminationWatchdog): (IPC::Connection::receiveSourceEventHandler): (IPC::AccessibilityProcessSuspendedNotification): * Platform/ios/AccessibilityIOS.mm: * Platform/mac/LayerHostingContext.mm: (WebKit::LayerHostingContext::createForExternalHostingProcess): * Platform/spi/Cocoa/DeviceIdentitySPI.h: * Platform/spi/ios/CelestialSPI.h: * Platform/spi/ios/FrontBoardServicesSPI.h: * PluginProcess/mac/PluginProcessShim.mm: * Shared/API/Cocoa/WKDataDetectorTypesInternal.h: * Shared/API/Cocoa/WebKit.m: * Shared/AssistedNodeInformation.cpp: * Shared/AssistedNodeInformation.h: * Shared/CacheModel.cpp: (WebKit::calculateURLCacheSizes): * Shared/ChildProcess.cpp: * Shared/Cocoa/APIObject.mm: (API::Object::newObject): * Shared/Cocoa/WebKit2InitializeCocoa.mm: (WebKit::runInitializationCode): * Shared/DrawingAreaInfo.h: * Shared/EditorState.cpp: (WebKit::EditorState::encode const): (WebKit::EditorState::decode): (WebKit::EditorState::PostLayoutData::encode const): (WebKit::EditorState::PostLayoutData::decode): (WebKit::operator<<): * Shared/EditorState.h: * Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.mm: (WebKit::XPCServiceInitializerDelegate::checkEntitlements): * Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm: (WebKit::XPCServiceMain): * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/PrintInfo.cpp: (WebKit::PrintInfo::encode const): (WebKit::PrintInfo::decode): * Shared/PrintInfo.h: * Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.h: * Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm: (WebKit::RemoteLayerTreePropertyApplier::applyProperties): * Shared/SessionState.cpp: (WebKit::FrameState::encode const): (WebKit::FrameState::decode): * Shared/SessionState.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebEvent.h: * Shared/WebEventConversion.cpp: (WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent): * Shared/WebKeyboardEvent.cpp: * Shared/WebPageCreationParameters.cpp: (WebKit::WebPageCreationParameters::encode const): (WebKit::WebPageCreationParameters::decode): * Shared/WebPageCreationParameters.h: * Shared/WebPlatformTouchPoint.cpp: * Shared/WebPreferences.yaml: * Shared/WebPreferencesDefaultValues.cpp: (defaultPassiveTouchListenersAsDefaultOnDocument): (defaultCustomPasteboardDataEnabled): * Shared/WebPreferencesDefaultValues.h: * Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode const): (WebKit::WebProcessCreationParameters::decode): * Shared/WebProcessCreationParameters.h: * Shared/WebTouchEvent.cpp: * Shared/cf/ArgumentCodersCF.cpp: (IPC::encode): (IPC::decode): * Shared/cf/ArgumentCodersCF.h: * Shared/ios/ChildProcessIOS.mm: * Shared/ios/InteractionInformationAtPosition.h: * Shared/ios/InteractionInformationAtPosition.mm: * Shared/ios/InteractionInformationRequest.cpp: * Shared/ios/InteractionInformationRequest.h: * Shared/ios/NativeWebKeyboardEventIOS.mm: * Shared/ios/NativeWebMouseEventIOS.mm: * Shared/ios/NativeWebTouchEventIOS.mm: * Shared/ios/WebIOSEventFactory.h: * Shared/ios/WebIOSEventFactory.mm: * Shared/ios/WebIconUtilities.h: * Shared/ios/WebIconUtilities.mm: * Shared/mac/ArgumentCodersMac.h: * Shared/mac/ArgumentCodersMac.mm: * Shared/mac/SandboxExtensionMac.mm: * Shared/mac/SecItemShim.cpp: (WebKit::initializeSecItemShim): * UIProcess/API/APIPageConfiguration.cpp: (API::PageConfiguration::copy const): * UIProcess/API/APIPageConfiguration.h: * UIProcess/API/APIProcessPoolConfiguration.cpp: (API::ProcessPoolConfiguration::copy): * UIProcess/API/APIProcessPoolConfiguration.h: * UIProcess/API/APIUIClient.h: * UIProcess/API/C/WKInspector.cpp: * UIProcess/API/C/WKPage.cpp: (WKPageSetIgnoresViewportScaleLimits): * UIProcess/API/C/mac/WKContextPrivateMac.mm: (WKContextIsPlugInUpdateAvailable): * UIProcess/API/Cocoa/APIAttachmentCocoa.mm: * UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm: (API::WebsiteDataStore::defaultApplicationCacheDirectory): (API::WebsiteDataStore::legacyDefaultApplicationCacheDirectory): (API::WebsiteDataStore::legacyDefaultJavaScriptConfigurationDirectory): * UIProcess/API/Cocoa/WKNavigationAction.mm: (-[WKNavigationAction description]): * UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.mm: * UIProcess/API/Cocoa/WKPreviewElementInfo.mm: * UIProcess/API/Cocoa/WKProcessGroup.mm: (IGNORE_WARNINGS_BEGIN): * UIProcess/API/Cocoa/WKProcessPool.mm: (-[WKProcessPool _pluginProcessCount]): * UIProcess/API/Cocoa/WKWebView.mm: (shouldRequireUserGestureToLoadVideo): (validate): (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _setUpSQLiteDatabaseTrackerClient]): (-[WKWebView dealloc]): (-[WKWebView allowsLinkPreview]): (-[WKWebView setAllowsLinkPreview:]): (-[WKWebView _countStringMatches:options:maxCount:]): (-[WKWebView _findString:options:maxCount:]): (-[WKWebView _hideFindUI]): (-[WKWebView _scrollPerformanceData]): (-[WKWebView _allowsMediaDocumentInlinePlayback]): (-[WKWebView _setAllowsMediaDocumentInlinePlayback:]): (-[WKWebView _contentsOfUserInterfaceItem:]): (-[WKWebView _internalDoAfterNextPresentationUpdate:withoutWaitingForPainting:withoutWaitingForAnimatedResize:]): (-[WKWebView _doAfterNextVisibleContentRectUpdate:]): * UIProcess/API/Cocoa/WKWebViewConfiguration.mm: (-[WKWebViewConfiguration init]): (-[WKWebViewConfiguration encodeWithCoder:]): (-[WKWebViewConfiguration initWithCoder:]): (-[WKWebViewConfiguration copyWithZone:]): (defaultApplicationNameForUserAgent): * UIProcess/API/Cocoa/WKWebViewConfigurationInternal.h: * UIProcess/API/Cocoa/WKWebViewInternal.h: * UIProcess/API/Cocoa/_WKActivatedElementInfo.mm: (-[_WKActivatedElementInfo _initWithType:URL:location:title:ID:rect:image:userInfo:]): * UIProcess/API/Cocoa/_WKActivatedElementInfoInternal.h: * UIProcess/API/Cocoa/_WKAttachment.mm: * UIProcess/API/Cocoa/_WKContextMenuElementInfo.mm: * UIProcess/API/Cocoa/_WKElementAction.mm: * UIProcess/API/Cocoa/_WKElementActionInternal.h: * UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm: * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.h: * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm: (-[WKPaymentAuthorizationViewControllerDelegate invalidate]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didAuthorizePayment:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectPaymentMethod:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectShippingMethod:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectShippingContact:handler:]): (WebKit::WebPaymentCoordinatorProxy::platformCanMakePaymentsWithActiveCard): (WebKit::toPKPaymentRequest): (WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentSession): (WebKit::WebPaymentCoordinatorProxy::platformCompleteShippingMethodSelection): (WebKit::WebPaymentCoordinatorProxy::platformCompleteShippingContactSelection): (WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentMethodSelection): * UIProcess/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm: * UIProcess/ApplicationStateTracker.h: * UIProcess/ApplicationStateTracker.mm: * UIProcess/Automation/cocoa/WebAutomationSessionCocoa.mm: * UIProcess/Automation/ios/WebAutomationSessionIOS.mm: * UIProcess/BackgroundProcessResponsivenessTimer.cpp: (WebKit::BackgroundProcessResponsivenessTimer::shouldBeActive const): * UIProcess/ChildProcessProxy.cpp: (WebKit::ChildProcessProxy::shutDownProcess): * UIProcess/Cocoa/DownloadClient.h: * UIProcess/Cocoa/DownloadClient.mm: (WebKit::DownloadClient::takeActivityToken): (WebKit::DownloadClient::releaseActivityTokenIfNecessary): * UIProcess/Cocoa/LayerRepresentation.h: * UIProcess/Cocoa/NavigationState.h: * UIProcess/Cocoa/NavigationState.mm: (WebKit::NavigationState::NavigationState): (WebKit::NavigationState::didChangeIsLoading): * UIProcess/Cocoa/PlaybackSessionManagerProxy.h: * UIProcess/Cocoa/PlaybackSessionManagerProxy.messages.in: * UIProcess/Cocoa/PlaybackSessionManagerProxy.mm: * UIProcess/Cocoa/UIDelegate.h: * UIProcess/Cocoa/UIDelegate.mm: (WebKit::UIDelegate::setDelegate): (WebKit::UIDelegate::UIClient::decidePolicyForUserMediaPermissionRequest): * UIProcess/Cocoa/VersionChecks.h: * UIProcess/Cocoa/VersionChecks.mm: (WebKit::linkedOnOrAfter): * UIProcess/Cocoa/VideoFullscreenManagerProxy.h: * UIProcess/Cocoa/VideoFullscreenManagerProxy.messages.in: * UIProcess/Cocoa/VideoFullscreenManagerProxy.mm: (WebKit::VideoFullscreenManagerProxy::setupFullscreenWithID): (WebKit::VideoFullscreenManagerProxy::exitFullscreen): (WebKit::VideoFullscreenManagerProxy::preparedToReturnToInline): (WebKit::VideoFullscreenManagerProxy::setVideoLayerFrame): * UIProcess/Cocoa/ViewGestureController.h: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet presentWithParameters:completionHandler:]): * UIProcess/Cocoa/WKWebViewContentProvider.h: * UIProcess/Cocoa/WKWebViewContentProviderRegistry.h: * UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/Cocoa/WebPasteboardProxyCocoa.mm: * UIProcess/Cocoa/WebProcessPoolCocoa.mm: (WebKit::WebProcessPool::platformResolvePathsForSandboxExtensions): (WebKit::WebProcessPool::platformInitializeWebProcess): (WebKit::WebProcessPool::platformInitializeNetworkProcess): (WebKit::WebProcessPool::registerNotificationObservers): (WebKit::WebProcessPool::unregisterNotificationObservers): * UIProcess/Gamepad/cocoa/UIGamepadProviderCocoa.mm: (WebKit::UIGamepadProvider::platformSetDefaultGamepadProvider): * UIProcess/Gamepad/ios/UIGamepadProviderIOS.mm: * UIProcess/Launcher/mac/ProcessLauncherMac.mm: (WebKit::shouldLeakBoost): (WebKit::systemDirectoryPath): (WebKit::ProcessLauncher::launchProcess): * UIProcess/Network/NetworkProcessProxy.cpp: (WebKit::NetworkProcessProxy::didFinishLaunching): * UIProcess/PageClient.h: * UIProcess/ProcessAssertion.cpp: * UIProcess/ProcessAssertion.h: * UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h: * UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm: (WebKit::RemoteLayerTreeDrawingAreaProxy::~RemoteLayerTreeDrawingAreaProxy): (WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTree): (WebKit::RemoteLayerTreeDrawingAreaProxy::indicatorLocation const): (WebKit::RemoteLayerTreeDrawingAreaProxy::updateDebugIndicator): (WebKit::RemoteLayerTreeDrawingAreaProxy::didRefreshDisplay): (WebKit::RemoteLayerTreeDrawingAreaProxy::waitForDidUpdateActivityState): * UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm: (WebKit::RemoteLayerTreeHost::clearLayers): (WebKit::RemoteLayerTreeHost::detachRootLayer): * UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp: (WebKit::RemoteScrollingCoordinatorProxy::scrollingTreeNodeDidScroll): * UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.h: * UIProcess/RemoteLayerTree/RemoteScrollingTree.cpp: (WebKit::RemoteScrollingTree::createScrollingTreeNode): * UIProcess/RemoteLayerTree/RemoteScrollingTree.h: * UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm: * UIProcess/RemoteLayerTree/ios/RemoteScrollingCoordinatorProxyIOS.mm: * UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.h: * UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.mm: * UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.h: * UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm: * UIProcess/ResourceLoadStatisticsPersistentStorage.cpp: * UIProcess/WKImagePreviewViewController.h: * UIProcess/WKImagePreviewViewController.mm: * UIProcess/WKInspectorHighlightView.h: * UIProcess/WKInspectorHighlightView.mm: * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: (WebKit::LocalAuthenticatorInternal::buildAuthData): (WebKit::LocalAuthenticator::makeCredential): (WebKit::LocalAuthenticator::continueMakeCredentialAfterUserConsented): (WebKit::LocalAuthenticator::continueMakeCredentialAfterAttested): (WebKit::LocalAuthenticator::getAssertion): (WebKit::LocalAuthenticator::continueGetAssertionAfterUserConsented): * UIProcess/WebAuthentication/Cocoa/LocalConnection.mm: (WebKit::LocalConnection::getUserConsent const): (WebKit::LocalConnection::getAttestation const): * UIProcess/WebAuthentication/Cocoa/LocalService.mm: (WebKit::LocalService::isAvailable): * UIProcess/WebFullScreenManagerProxy.cpp: (WebKit::WebFullScreenManagerProxy::supportsFullScreen): * UIProcess/WebGeolocationManagerProxy.cpp: * UIProcess/WebGeolocationManagerProxy.h: * UIProcess/WebInspectorProxy.cpp: * UIProcess/WebOpenPanelResultListenerProxy.cpp: * UIProcess/WebOpenPanelResultListenerProxy.h: * UIProcess/WebPageProxy.cpp: (WebKit::m_resetRecentCrashCountTimer): (WebKit::WebPageProxy::finishAttachingToWebProcess): (WebKit::WebPageProxy::initializeWebPage): (WebKit::WebPageProxy::close): (WebKit::WebPageProxy::viewDidLeaveWindow): (WebKit::WebPageProxy::updateThrottleState): (WebKit::WebPageProxy::waitForDidUpdateActivityState): (WebKit::WebPageProxy::didCommitLoadForFrame): (WebKit::WebPageProxy::exitFullscreenImmediately): (WebKit::WebPageProxy::runJavaScriptAlert): (WebKit::WebPageProxy::runJavaScriptConfirm): (WebKit::WebPageProxy::runJavaScriptPrompt): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::processDidTerminate): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::resetStateAfterProcessExited): (WebKit::WebPageProxy::creationParameters): (WebKit::WebPageProxy::requestGeolocationPermissionForFrame): (WebKit::WebPageProxy::hasActiveVideoForControlsManager const): (WebKit::WebPageProxy::requestControlledElementID const): (WebKit::WebPageProxy::isPlayingVideoInEnhancedFullscreen const): * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: (WebKit::WebProcessPool::ensureNetworkProcess): (WebKit::WebProcessPool::initializeNewWebProcess): (WebKit::WebProcessPool::updateProcessAssertions): (WebKit::WebProcessPool::reinstateNetworkProcessAssertionState): * UIProcess/WebProcessPool.h: * UIProcess/WebProcessProxy.cpp: (WebKit::isMainThreadOrCheckDisabled): (WebKit::WebProcessProxy::didFinishLaunching): (WebKit::WebProcessProxy::didSetAssertionState): * UIProcess/WebProcessProxy.h: * UIProcess/WebStorage/LocalStorageDatabaseTracker.cpp: (WebKit::LocalStorageDatabaseTracker::databasePath const): * UIProcess/WebStorage/LocalStorageDatabaseTracker.h: * UIProcess/WebStorage/ios/LocalStorageDatabaseTrackerIOS.mm: * UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm: * UIProcess/_WKWebViewPrintFormatter.mm: * UIProcess/_WKWebViewPrintFormatterInternal.h: * UIProcess/ios/DragDropInteractionState.h: * UIProcess/ios/DragDropInteractionState.mm: * UIProcess/ios/InputViewUpdateDeferrer.h: * UIProcess/ios/InputViewUpdateDeferrer.mm: * UIProcess/ios/LayerRepresentation.mm: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: * UIProcess/ios/ProcessAssertionIOS.mm: * UIProcess/ios/ResourceLoadStatisticsPersistentStorageIOS.mm: * UIProcess/ios/SmartMagnificationController.h: * UIProcess/ios/SmartMagnificationController.messages.in: * UIProcess/ios/SmartMagnificationController.mm: * UIProcess/ios/TextCheckerIOS.mm: * UIProcess/ios/ViewGestureControllerIOS.mm: * UIProcess/ios/WKActionSheet.h: * UIProcess/ios/WKActionSheet.mm: * UIProcess/ios/WKActionSheetAssistant.h: * UIProcess/ios/WKActionSheetAssistant.mm: * UIProcess/ios/WKApplicationStateTrackingView.h: * UIProcess/ios/WKApplicationStateTrackingView.mm: * UIProcess/ios/WKContentView.mm: * UIProcess/ios/WKContentViewInteraction.h: * UIProcess/ios/WKContentViewInteraction.mm: * UIProcess/ios/WKGeolocationProviderIOS.h: * UIProcess/ios/WKGeolocationProviderIOS.mm: * UIProcess/ios/WKGeolocationProviderIOSObjCSecurityOrigin.mm: * UIProcess/ios/WKInspectorNodeSearchGestureRecognizer.h: * UIProcess/ios/WKInspectorNodeSearchGestureRecognizer.mm: * UIProcess/ios/WKKeyboardScrollingAnimator.h: * UIProcess/ios/WKKeyboardScrollingAnimator.mm: * UIProcess/ios/WKPDFPageNumberIndicator.h: * UIProcess/ios/WKPDFPageNumberIndicator.mm: * UIProcess/ios/WKPasswordView.h: * UIProcess/ios/WKPasswordView.mm: * UIProcess/ios/WKScrollView.h: * UIProcess/ios/WKScrollView.mm: * UIProcess/ios/WKSyntheticClickTapGestureRecognizer.h: * UIProcess/ios/WKSyntheticClickTapGestureRecognizer.m: * UIProcess/ios/WKWebEvent.h: * UIProcess/ios/WKWebEvent.mm: * UIProcess/ios/WebDataListSuggestionsDropdownIOS.h: * UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm: * UIProcess/ios/WebPageProxyIOS.mm: * UIProcess/ios/WebProcessProxyIOS.mm: * UIProcess/ios/forms/WKAirPlayRoutePicker.h: * UIProcess/ios/forms/WKAirPlayRoutePicker.mm: * UIProcess/ios/forms/WKFileUploadPanel.h: * UIProcess/ios/forms/WKFileUploadPanel.mm: * UIProcess/ios/forms/WKFormColorControl.h: * UIProcess/ios/forms/WKFormColorControl.mm: * UIProcess/ios/forms/WKFormColorPicker.h: * UIProcess/ios/forms/WKFormColorPicker.mm: * UIProcess/ios/forms/WKFormInputControl.h: * UIProcess/ios/forms/WKFormInputControl.mm: * UIProcess/ios/forms/WKFormPopover.h: * UIProcess/ios/forms/WKFormPopover.mm: * UIProcess/ios/forms/WKFormSelectControl.h: * UIProcess/ios/forms/WKFormSelectControl.mm: * UIProcess/ios/forms/WKFormSelectPicker.h: * UIProcess/ios/forms/WKFormSelectPicker.mm: * UIProcess/ios/forms/WKFormSelectPopover.h: * UIProcess/ios/forms/WKFormSelectPopover.mm: * UIProcess/ios/fullscreen/FullscreenTouchSecheuristic.cpp: * UIProcess/ios/fullscreen/FullscreenTouchSecheuristic.h: * UIProcess/ios/fullscreen/WKFullScreenViewController.h: * UIProcess/ios/fullscreen/WKFullScreenViewController.mm: * UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.h: * UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm: * UIProcess/ios/fullscreen/WKFullscreenStackView.h: * UIProcess/ios/fullscreen/WKFullscreenStackView.mm: * UIProcess/mac/LegacySessionStateCoding.cpp: (WebKit::encodeFrameStateNode): (WebKit::decodeBackForwardTreeNode): * UIProcess/mac/PageClientImplMac.h: * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h: * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm: * UIProcess/mac/ViewSnapshotStore.mm: * UIProcess/mac/WKFullScreenWindowController.mm: * WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm: (WebContentServiceInitializer): * WebProcess/FullScreen/WebFullScreenManager.cpp: (WebKit::WebFullScreenManager::videoControlsManagerDidChange): (WebKit::WebFullScreenManager::willEnterFullScreen): (WebKit::WebFullScreenManager::didEnterFullScreen): (WebKit::WebFullScreenManager::willExitFullScreen): * WebProcess/Geolocation/WebGeolocationManager.cpp: * WebProcess/Geolocation/WebGeolocationManager.h: * WebProcess/Geolocation/WebGeolocationManager.messages.in: * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm: * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: * WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm: * WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm: * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm: (-[WKWebProcessPlugInBrowserContextController _setEditingDelegate:]): * WebProcess/WebCoreSupport/SessionStateConversion.cpp: (WebKit::toFrameState): (WebKit::applyFrameState): * WebProcess/WebCoreSupport/WebAlternativeTextClient.h: * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::windowRect): (WebKit::WebChromeClient::enterVideoFullscreenForVideoElement): * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebEditorClient.h: * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidLayout): (WebKit::WebFrameLoaderClient::saveViewStateToItem): (WebKit::WebFrameLoaderClient::restoreViewState): (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage): (WebKit::WebFrameLoaderClient::objectContentType): * WebProcess/WebCoreSupport/WebFrameLoaderClient.h: * WebProcess/WebCoreSupport/WebInspectorClient.cpp: (WebKit::WebInspectorClient::highlight): (WebKit::WebInspectorClient::hideHighlight): * WebProcess/WebCoreSupport/WebInspectorClient.h: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/ios/WebChromeClientIOS.mm: * WebProcess/WebCoreSupport/ios/WebEditorClientIOS.mm: * WebProcess/WebCoreSupport/ios/WebFrameLoaderClientIOS.mm: * WebProcess/WebCoreSupport/mac/WebDragClientMac.mm: * WebProcess/WebPage/DrawingArea.cpp: (WebKit::DrawingArea::create): * WebProcess/WebPage/DrawingArea.h: * WebProcess/WebPage/FindController.cpp: (WebKit::FindController::findString): * WebProcess/WebPage/FindController.h: * WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteCustom.mm: (WebKit::PlatformCALayerRemoteCustom::PlatformCALayerRemoteCustom): * WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.h: * WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm: (WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea): (WebKit::RemoteLayerTreeDrawingArea::updateScrolledExposedRect): * WebProcess/WebPage/ViewGestureGeometryCollector.cpp: (WebKit::ViewGestureGeometryCollector::dispatchDidCollectGeometryForSmartMagnificationGesture): (WebKit::ViewGestureGeometryCollector::collectGeometryForSmartMagnificationGesture): (WebKit::ViewGestureGeometryCollector::mainFrameDidLayout): * WebProcess/WebPage/ViewGestureGeometryCollector.h: * WebProcess/WebPage/ViewGestureGeometryCollector.messages.in: * WebProcess/WebPage/ViewUpdateDispatcher.cpp: * WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.h: * WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.mm: * WebProcess/WebPage/WebFrame.h: * WebProcess/WebPage/WebOpenPanelResultListener.cpp: * WebProcess/WebPage/WebOpenPanelResultListener.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::m_cpuLimit): (WebKit::WebPage::~WebPage): (WebKit::WebPage::scalePage): (WebKit::WebPage::setUseFixedLayout): (WebKit::WebPage::disabledAdaptationsDidChange): (WebKit::WebPage::viewportPropertiesDidChange): (WebKit::WebPage::pageDidScroll): (WebKit::WebPage::mouseEvent): (WebKit::WebPage::updatePreferences): (WebKit::WebPage::willCommitLayerTree): (WebKit::WebPage::didFlushLayerTreeAtTime): (WebKit::WebPage::mainFrameDidLayout): (WebKit::WebPage::resetAssistedNodeForFrame): (WebKit::WebPage::elementDidFocus): (WebKit::WebPage::elementDidBlur): (WebKit::WebPage::willReplaceMultipartContent): (WebKit::WebPage::didReplaceMultipartContent): (WebKit::WebPage::didCommitLoad): * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: * WebProcess/WebPage/ios/FindControllerIOS.mm: * WebProcess/WebPage/ios/WebPageIOS.mm: * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h: * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: (WebKit::TiledCoreAnimationDrawingArea::updateScrolledExposedRect): * WebProcess/WebPage/mac/WebPageMac.mm: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::WebProcess): (WebKit::WebProcess::initializeConnection): (WebKit::WebProcess::initializeWebProcess): (WebKit::WebProcess::actualPrepareToSuspend): (WebKit::WebProcess::cancelPrepareToSuspend): (WebKit::WebProcess::processDidResume): * WebProcess/WebProcess.h: * WebProcess/cocoa/PlaybackSessionManager.h: * WebProcess/cocoa/PlaybackSessionManager.messages.in: * WebProcess/cocoa/PlaybackSessionManager.mm: * WebProcess/cocoa/VideoFullscreenManager.h: * WebProcess/cocoa/VideoFullscreenManager.messages.in: * WebProcess/cocoa/VideoFullscreenManager.mm: (WebKit::VideoFullscreenManager::supportsVideoFullscreen const): (WebKit::VideoFullscreenManager::supportsVideoFullscreenStandby const): (WebKit::VideoFullscreenManager::didSetupFullscreen): (WebKit::VideoFullscreenManager::didExitFullscreen): * WebProcess/cocoa/WebProcessCocoa.mm: (WebKit::WebProcess::platformInitializeWebProcess): (WebKit::WebProcess::initializeProcessName): (WebKit::registerWithAccessibility): (WebKit::WebProcess::sourceApplicationAuditData const): (WebKit::WebProcess::initializeSandbox): * WebProcess/mac/SecItemShimLibrary.mm: * config.h: Source/WebKitLegacy: * Storage/StorageTracker.cpp: (WebKit::StorageTracker::syncDeleteAllOrigins): (WebKit::StorageTracker::syncDeleteOrigin): * WebCoreSupport/WebResourceLoadScheduler.cpp: (WebResourceLoadScheduler::loadResource): (WebResourceLoadScheduler::scheduleLoad): (WebResourceLoadScheduler::remove): (WebResourceLoadScheduler::servePendingRequests): Source/WebKitLegacy/ios: * DefaultDelegates/WebDefaultFormDelegate.m: * DefaultDelegates/WebDefaultFrameLoadDelegate.m: * DefaultDelegates/WebDefaultResourceLoadDelegate.m: * DefaultDelegates/WebDefaultUIKitDelegate.m: * Misc/MemoryMeasure.mm: * Misc/WebGeolocationCoreLocationProvider.mm: * Misc/WebGeolocationProviderIOS.mm: * Misc/WebNSStringExtrasIOS.m: * Misc/WebUIKitSupport.mm: (WebKitPlatformSystemRootDirectory): * WebCoreSupport/PopupMenuIOS.mm: * WebCoreSupport/SearchPopupMenuIOS.cpp: * WebCoreSupport/WebChromeClientIOS.h: * WebCoreSupport/WebChromeClientIOS.mm: * WebCoreSupport/WebFixedPositionContent.mm: * WebCoreSupport/WebFrameIOS.mm: * WebCoreSupport/WebGeolocation.mm: * WebCoreSupport/WebInspectorClientIOS.mm: * WebCoreSupport/WebMIMETypeRegistry.mm: * WebCoreSupport/WebSelectionRect.m: * WebCoreSupport/WebVisiblePosition.mm: * WebView/WebFrameViewWAKCompatibility.m: * WebView/WebPDFViewIOS.mm: * WebView/WebPDFViewPlaceholder.mm: * WebView/WebPlainWhiteView.h: * WebView/WebPlainWhiteView.mm: Source/WebKitLegacy/mac: * DOM/DOM.mm: (-[DOMNode boundingBox]): * DOM/DOMElement.mm: * DOM/DOMHTML.mm: * DOM/DOMInternal.mm: * DOM/DOMUIKitExtensions.mm: * DOM/WebDOMOperations.mm: * DefaultDelegates/WebDefaultContextMenuDelegate.mm: * DefaultDelegates/WebDefaultEditingDelegate.m: * DefaultDelegates/WebDefaultPolicyDelegate.m: (-[WebDefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): * DefaultDelegates/WebDefaultUIDelegate.h: * DefaultDelegates/WebDefaultUIDelegate.mm: (-[WebDefaultUIDelegate webViewClose:]): (-[WebDefaultUIDelegate webViewFocus:]): (-[WebDefaultUIDelegate webViewUnfocus:]): (-[WebDefaultUIDelegate webViewIsResizable:]): (-[WebDefaultUIDelegate webView:setResizable:]): (-[WebDefaultUIDelegate webView:setFrame:]): (-[WebDefaultUIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]): * History/BackForwardList.h: * History/BackForwardList.mm: * History/WebBackForwardList.mm: (+[WebBackForwardList initialize]): (bumperCarBackForwardHackNeeded): * History/WebHistory.mm: (-[WebHistoryPrivate addItem:discardDuplicate:]): (-[WebHistory _sendNotification:entries:]): (-[WebHistory loadFromURL:error:]): (-[WebHistory saveToURL:error:]): * History/WebHistoryItem.mm: (WKNotifyHistoryItemChanged): (+[WebHistoryItem initialize]): (-[WebHistoryItem initFromDictionaryRepresentation:]): * History/WebURLsWithTitles.m: * Misc/WebCache.mm: (+[WebCache initialize]): * Misc/WebDownload.mm: (-[WebDownloadInternal download:didReceiveAuthenticationChallenge:]): * Misc/WebElementDictionary.mm: (+[WebElementDictionary initialize]): (+[WebElementDictionary initializeLookupTable]): * Misc/WebIconDatabase.mm: * Misc/WebKitNSStringExtras.mm: (+[NSString _webkit_localCacheDirectoryWithBundleIdentifier:]): * Misc/WebKitVersionChecks.h: * Misc/WebKitVersionChecks.mm: (WebKitLinkedOnOrAfter): (WebKitLinkTimeVersion): * Misc/WebLocalizableStrings.mm: * Misc/WebNSControlExtras.h: * Misc/WebNSControlExtras.m: * Misc/WebNSEventExtras.m: * Misc/WebNSFileManagerExtras.mm: * Misc/WebNSImageExtras.h: * Misc/WebNSImageExtras.m: * Misc/WebNSPasteboardExtras.mm: * Misc/WebNSPrintOperationExtras.h: * Misc/WebNSPrintOperationExtras.m: * Misc/WebNSViewExtras.m: * Misc/WebNSWindowExtras.m: * Panels/WebAuthenticationPanel.h: * Panels/WebAuthenticationPanel.m: * Panels/WebPanelAuthenticationHandler.m: * Plugins/Hosted/WebHostedNetscapePluginView.mm: (+[WebHostedNetscapePluginView initialize]): * Plugins/WebBasePluginPackage.h: * Plugins/WebBasePluginPackage.mm: * Plugins/WebJavaPlugIn.h: * Plugins/WebPluginContainerCheck.mm: * Plugins/WebPluginController.h: * Plugins/WebPluginController.mm: (-[WebPluginController plugInViewWithArguments:fromPluginPackage:]): (-[WebPluginController addPlugin:]): (-[WebPluginController destroyPlugin:]): (-[WebPluginController destroyAllPlugins]): * Plugins/WebPluginDatabase.mm: (+[WebPluginDatabase _defaultPlugInPaths]): * Plugins/WebPluginPackage.mm: (-[WebPluginPackage initWithPath:]): * Storage/WebDatabaseManager.mm: (-[WebDatabaseManager deleteAllDatabases]): * Storage/WebDatabaseManagerClient.h: * Storage/WebDatabaseManagerClient.mm: (WebDatabaseManagerClient::WebDatabaseManagerClient): (WebDatabaseManagerClient::~WebDatabaseManagerClient): * Storage/WebStorageManager.mm: (-[WebStorageManager deleteAllOrigins]): (WebKitInitializeStorageIfNecessary): * WebCoreSupport/WebAlternativeTextClient.h: * WebCoreSupport/WebApplicationCache.mm: (applicationCacheBundleIdentifier): * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::setWindowRect): (WebChromeClient::windowRect): (WebChromeClient::takeFocus): (WebChromeClient::addMessageToConsole): (WebChromeClient::enableSuddenTermination): (WebChromeClient::disableSuddenTermination): (WebChromeClient::createPopupMenu const): (WebChromeClient::createSearchPopupMenu const): (WebChromeClient::shouldPaintEntireContents const): (WebChromeClient::supportsVideoFullscreen): (WebChromeClient::supportsFullScreenForElement): (WebChromeClient::enterFullScreenForElement): (WebChromeClient::exitFullScreenForElement): * WebCoreSupport/WebContextMenuClient.mm: * WebCoreSupport/WebDragClient.mm: * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebEditorClient.mm: (+[WebUndoStep initialize]): (updateFontPanel): (WebEditorClient::didBeginEditing): (WebEditorClient::respondToChangedContents): (WebEditorClient::respondToChangedSelection): (WebEditorClient::canceledComposition): (WebEditorClient::didEndEditing): (WebEditorClient::didWriteSelectionToPasteboard): (attributesForAttributedStringConversion): (WebEditorClient::setInsertionPasteboard): (WebEditorClient::registerUndoOrRedoStep): (WebEditorClient::handleKeyboardEvent): (WebEditorClient::handleInputMethodKeydown): (WebEditorClient::textDidChangeInTextField): (WebEditorClient::requestCheckingOfString): * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::detachedFromParent2): (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache): (WebFrameLoaderClient::assignIdentifierToInitialRequest): (WebFrameLoaderClient::dispatchWillSendRequest): (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): (WebFrameLoaderClient::dispatchDidReceiveResponse): (WebFrameLoaderClient::willCacheResponse const): (WebFrameLoaderClient::dispatchDidReceiveContentLength): (WebFrameLoaderClient::dispatchDidFinishLoading): (WebFrameLoaderClient::dispatchDidFailLoading): (WebFrameLoaderClient::dispatchDidChangeLocationWithinPage): (WebFrameLoaderClient::dispatchWillClose): (WebFrameLoaderClient::dispatchDidStartProvisionalLoad): (WebFrameLoaderClient::dispatchDidCommitLoad): (WebFrameLoaderClient::dispatchDidFailProvisionalLoad): (WebFrameLoaderClient::dispatchDidFailLoad): (WebFrameLoaderClient::dispatchDidFinishDocumentLoad): (WebFrameLoaderClient::dispatchDidFinishLoad): (WebFrameLoaderClient::dispatchDidReachLayoutMilestone): (WebFrameLoaderClient::willChangeTitle): (WebFrameLoaderClient::didChangeTitle): (WebFrameLoaderClient::didReplaceMultipartContent): (WebFrameLoaderClient::updateGlobalHistory): (WebFrameLoaderClient::saveViewStateToItem): (WebFrameLoaderClient::restoreViewState): (WebFrameLoaderClient::provisionalLoadStarted): (WebFrameLoaderClient::prepareForDataSourceReplacement): (WebFrameLoaderClient::setTitle): (WebFrameLoaderClient::savePlatformDataToCachedFrame): (WebFrameLoaderClient::transitionToCommittedFromCachedFrame): (WebFrameLoaderClient::transitionToCommittedForNewPage): (WebFrameLoaderClient::didRestoreFromPageCache): (WebFrameLoaderClient::actionDictionary const): (WebFrameLoaderClient::createPlugin): (WebFrameLoaderClient::getLoadDecisionForIcons): (WebFrameLoaderClient::finishedLoadingIcon): (+[WebFramePolicyListener initialize]): * WebCoreSupport/WebFrameNetworkingContext.mm: * WebCoreSupport/WebGeolocationClient.h: * WebCoreSupport/WebGeolocationClient.mm: (WebGeolocationClient::requestPermission): * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebJavaScriptTextInputPanel.m: * WebCoreSupport/WebNotificationClient.mm: * WebCoreSupport/WebOpenPanelResultListener.mm: * WebCoreSupport/WebPlatformStrategies.h: * WebCoreSupport/WebPlatformStrategies.mm: * WebCoreSupport/WebProgressTrackerClient.h: * WebCoreSupport/WebProgressTrackerClient.mm: (WebProgressTrackerClient::progressStarted): (WebProgressTrackerClient::progressEstimateChanged): (WebProgressTrackerClient::progressFinished): * WebCoreSupport/WebSecurityOrigin.mm: * WebInspector/WebNodeHighlight.h: * WebInspector/WebNodeHighlight.mm: (-[WebNodeHighlight initWithTargetView:inspectorController:]): (-[WebNodeHighlight dealloc]): (-[WebNodeHighlight attach]): * WebInspector/WebNodeHighlightView.h: * WebInspector/WebNodeHighlightView.mm: (-[WebNodeHighlightView initWithWebNodeHighlight:]): (-[WebNodeHighlightView dealloc]): * WebInspector/WebNodeHighlighter.mm: (-[WebNodeHighlighter highlight]): * WebView/WebArchive.mm: (+[WebArchivePrivate initialize]): * WebView/WebClipView.h: * WebView/WebDataSource.mm: (WebDataSourcePrivate::WebDataSourcePrivate): (+[WebDataSource initialize]): (+[WebDataSource _repTypesAllowImageTypeOmission:]): (-[WebDataSource _makeRepresentation]): * WebView/WebDelegateImplementationCaching.h: * WebView/WebDelegateImplementationCaching.mm: (CallDelegate): (CallDelegateReturningFloat): (CallDelegateReturningBoolean): (CallUIDelegate): (CallUIDelegateReturningFloat): (CallUIDelegateReturningBoolean): (CallFrameLoadDelegate): (CallFrameLoadDelegateReturningBoolean): (CallResourceLoadDelegate): (CallScriptDebugDelegate): (CallFormDelegate): (CallFormDelegateReturningBoolean): * WebView/WebDeviceOrientation.mm: (-[WebDeviceOrientation initWithCanProvideAlpha:alpha:canProvideBeta:beta:canProvideGamma:gamma:]): * WebView/WebDocumentInternal.h: * WebView/WebDocumentLoaderMac.mm: (needsDataLoadWorkaround): * WebView/WebDynamicScrollBarsViewInternal.h: * WebView/WebFormDelegate.m: * WebView/WebFrame.mm: (-[WebFrame _updateBackgroundAndUpdatesWhileOffscreen]): (-[WebFrame _unmarkAllMisspellings]): (-[WebFrame _paintBehaviorForDestinationContext:]): (-[WebFrame _drawRect:contentsOnly:]): (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]): (-[WebFrame _scrollDOMRangeToVisible:]): (-[WebFrame _bodyBackgroundColor]): (-[WebFrame accessibilityRoot]): (needsMicrosoftMessengerDOMDocumentWorkaround): * WebView/WebFrameInternal.h: * WebView/WebFrameView.mm: (-[WebFrameView _setDocumentView:]): (+[WebFrameView _viewTypesAllowImageTypeOmission:]): (-[WebFrameView _viewClassForMIMEType:]): (-[WebFrameView initWithFrame:]): (-[WebFrameView drawRect:]): (-[WebFrameView _firstResponderIsFormControl]): (-[WebFrameView keyDown:keyDown:]): (-[WebFrameView _isScrollable]): * WebView/WebFullScreenController.h: * WebView/WebFullScreenController.mm: * WebView/WebHTMLRepresentation.mm: * WebView/WebHTMLView.mm: (-[WebHTMLView hitTest:]): (-[WebHTMLView initWithFrame:]): (-[WebHTMLView dealloc]): (-[WebHTMLView addSubview:]): (-[WebHTMLView mouseDown:]): (-[WebHTMLView mouseUp:]): (-[WebHTMLView resignFirstResponder]): (-[WebHTMLView accessibilityHitTest:]): (-[WebHTMLView selectionImageForcingBlackText:selectionImageForcingBlackText:]): * WebView/WebHTMLViewInternal.h: * WebView/WebIndicateLayer.h: * WebView/WebIndicateLayer.mm: * WebView/WebMediaPlaybackTargetPicker.h: * WebView/WebMediaPlaybackTargetPicker.mm: * WebView/WebPDFDocumentExtras.h: * WebView/WebPDFDocumentExtras.mm: * WebView/WebPDFRepresentation.h: * WebView/WebPDFRepresentation.mm: * WebView/WebPDFView.h: * WebView/WebPreferences.mm: (cacheModelForMainBundle): (WebPreferencesPrivate::WebPreferencesPrivate): (-[WebPreferences initWithIdentifier:sendChangeNotification:initWithIdentifier:]): (-[WebPreferences encodeWithCoder:]): (+[WebPreferences standardPreferences]): (+[WebPreferences initialize]): (-[WebPreferences _valueForKey:]): (-[WebPreferences _setStringValue:forKey:]): (-[WebPreferences _setIntegerValue:forKey:]): (-[WebPreferences _setUnsignedIntValue:forKey:]): (-[WebPreferences _setFloatValue:forKey:]): (-[WebPreferences _setBoolValue:forKey:]): (-[WebPreferences _setLongLongValue:forKey:]): (-[WebPreferences _setUnsignedLongLongValue:forKey:]): (-[WebPreferences _postCacheModelChangedNotification]): (-[WebPreferences _postPreferencesChangedNotification]): (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): (-[WebPreferences setStorageBlockingPolicy:]): * WebView/WebResource.mm: (+[WebResourcePrivate initialize]): * WebView/WebTextCompletionController.h: * WebView/WebTextIterator.mm: (+[WebTextIteratorPrivate initialize]): * WebView/WebView.mm: (shouldEnableLoadDeferring): (shouldRestrictWindowFocus): (shouldRespectPriorityInCSSAttributeSetters): (shouldUseLegacyBackgroundSizeShorthandBehavior): (shouldAllowPictureInPictureMediaPlayback): (shouldAllowContentSecurityPolicySourceStarToMatchAnyProtocol): (shouldAllowWindowOpenWithoutUserGesture): (shouldConvertInvalidURLsToBlank): (shouldRequireUserGestureToLoadVideo): (-[WebView _commonInitializationWithFrameName:groupName:]): (+[WebView _viewClass:andRepresentationClass:forMIMEType:allowingPlugins:]): (-[WebView _viewClass:andRepresentationClass:forMIMEType:]): (-[WebView _closePluginDatabases]): (-[WebView _closeWithFastTeardown]): (-[WebView _close]): (+[WebView _MIMETypeForFile:]): (-[WebView setShowingInspectorIndication:]): (-[WebView _setFormDelegate:]): (-[WebView _needsPreHTML5ParserQuirks]): (-[WebView _preferencesChangedNotification:]): (-[WebView _preferencesChanged:]): (-[WebView _cacheResourceLoadDelegateImplementations]): (-[WebView _cacheFrameLoadDelegateImplementations]): (-[WebView _policyDelegateForwarder]): (-[WebView _UIDelegateForwarder]): (-[WebView _editingDelegateForwarder]): (-[WebView _updateActiveState]): (-[_WebSafeForwarder forwardInvocation:]): (+[WebView initialize]): (-[WebView _pluginForMIMEType:]): (-[WebView _pluginForExtension:]): (-[WebView _isMIMETypeRegisteredAsPlugin:]): (+[WebView canShowMIMETypeAsHTML:]): (-[WebView _initWithArguments:]): (-[WebView initWithFrame:frameName:groupName:]): (-[WebView dealloc]): (-[WebView close]): (-[WebView viewDidMoveToWindow]): (-[WebView setUIDelegate:]): (-[WebView setResourceLoadDelegate:]): (-[WebView setPolicyDelegate:]): (-[WebView setFrameLoadDelegate:]): (-[WebView goBack]): (-[WebView goForward]): (-[WebView stringByEvaluatingJavaScriptFromString:]): (-[WebView setHostWindow:]): (-[WebView becomeFirstResponder]): (+[WebView _cacheModelChangedNotification:]): (-[WebView _frameViewAtWindowPoint:]): (+[WebView _preflightSpellCheckerNow:]): (+[WebView _preflightSpellChecker]): (-[WebView canGoBack]): (-[WebView canGoForward]): (-[WebView stopLoading:]): (-[WebView reload:]): (-[WebView setMainFrameDocumentReady:]): (-[WebView _shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): (-[WebView setContinuousSpellCheckingEnabled:]): (-[WebView undoManager]): (-[WebView isAutomaticQuoteSubstitutionEnabled]): (-[WebView isAutomaticLinkDetectionEnabled]): (-[WebView isAutomaticDashSubstitutionEnabled]): (-[WebView isAutomaticTextReplacementEnabled]): (-[WebView isAutomaticSpellingCorrectionEnabled]): (+[WebView _setCacheModel:]): (-[WebView _retrieveKeyboardUIModeFromPreferences:]): (-[WebView _keyboardUIMode]): (LayerFlushController::flushLayers): (-[WebView _scheduleCompositingLayerFlush]): (-[WebView _enterVideoFullscreenForVideoElement:mode:]): (-[WebView fullScreenPlaceholderView]): (WebInstallMemoryPressureHandler): * WebView/WebViewData.h: * WebView/WebViewData.mm: (+[WebViewPrivate initialize]): (-[WebViewPrivate init]): (-[WebViewPrivate dealloc]): * WebView/WebViewInternal.h: Source/WTF: * wtf/Assertions.h: * wtf/FeatureDefines.h: * wtf/InlineASM.h: * wtf/MemoryPressureHandler.cpp: (WTF::thresholdForPolicy): * wtf/Platform.h: * wtf/cocoa/MemoryPressureHandlerCocoa.mm: (WTF::MemoryPressureHandler::install): (WTF::MemoryPressureHandler::respondToMemoryPressure): * wtf/spi/cocoa/NSMapTableSPI.h: * wtf/spi/darwin/XPCSPI.h: * wtf/text/StringCommon.h: * wtf/text/TextBreakIterator.cpp: * wtf/text/TextBreakIterator.h: * wtf/unicode/icu/CollatorICU.cpp: (WTF::copyDefaultLocale): Tools: * DumpRenderTree/AccessibilityController.h: * DumpRenderTree/AccessibilityTextMarker.h: * DumpRenderTree/AccessibilityUIElement.cpp: (AccessibilityUIElement::getJSClass): * DumpRenderTree/AccessibilityUIElement.h: * DumpRenderTree/DumpRenderTreeFileDraggingSource.h: * DumpRenderTree/TestRunner.cpp: (getSecureEventInputIsEnabledCallback): (TestRunner::staticFunctions): (TestRunner::callUIScriptCallback): * DumpRenderTree/TestRunner.h: * DumpRenderTree/cg/PixelDumpSupportCG.cpp: * DumpRenderTree/ios/AccessibilityTextMarkerIOS.mm: * DumpRenderTree/ios/AccessibilityUIElementIOS.mm: * DumpRenderTree/ios/DumpRenderTreeAppMain.mm: * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm: * DumpRenderTree/ios/TextInputControllerIOS.m: * DumpRenderTree/ios/UIScriptControllerIOS.mm: * DumpRenderTree/mac/AppleScriptController.m: * DumpRenderTree/mac/DumpRenderTree.mm: (createWebViewAndOffscreenWindow): (destroyWebViewAndOffscreenWindow): (resetWebPreferencesToConsistentValues): (setDefaultsToConsistentValuesForTesting): (allocateGlobalControllers): (releaseGlobalControllers): (addTestPluginsToPluginSearchPath): (prepareConsistentTestingEnvironment): (dumpRenderTree): (DumpRenderTreeMain): (dumpFrameAsPDF): (dumpBackForwardListForAllWindows): (updateDisplay): (dump): (resetWebViewToConsistentStateBeforeTesting): (runTest): (displayWebView): (displayAndTrackRepaintsWebView): * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: * DumpRenderTree/mac/DumpRenderTreeMac.h: * DumpRenderTree/mac/DumpRenderTreePasteboard.h: * DumpRenderTree/mac/DumpRenderTreeWindow.h: * DumpRenderTree/mac/DumpRenderTreeWindow.mm: (-[DumpRenderTreeWindow close]): (-[DumpRenderTreeWindow webView]): (-[DumpRenderTreeWindow webViewStartedAcceleratedCompositing:]): * DumpRenderTree/mac/EventSendingController.h: * DumpRenderTree/mac/EventSendingController.mm: (+[EventSendingController isSelectorExcludedFromWebScript:]): (+[EventSendingController webScriptNameForSelector:]): (-[EventSendingController dealloc]): (-[EventSendingController currentEventTime]): (-[EventSendingController clearKillRing]): (modifierFlags): (-[EventSendingController mouseDown:withModifiers:]): (-[EventSendingController scalePageBy:atX:andY:]): (-[EventSendingController mouseUp:withModifiers:]): (-[EventSendingController mouseMoveToX:Y:]): (-[EventSendingController mouseScrollByX:andY:continuously:]): (-[EventSendingController keyDown:withModifiers:withLocation:]): * DumpRenderTree/mac/FrameLoadDelegate.mm: (-[FrameLoadDelegate init]): (-[FrameLoadDelegate dealloc]): (-[FrameLoadDelegate processWork:]): (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): (-[FrameLoadDelegate webView:didCommitLoadForFrame:]): (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): * DumpRenderTree/mac/LayoutTestHelper.m: * DumpRenderTree/mac/MockGeolocationProvider.mm: (-[MockGeolocationProvider timerFired]): * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::setMainFrameIsFirstResponder): (TestRunner::setAutomaticLinkDetectionEnabled): (TestRunner::setUseDashboardCompatibilityMode): (TestRunner::isCommandEnabled): (TestRunner::inspectorTestStubURL): (TestRunner::apiTestNewWindowDataLoadBaseURL): (TestRunner::abortModal): (TestRunner::setTextDirection): (TestRunner::addChromeInputField): (TestRunner::removeChromeInputField): (TestRunner::focusWebView): (TestRunner::setBackingScaleFactor): (TestRunner::imageCountInGeneralPasteboard const): * DumpRenderTree/mac/UIDelegate.h: * DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate modalWindowWillClose:]): (-[UIDelegate webViewRunModal:]): (-[UIDelegate webView:supportsFullScreenForElement:withKeyboard:]): (-[UIDelegate dealloc]): * Scripts/check-for-inappropriate-objc-class-names: * TestRunnerShared/UIScriptContext/UIScriptController.cpp: * TestRunnerShared/spi/UIKitTestSPI.h: * TestWebKitAPI/Tests/WTF/darwin/WeakLinking.cpp: * TestWebKitAPI/Tests/WebCore/MarkedText.cpp: (WebCore::operator<<): * TestWebKitAPI/Tests/WebCore/cocoa/DatabaseTrackerTest.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm: (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp): * TestWebKitAPI/Tests/WebCore/ios/PreviewLoader.cpp: * TestWebKitAPI/Tests/WebKit/NoHistoryItemScrollToFragment.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit/WKPreferences.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLs.mm: * TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm: * TestWebKitAPI/Tests/WebKitCocoa/BundleEditingDelegate.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandle.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandlePlugIn.mm: (-[BundleRangeHandlePlugIn webProcessPlugInBrowserContextController:didFinishDocumentLoadForFrame:]): * TestWebKitAPI/Tests/WebKitCocoa/Coding.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/CopyHTML.mm: * TestWebKitAPI/Tests/WebKitCocoa/CopyURL.mm: (createWebViewWithCustomPasteboardDataEnabled): * TestWebKitAPI/Tests/WebKitCocoa/Copying.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/DataDetection.mm: * TestWebKitAPI/Tests/WebKitCocoa/DoAfterNextPresentationUpdateAfterCrash.mm: * TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm: * TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm: * TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm: * TestWebKitAPI/Tests/WebKitCocoa/FixedLayoutSize.mm: * TestWebKitAPI/Tests/WebKitCocoa/FontAttributes.mm: * TestWebKitAPI/Tests/WebKitCocoa/Geolocation.mm: * TestWebKitAPI/Tests/WebKitCocoa/InteractionDeadlockAfterCrash.mm: * TestWebKitAPI/Tests/WebKitCocoa/LocalStorageClear.mm: (defaultWebsiteCacheDirectory): (defaultApplicationCacheDirectory): (TEST): * TestWebKitAPI/Tests/WebKitCocoa/NSFileManagerExtras.mm: * TestWebKitAPI/Tests/WebKitCocoa/NowPlaying.mm: * TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteHTML.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteImage.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKitCocoa/PasteRTFD.mm: * TestWebKitAPI/Tests/WebKitCocoa/QuickLook.mm: * TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptions.mm: (runTestWithWidth): * TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptionsPlugIn.mm: (-[RenderedImageWithOptionsPlugIn renderImageWithWidth:completionHandler:]): * TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm: * TestWebKitAPI/Tests/WebKitCocoa/ShrinkToFit.mm: * TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm: * TestWebKitAPI/Tests/WebKitCocoa/VisibleContentRect.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm: (platformCopyRichTextWithMultipleAttachments): (platformCopyRichTextWithImage): (platformCopyPNG): * TestWebKitAPI/Tests/WebKitCocoa/WKContentViewEditingActions.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKContentViewTargetForAction.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKHTTPCookieStore.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKPDFViewStablePresentationUpdateCallback.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKRequestActivatedElementInfo.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-leaks.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/_WKInputDelegate.mm: * TestWebKitAPI/Tests/WebKitLegacy/ios/AudioSessionCategoryIOS.mm: * TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm: * TestWebKitAPI/Tests/WebKitLegacy/mac/AccessingPastedImage.mm: * TestWebKitAPI/Tests/ios/AccessibilityTestsIOS.mm: * TestWebKitAPI/Tests/ios/ActionSheetTests.mm: * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: * TestWebKitAPI/Tests/ios/FocusPreservationTests.mm: * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: * TestWebKitAPI/Tests/ios/RenderingProgressTests.mm: * TestWebKitAPI/Tests/ios/ScrollViewInsetTests.mm: * TestWebKitAPI/Tests/ios/SetTimeoutFunction.mm: * TestWebKitAPI/Tests/ios/SynchronousTimeoutTests.mm: * TestWebKitAPI/Tests/ios/TestInputDelegate.h: * TestWebKitAPI/Tests/ios/TestInputDelegate.mm: * TestWebKitAPI/Tests/ios/TextAutosizingBoost.mm: * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: * TestWebKitAPI/Tests/ios/WKScrollViewDelegate.mm: * TestWebKitAPI/Tests/ios/WKScrollViewTests.mm: * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm: * TestWebKitAPI/Tests/ios/WKWebViewEditActions.mm: * TestWebKitAPI/cocoa/DragAndDropSimulator.h: * TestWebKitAPI/cocoa/TestNavigationDelegate.mm: (-[WKWebView _test_waitForDidFinishNavigation]): * TestWebKitAPI/cocoa/TestWKWebView.h: * TestWebKitAPI/cocoa/TestWKWebView.mm: * TestWebKitAPI/config.h: * TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm: * TestWebKitAPI/ios/TestWKWebViewController.h: * TestWebKitAPI/ios/TestWKWebViewController.mm: * TestWebKitAPI/ios/UIKitSPI.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm: (WTR::TestRunner::inspectorTestStubURL): * WebKitTestRunner/TestController.cpp: (WTR::TestController::webProcessName): (WTR::TestController::networkProcessName): * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke): (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): * WebKitTestRunner/cg/TestInvocationCG.cpp: * WebKitTestRunner/cocoa/TestControllerCocoa.mm: (WTR::initializeWebViewConfiguration): (WTR::TestController::platformCreateWebView): (WTR::TestController::imageCountInGeneralPasteboard const): (WTR::TestController::addTestKeyToKeychain): (WTR::TestController::cleanUpKeychain): (WTR::TestController::keyExistsInKeychain): * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Canonical link: https://commits.webkit.org/205631@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-18 21:38:50 +00:00
#elif PLATFORM(IOS_FAMILY)
[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
OBJC_CLASS UIView;
using PlatformView = UIView;
#else
using PlatformView = void;
#endif
namespace WebCore {
Source/WebCore: [iOS] HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. The issue was that [UIViewController presentViewController:] is asynchronous and that we sometimes tried to call [m_popoverController dismissViewControllerAnimated:] before presentViewController had completed. This is something that UIKit does not handle nicely and the popover just stays visible even though we have asked for the controller to be dismissed and destroyed the ValidationBubble object. To address the issue, I made ValidationBubble RefCounted and make sure the ValidationBubble object stays alive at least until the completion handler for [UIViewController presentViewController:] has been called. This is done via protecting the object using a RefPtr<> and capturing it in the lambda. Because dismissViewControllerAnimated is called in the destructor, it is no longer possible to call dismissViewControllerAnimated before the call to presentViewController has completed. No new tests, no easily testable since the popover was staying visible after being destroyed (held on by UIKit). * platform/ValidationBubble.h: (WebCore::ValidationBubble::create): * platform/ios/ValidationBubbleIOS.mm: (WebCore::ValidationBubble::show): Source/WebKit/mac: HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. Update code using ValidationBubble now that it is RefCounted. * WebView/WebView.mm: (-[WebView showFormValidationMessage:withAnchorRect:]): Source/WebKit2: [iOS] HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. Update code using ValidationBubble now that it is RefCounted. * UIProcess/PageClient.h: * UIProcess/WebPageProxy.h: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): Canonical link: https://commits.webkit.org/184096@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-01-13 00:59:34 +00:00
class ValidationBubble : public RefCounted<ValidationBubble> {
[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
public:
HTML Form Validation bubble should take minimum font size setting into consideration https://bugs.webkit.org/show_bug.cgi?id=168271 <rdar://problem/29869869> Reviewed by Simon Fraser. Source/WebCore: HTML Form Validation bubble should take minimum font size setting into consideration for better accessibility. Test: fast/forms/validation-message-minimum-font-size.html * platform/ValidationBubble.h: (WebCore::ValidationBubble::create): (WebCore::ValidationBubble::fontSize): * platform/ios/ValidationBubbleIOS.mm: (WebCore::ValidationBubble::ValidationBubble): * platform/mac/ValidationBubbleMac.mm: (WebCore::ValidationBubble::ValidationBubble): Update the ValidationBubble constructor to take in Settings. For now, there is a single setting that is the minimum font size and that is taken into account when setting the font size of the validation bubble text. Source/WebKit/mac: * WebView/WebView.mm: (-[WebView _contentsOfUserInterfaceItem:]): Return font size used in the validation bubble. (-[WebView showFormValidationMessage:withAnchorRect:]): Pass minimum font size setting when constructing the validation bubble. Source/WebKit2: * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _contentsOfUserInterfaceItem:]): Return font size used in the validation bubble. * UIProcess/PageClient.h: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::showValidationMessage): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): Pass minimum font size setting when constructing the form validation bubble. Tools: Extend UIScriptController's contentsOfUserInterfaceItem() to also return the font size of the validation bubble. Add an overridePreference() method to UIScriptController. This is currently used to override the value of the minimumFontSize setting. testRunner's overridePreference() is not usable on WK2 because it does not update the value of the preference on the UIProcess side. * DumpRenderTree/ios/UIScriptControllerIOS.mm: (WTR::UIScriptController::overridePreference): * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::overridePreference): * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: * TestRunnerShared/UIScriptContext/UIScriptController.h: * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues): * WebKitTestRunner/ios/UIScriptControllerIOS.mm: (WTR::UIScriptController::overridePreference): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::overridePreference): LayoutTests: Add layout test coverage. * fast/forms/validation-message-minimum-font-size-expected.txt: Added. * fast/forms/validation-message-minimum-font-size.html: Added. Canonical link: https://commits.webkit.org/185357@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-02-14 23:11:06 +00:00
struct Settings {
double minimumFontSize { 0 };
};
static Ref<ValidationBubble> create(PlatformView* view, const String& message, const Settings& settings)
Source/WebCore: [iOS] HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. The issue was that [UIViewController presentViewController:] is asynchronous and that we sometimes tried to call [m_popoverController dismissViewControllerAnimated:] before presentViewController had completed. This is something that UIKit does not handle nicely and the popover just stays visible even though we have asked for the controller to be dismissed and destroyed the ValidationBubble object. To address the issue, I made ValidationBubble RefCounted and make sure the ValidationBubble object stays alive at least until the completion handler for [UIViewController presentViewController:] has been called. This is done via protecting the object using a RefPtr<> and capturing it in the lambda. Because dismissViewControllerAnimated is called in the destructor, it is no longer possible to call dismissViewControllerAnimated before the call to presentViewController has completed. No new tests, no easily testable since the popover was staying visible after being destroyed (held on by UIKit). * platform/ValidationBubble.h: (WebCore::ValidationBubble::create): * platform/ios/ValidationBubbleIOS.mm: (WebCore::ValidationBubble::show): Source/WebKit/mac: HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. Update code using ValidationBubble now that it is RefCounted. * WebView/WebView.mm: (-[WebView showFormValidationMessage:withAnchorRect:]): Source/WebKit2: [iOS] HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. Update code using ValidationBubble now that it is RefCounted. * UIProcess/PageClient.h: * UIProcess/WebPageProxy.h: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): Canonical link: https://commits.webkit.org/184096@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-01-13 00:59:34 +00:00
{
HTML Form Validation bubble should take minimum font size setting into consideration https://bugs.webkit.org/show_bug.cgi?id=168271 <rdar://problem/29869869> Reviewed by Simon Fraser. Source/WebCore: HTML Form Validation bubble should take minimum font size setting into consideration for better accessibility. Test: fast/forms/validation-message-minimum-font-size.html * platform/ValidationBubble.h: (WebCore::ValidationBubble::create): (WebCore::ValidationBubble::fontSize): * platform/ios/ValidationBubbleIOS.mm: (WebCore::ValidationBubble::ValidationBubble): * platform/mac/ValidationBubbleMac.mm: (WebCore::ValidationBubble::ValidationBubble): Update the ValidationBubble constructor to take in Settings. For now, there is a single setting that is the minimum font size and that is taken into account when setting the font size of the validation bubble text. Source/WebKit/mac: * WebView/WebView.mm: (-[WebView _contentsOfUserInterfaceItem:]): Return font size used in the validation bubble. (-[WebView showFormValidationMessage:withAnchorRect:]): Pass minimum font size setting when constructing the validation bubble. Source/WebKit2: * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _contentsOfUserInterfaceItem:]): Return font size used in the validation bubble. * UIProcess/PageClient.h: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::showValidationMessage): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): Pass minimum font size setting when constructing the form validation bubble. Tools: Extend UIScriptController's contentsOfUserInterfaceItem() to also return the font size of the validation bubble. Add an overridePreference() method to UIScriptController. This is currently used to override the value of the minimumFontSize setting. testRunner's overridePreference() is not usable on WK2 because it does not update the value of the preference on the UIProcess side. * DumpRenderTree/ios/UIScriptControllerIOS.mm: (WTR::UIScriptController::overridePreference): * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::overridePreference): * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: * TestRunnerShared/UIScriptContext/UIScriptController.h: * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues): * WebKitTestRunner/ios/UIScriptControllerIOS.mm: (WTR::UIScriptController::overridePreference): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::overridePreference): LayoutTests: Add layout test coverage. * fast/forms/validation-message-minimum-font-size-expected.txt: Added. * fast/forms/validation-message-minimum-font-size.html: Added. Canonical link: https://commits.webkit.org/185357@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-02-14 23:11:06 +00:00
return adoptRef(*new ValidationBubble(view, message, settings));
Source/WebCore: [iOS] HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. The issue was that [UIViewController presentViewController:] is asynchronous and that we sometimes tried to call [m_popoverController dismissViewControllerAnimated:] before presentViewController had completed. This is something that UIKit does not handle nicely and the popover just stays visible even though we have asked for the controller to be dismissed and destroyed the ValidationBubble object. To address the issue, I made ValidationBubble RefCounted and make sure the ValidationBubble object stays alive at least until the completion handler for [UIViewController presentViewController:] has been called. This is done via protecting the object using a RefPtr<> and capturing it in the lambda. Because dismissViewControllerAnimated is called in the destructor, it is no longer possible to call dismissViewControllerAnimated before the call to presentViewController has completed. No new tests, no easily testable since the popover was staying visible after being destroyed (held on by UIKit). * platform/ValidationBubble.h: (WebCore::ValidationBubble::create): * platform/ios/ValidationBubbleIOS.mm: (WebCore::ValidationBubble::show): Source/WebKit/mac: HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. Update code using ValidationBubble now that it is RefCounted. * WebView/WebView.mm: (-[WebView showFormValidationMessage:withAnchorRect:]): Source/WebKit2: [iOS] HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. Update code using ValidationBubble now that it is RefCounted. * UIProcess/PageClient.h: * UIProcess/WebPageProxy.h: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): Canonical link: https://commits.webkit.org/184096@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-01-13 00:59:34 +00:00
}
[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
WEBCORE_EXPORT ~ValidationBubble();
const String& message() const { return m_message; }
HTML Form Validation bubble should take minimum font size setting into consideration https://bugs.webkit.org/show_bug.cgi?id=168271 <rdar://problem/29869869> Reviewed by Simon Fraser. Source/WebCore: HTML Form Validation bubble should take minimum font size setting into consideration for better accessibility. Test: fast/forms/validation-message-minimum-font-size.html * platform/ValidationBubble.h: (WebCore::ValidationBubble::create): (WebCore::ValidationBubble::fontSize): * platform/ios/ValidationBubbleIOS.mm: (WebCore::ValidationBubble::ValidationBubble): * platform/mac/ValidationBubbleMac.mm: (WebCore::ValidationBubble::ValidationBubble): Update the ValidationBubble constructor to take in Settings. For now, there is a single setting that is the minimum font size and that is taken into account when setting the font size of the validation bubble text. Source/WebKit/mac: * WebView/WebView.mm: (-[WebView _contentsOfUserInterfaceItem:]): Return font size used in the validation bubble. (-[WebView showFormValidationMessage:withAnchorRect:]): Pass minimum font size setting when constructing the validation bubble. Source/WebKit2: * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _contentsOfUserInterfaceItem:]): Return font size used in the validation bubble. * UIProcess/PageClient.h: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::showValidationMessage): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): Pass minimum font size setting when constructing the form validation bubble. Tools: Extend UIScriptController's contentsOfUserInterfaceItem() to also return the font size of the validation bubble. Add an overridePreference() method to UIScriptController. This is currently used to override the value of the minimumFontSize setting. testRunner's overridePreference() is not usable on WK2 because it does not update the value of the preference on the UIProcess side. * DumpRenderTree/ios/UIScriptControllerIOS.mm: (WTR::UIScriptController::overridePreference): * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::overridePreference): * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: * TestRunnerShared/UIScriptContext/UIScriptController.h: * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues): * WebKitTestRunner/ios/UIScriptControllerIOS.mm: (WTR::UIScriptController::overridePreference): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::overridePreference): LayoutTests: Add layout test coverage. * fast/forms/validation-message-minimum-font-size-expected.txt: Added. * fast/forms/validation-message-minimum-font-size.html: Added. Canonical link: https://commits.webkit.org/185357@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-02-14 23:11:06 +00:00
double fontSize() const { return m_fontSize; }
[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY) https://bugs.webkit.org/show_bug.cgi?id=190729 Reviewed by Tim Horton. Source/JavaScriptCore: * API/JSBase.cpp: * API/JSWrapperMap.mm: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/AssemblerCommon.h: (JSC::isIOS): * heap/FullGCActivityCallback.cpp: (JSC::FullGCActivityCallback::doCollection): * heap/Heap.cpp: (JSC::Heap::overCriticalMemoryThreshold): (JSC::Heap::updateAllocationLimits): (JSC::Heap::collectIfNecessaryOrDefer): * heap/Heap.h: * inspector/remote/cocoa/RemoteConnectionToTargetCocoa.mm: (Inspector::RemoteConnectionToTarget::dispatchAsyncOnTarget): * jit/ExecutableAllocator.cpp: (JSC::allowJIT): * jit/ExecutableAllocator.h: * jit/RegisterSet.cpp: (JSC::RegisterSet::reservedHardwareRegisters): (JSC::RegisterSet::calleeSaveRegisters): * jit/ThunkGenerators.cpp: * jsc.cpp: (main): * runtime/MathCommon.cpp: * runtime/Options.cpp: (JSC::overrideDefaults): (JSC::recomputeDependentOptions): * runtime/Options.h: Source/WebCore: * DerivedSources.make: * Modules/applepay/cocoa/PaymentContactCocoa.mm: (WebCore::subLocality): (WebCore::setSubLocality): (WebCore::subAdministrativeArea): (WebCore::setSubAdministrativeArea): * Modules/encryptedmedia/legacy/LegacyCDMPrivateMediaPlayer.cpp: * Modules/geolocation/Geolocation.cpp: (WebCore::isRequestFromIBooks): * Modules/geolocation/GeolocationPosition.h: * Modules/geolocation/NavigatorGeolocation.cpp: * Modules/geolocation/NavigatorGeolocation.h: * Modules/geolocation/ios/GeolocationPositionIOS.mm: * Modules/mediasession/WebMediaSessionManager.cpp: * Modules/mediasession/WebMediaSessionManager.h: * Modules/mediastream/MediaDevicesRequest.cpp: (WebCore::MediaDevicesRequest::filterDeviceList): * Modules/plugins/QuickTimePluginReplacement.mm: (WebCore::JSQuickTimePluginReplacement::timedMetaData const): (WebCore::JSQuickTimePluginReplacement::accessLog const): (WebCore::JSQuickTimePluginReplacement::errorLog const): * Modules/speech/SpeechSynthesis.cpp: (WebCore::SpeechSynthesis::SpeechSynthesis): (WebCore::SpeechSynthesis::speak): * Modules/speech/SpeechSynthesis.h: * Modules/webaudio/AudioContext.cpp: * Modules/webaudio/AudioScheduledSourceNode.cpp: * Modules/webdatabase/Database.cpp: (WebCore::Database::performOpenAndVerify): * Modules/webdatabase/DatabaseContext.h: * Modules/webdatabase/DatabaseManagerClient.h: * Modules/webdatabase/DatabaseTracker.cpp: (WebCore::DatabaseTracker::deleteDatabaseFile): * Modules/webdatabase/DatabaseTracker.h: * WebCorePrefix.h: * accessibility/AXObjectCache.cpp: (WebCore::createFromRenderer): * accessibility/AccessibilityMediaObject.cpp: * accessibility/AccessibilityMediaObject.h: * accessibility/AccessibilityMenuList.cpp: (WebCore::AccessibilityMenuList::press): (WebCore::AccessibilityMenuList::isCollapsed const): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::isAccessibilityObjectSearchMatchAtIndex): (WebCore::AccessibilityObject::press): (WebCore::AccessibilityObject::actionVerb const): * accessibility/AccessibilityObject.h: * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::stringValue const): (WebCore::AccessibilityRenderObject::determineAccessibilityRole): (WebCore::AccessibilityRenderObject::actionVerb const): * accessibility/AccessibilityTableColumn.cpp: (WebCore::AccessibilityTableColumn::computeAccessibilityIsIgnored const): * accessibility/AccessibilityTableHeaderContainer.cpp: (WebCore::AccessibilityTableHeaderContainer::computeAccessibilityIsIgnored const): * accessibility/ios/AXObjectCacheIOS.mm: * accessibility/ios/AccessibilityObjectIOS.mm: * accessibility/ios/WebAccessibilityObjectWrapperIOS.h: * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: * bindings/js/CommonVM.cpp: (WebCore::commonVMSlow): * bindings/js/JSCallbackData.h: (WebCore::JSCallbackData::~JSCallbackData): * bindings/js/JSDOMWindowBase.cpp: (WebCore::JSDOMWindowBase::shouldInterruptScriptBeforeTimeout): * bindings/js/ScriptController.cpp: (WebCore::ScriptController::initializeThreading): * bridge/objc/objc_class.mm: (JSC::Bindings::ObjcClass::fieldNamed const): * crypto/CommonCryptoUtilities.h: * crypto/mac/CryptoKeyRSAMac.cpp: * crypto/mac/SerializedCryptoKeyWrapMac.mm: (WebCore::masterKeyAccountNameForCurrentApplication): (WebCore::createAndStoreMasterKey): * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::valueForPropertyinStyle): * css/CSSProperties.json: * css/CSSStyleDeclaration.cpp: * css/CSSValueKeywords.in: * css/MediaQueryEvaluator.cpp: (WebCore::prefersReducedMotionEvaluate): * css/StyleBuilderConverter.h: * css/html.css: (video): (input, textarea, keygen, select, button): (#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY): (#if defined(ENABLE_INPUT_TYPE_DATE) && ENABLE_INPUT_TYPE_DATE): (#endif): (#if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT): (textarea): (input:matches([type="radio"], [type="checkbox"])): (input:matches([type="button"], [type="submit"], [type="reset"]), input[type="file"]::-webkit-file-upload-button, button): (input[type="range"]::-webkit-slider-thumb, input[type="range"]::-webkit-media-slider-thumb): (#if !(defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY)): (input[type="checkbox"]): (#endif // defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR): (#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS): Deleted. (#if !(defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS)): Deleted. * css/parser/CSSParserContext.cpp: (WebCore::CSSParserContext::CSSParserContext): * css/parser/CSSParserFastPaths.cpp: (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): (WebCore::CSSParserFastPaths::isKeywordPropertyID): * css/parser/CSSPropertyParser.cpp: (WebCore::cssPropertyID): (WebCore::CSSPropertyParser::parseSingleValue): * css/parser/CSSPropertyParser.h: * css/svg.css: (#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY): (#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS): Deleted. * dom/DeviceMotionController.cpp: * dom/DeviceMotionController.h: * dom/DeviceOrientationController.cpp: (WebCore::DeviceOrientationController::DeviceOrientationController): * dom/DeviceOrientationController.h: * dom/DeviceOrientationData.cpp: * dom/DeviceOrientationData.h: * dom/DeviceOrientationEvent.cpp: * dom/DeviceOrientationEvent.h: * dom/DeviceOrientationEvent.idl: * dom/Document.cpp: (WebCore::Document::~Document): (WebCore::Document::suspendDeviceMotionAndOrientationUpdates): (WebCore::Document::resumeDeviceMotionAndOrientationUpdates): (WebCore::Document::platformSuspendOrStopActiveDOMObjects): * dom/Document.h: * dom/DocumentMarker.h: (WebCore::DocumentMarker::allMarkers): * dom/DocumentMarkerController.cpp: (WebCore::shouldInsertAsSeparateMarker): (WebCore::DocumentMarkerController::shiftMarkers): * dom/DocumentMarkerController.h: * dom/Element.cpp: (WebCore::Element::focus): * dom/Node.cpp: (WebCore::Node::~Node): (WebCore::Node::willBeDeletedFrom): (WebCore::Node::moveNodeToNewDocument): (WebCore::tryAddEventListener): (WebCore::tryRemoveEventListener): (WebCore::Node::defaultEventHandler): (WebCore::Node::willRespondToMouseMoveEvents): (WebCore::Node::willRespondToMouseClickEvents): * dom/Range.cpp: * dom/Range.h: * dom/TreeScope.cpp: (WebCore::absolutePointIfNotClipped): * dom/ViewportArguments.cpp: (WebCore::setViewportFeature): * dom/ViewportArguments.h: * editing/CompositeEditCommand.cpp: (WebCore::EditCommandComposition::unapply): (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers): (WebCore::CompositeEditCommand::moveParagraphs): * editing/Editor.cpp: (WebCore::TemporarySelectionChange::TemporarySelectionChange): (WebCore::TemporarySelectionChange::~TemporarySelectionChange): (WebCore::Editor::handleTextEvent): (WebCore::Editor::Editor): (WebCore::Editor::clear): (WebCore::Editor::insertTextWithoutSendingTextEvent): (WebCore::Editor::setBaseWritingDirection): (WebCore::Editor::setComposition): (WebCore::Editor::showSpellingGuessPanel): (WebCore::Editor::markMisspellingsAfterTypingToWord): (WebCore::Editor::markMisspellingsOrBadGrammar): (WebCore::Editor::changeBackToReplacedString): (WebCore::Editor::updateMarkersForWordsAffectedByEditing): (WebCore::Editor::revealSelectionAfterEditingOperation): (WebCore::Editor::setIgnoreSelectionChanges): (WebCore::Editor::changeSelectionAfterCommand): (WebCore::Editor::shouldChangeSelection const): (WebCore::Editor::respondToChangedSelection): (WebCore::Editor::editorUIUpdateTimerFired): (WebCore::Editor::resolveTextCheckingTypeMask): * editing/Editor.h: * editing/FontAttributes.h: * editing/FrameSelection.cpp: (WebCore::FrameSelection::FrameSelection): (WebCore::FrameSelection::updateDataDetectorsForSelection): (WebCore::FrameSelection::setSelectedRange): (WebCore::FrameSelection::updateAppearance): (WebCore::FrameSelection::shouldDeleteSelection const): (WebCore::FrameSelection::revealSelection): (WebCore::FrameSelection::setSelectionFromNone): (WebCore::FrameSelection::shouldChangeSelection const): * editing/FrameSelection.h: * editing/InsertIntoTextNodeCommand.cpp: * editing/InsertIntoTextNodeCommand.h: * editing/TypingCommand.cpp: (WebCore::TypingCommand::markMisspellingsAfterTyping): (WebCore::TypingCommand::deleteKeyPressed): (WebCore::TypingCommand::forwardDeleteKeyPressed): * editing/TypingCommand.h: * editing/cocoa/DataDetection.h: * editing/cocoa/DataDetection.mm: * editing/cocoa/FontAttributesCocoa.mm: * editing/cocoa/FontShadowCocoa.mm: (WebCore::FontShadow::createShadow const): * editing/cocoa/HTMLConverter.h: * editing/cocoa/HTMLConverter.mm: (_fontForNameAndSize): (_shadowForShadowStyle): (HTMLConverter::computedAttributesForElement): (HTMLConverter::_addAttachmentForElement): (HTMLConverter::_processMetaElementWithName): (HTMLConverter::_processElement): * editing/cocoa/WebContentReaderCocoa.mm: (WebCore::attributesForAttributedStringConversion): (WebCore::WebContentReader::readURL): * editing/ios/DictationCommandIOS.cpp: * editing/ios/DictationCommandIOS.h: * editing/ios/EditorIOS.mm: * editing/mac/FrameSelectionMac.mm: (WebCore::FrameSelection::notifyAccessibilityForSelectionChange): * fileapi/FileCocoa.mm: * history/CachedFrame.cpp: (WebCore::CachedFrameBase::restore): (WebCore::CachedFrame::CachedFrame): * history/CachedPage.cpp: (WebCore::CachedPage::restore): * history/HistoryItem.cpp: (WebCore::HistoryItem::HistoryItem): * history/HistoryItem.h: * history/PageCache.cpp: (WebCore::canCachePage): * html/BaseDateAndTimeInputType.cpp: * html/BaseDateAndTimeInputType.h: * html/ColorInputType.cpp: (WebCore::ColorInputType::isKeyboardFocusable const): * html/HTMLAppletElement.cpp: (WebCore::HTMLAppletElement::updateWidget): * html/HTMLAttachmentElement.h: * html/HTMLCanvasElement.cpp: (WebCore::maxActivePixelMemory): * html/HTMLElement.cpp: (WebCore::HTMLElement::collectStyleForPresentationAttribute): * html/HTMLIFrameElement.h: * html/HTMLImageElement.cpp: * html/HTMLImageElement.h: * html/HTMLInputElement.cpp: * html/HTMLInputElement.h: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::finishInitialization): (WebCore::HTMLMediaElement::registerWithDocument): (WebCore::HTMLMediaElement::unregisterWithDocument): (WebCore::HTMLMediaElement::setVolume): (WebCore::HTMLMediaElement::nextScanRate): (WebCore::HTMLMediaElement::sourceWasAdded): (WebCore::HTMLMediaElement::mediaEngineWasUpdated): (WebCore::HTMLMediaElement::updateVolume): (WebCore::HTMLMediaElement::userCancelledLoad): (WebCore::HTMLMediaElement::mediaSessionTitle const): (WebCore::HTMLMediaElement::purgeBufferedDataIfPossible): * html/HTMLMediaElement.h: * html/HTMLMetaElement.cpp: (WebCore::HTMLMetaElement::process): * html/HTMLObjectElement.cpp: * html/HTMLPlugInElement.h: * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::usesMenuList const): (WebCore::HTMLSelectElement::createElementRenderer): (WebCore::HTMLSelectElement::childShouldCreateRenderer const): (WebCore::HTMLSelectElement::willRespondToMouseClickEvents): (WebCore::HTMLSelectElement::updateListBoxSelection): (WebCore::HTMLSelectElement::scrollToSelection): (WebCore::HTMLSelectElement::setOptionsChangedOnRenderer): (WebCore::HTMLSelectElement::menuListDefaultEventHandler): (WebCore::HTMLSelectElement::defaultEventHandler): * html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::createInnerTextStyle): * html/HTMLTextFormControlElement.cpp: (WebCore::HTMLTextFormControlElement::select): (WebCore::HTMLTextFormControlElement::adjustInnerTextStyle const): * html/HTMLTextFormControlElement.h: * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::parseAttribute): (WebCore::HTMLVideoElement::supportsFullscreen const): * html/HTMLVideoElement.h: * html/ImageDocument.cpp: (WebCore::ImageDocument::ImageDocument): (WebCore::ImageDocument::createDocumentStructure): (WebCore::ImageDocument::imageUpdated): * html/ImageDocument.h: * html/InputType.cpp: * html/InputType.h: * html/MediaDocument.cpp: (WebCore::MediaDocumentParser::createDocumentStructure): * html/MediaElementSession.cpp: (WebCore::MediaElementSession::clientDataBufferingTimerFired): (WebCore::MediaElementSession::showPlaybackTargetPicker): (WebCore::MediaElementSession::wirelessVideoPlaybackDisabled const): (WebCore::MediaElementSession::setHasPlaybackTargetAvailabilityListeners): (WebCore::MediaElementSession::isPlayingToWirelessPlaybackTarget const): (WebCore::MediaElementSession::requiresFullscreenForVideoPlayback const): * html/MediaElementSession.h: * html/PluginDocument.cpp: (WebCore::PluginDocumentParser::createDocumentStructure): * html/RangeInputType.cpp: (WebCore::RangeInputType::handleTouchEvent): * html/RangeInputType.h: * html/SearchInputType.cpp: (WebCore::SearchInputType::addSearchResult): * html/TextFieldInputType.cpp: (WebCore::TextFieldInputType::isKeyboardFocusable const): (WebCore::TextFieldInputType::handleFocusEvent): (WebCore::TextFieldInputType::handleBlurEvent): (WebCore::TextFieldInputType::didSetValueByUserEdit): (WebCore::TextFieldInputType::listAttributeTargetChanged): * html/parser/HTMLParserScheduler.h: (WebCore::HTMLParserScheduler::shouldYieldBeforeToken): * html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processCharacterBufferForInBody): * html/parser/HTMLTreeBuilder.h: * html/shadow/MediaControlElements.cpp: * html/shadow/MediaControlElements.h: * html/shadow/MediaControls.h: * html/shadow/SliderThumbElement.cpp: (WebCore::SliderThumbElement::dragFrom): * html/shadow/SliderThumbElement.h: * html/shadow/TextControlInnerElements.cpp: (WebCore::SearchFieldResultsButtonElement::defaultEventHandler): (WebCore::SearchFieldCancelButtonElement::SearchFieldCancelButtonElement): * html/shadow/TextControlInnerElements.h: * inspector/InspectorController.cpp: (WebCore::InspectorController::setIndicating): * inspector/InspectorFrontendHost.cpp: (WebCore::InspectorFrontendHost::platform): * inspector/PageScriptDebugServer.cpp: (WebCore::PageScriptDebugServer::runEventLoopWhilePaused): * inspector/agents/InspectorTimelineAgent.cpp: (WebCore::currentRunLoop): * loader/DocumentLoader.cpp: * loader/DocumentLoader.h: * loader/DocumentThreadableLoader.cpp: (WebCore::DocumentThreadableLoader::makeCrossOriginAccessRequest): * loader/DocumentWriter.cpp: (WebCore::DocumentWriter::createDocument): * loader/EmptyClients.cpp: * loader/EmptyClients.h: * loader/EmptyFrameLoaderClient.h: * loader/FrameLoader.cpp: (WebCore::FrameLoader::checkCompleted): (WebCore::FrameLoader::willLoadMediaElementURL): (WebCore::FrameLoader::stopForUserCancel): (WebCore::FrameLoader::commitProvisionalLoad): (WebCore::FrameLoader::didFirstLayout): (WebCore::createWindow): * loader/FrameLoader.h: * loader/FrameLoaderClient.h: * loader/HistoryController.cpp: (WebCore::HistoryController::saveScrollPositionAndViewStateToItem): (WebCore::HistoryController::restoreScrollPositionAndViewState): * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::init): (WebCore::ResourceLoader::willSendRequestInternal): * loader/ResourceLoader.h: * loader/SubframeLoader.cpp: (WebCore::SubframeLoader::loadPlugin): * loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::create): (WebCore::SubresourceLoader::willCancel): (WebCore::SubresourceLoader::notifyDone): (WebCore::SubresourceLoader::releaseResources): * loader/SubresourceLoader.h: * loader/cache/CachedImage.cpp: * page/CaptionUserPreferencesMediaAF.cpp: (WebCore::userCaptionPreferencesChangedNotificationCallback): * page/Chrome.cpp: (WebCore::Chrome::createColorChooser): (WebCore::Chrome::dispatchViewportPropertiesDidChange const): (WebCore::Chrome::didReceiveDocType): * page/Chrome.h: * page/ChromeClient.h: * page/DOMTimer.cpp: (WebCore::DOMTimer::install): (WebCore::DOMTimer::fired): * page/DOMWindow.cpp: (WebCore::DOMWindow::outerHeight const): (WebCore::DOMWindow::outerWidth const): (WebCore::DOMWindow::clearTimeout): (WebCore::DOMWindow::addEventListener): (WebCore::DOMWindow::resetAllGeolocationPermission): (WebCore::DOMWindow::removeEventListener): (WebCore::DOMWindow::removeAllEventListeners): * page/DOMWindow.h: * page/DeprecatedGlobalSettings.cpp: (WebCore::DeprecatedGlobalSettings::globalConstRedeclarationShouldThrow): * page/DeprecatedGlobalSettings.h: * page/DragController.cpp: * page/EditorClient.h: * page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEventSingleClick): (WebCore::EventHandler::handleMouseReleaseEvent): (WebCore::EventHandler::startPanScrolling): (WebCore::EventHandler::handleMouseMoveEvent): * page/EventHandler.h: * page/Frame.cpp: (WebCore::Frame::Frame): (WebCore::Frame::willDetachPage): * page/Frame.h: * page/FrameView.cpp: (WebCore::FrameView::FrameView): (WebCore::FrameView::clear): (WebCore::FrameView::effectiveFrameFlattening const): (WebCore::FrameView::flushCompositingStateForThisFrame): (WebCore::FrameView::scrollPositionRespectingCustomFixedPosition const): (WebCore::FrameView::viewportConstrainedVisibleContentRect const): (WebCore::FrameView::updateContentsSize): (WebCore::FrameView::computeScrollability const): (WebCore::FrameView::adjustTiledBackingCoverage): (WebCore::FrameView::calculateExtendedBackgroundMode const): (WebCore::FrameView::performPostLayoutTasks): (WebCore::FrameView::sizeForResizeEvent const): (WebCore::FrameView::sendResizeEventIfNeeded): * page/FrameView.h: * page/FrameViewLayoutContext.cpp: (WebCore::FrameViewLayoutContext::layout): * page/MemoryRelease.cpp: (WebCore::releaseCriticalMemory): (WebCore::releaseMemory): * page/Navigator.cpp: * page/Navigator.h: * page/NavigatorBase.cpp: * page/Page.cpp: (WebCore::Page::setIsVisibleInternal): (WebCore::Page::showPlaybackTargetPicker): * page/Page.h: * page/PerformanceMonitor.cpp: (WebCore::PerformanceMonitor::measurePostLoadMemoryUsage): * page/ResourceUsageOverlay.cpp: (WebCore::ResourceUsageOverlay::initialize): * page/SecurityOrigin.cpp: (WebCore::SecurityOrigin::canDisplay const): * page/SettingsBase.cpp: * page/SettingsBase.h: * page/SettingsDefaultValues.h: (WebCore::editingBehaviorTypeForPlatform): * page/TextIndicator.cpp: (WebCore::TextIndicator::createWithRange): (WebCore::initializeIndicator): * page/ViewportConfiguration.cpp: (WebCore::ViewportConfiguration::textDocumentParameters): * page/cocoa/MemoryReleaseCocoa.mm: (WebCore::platformReleaseMemory): (WebCore::jettisonExpensiveObjectsOnTopLevelNavigation): * page/cocoa/ResourceUsageOverlayCocoa.mm: (WebCore::showText): * page/cocoa/ResourceUsageThreadCocoa.mm: (WebCore::vmPageSize): * page/cocoa/SettingsBaseCocoa.mm: * page/ios/EventHandlerIOS.mm: * page/ios/FrameIOS.mm: * page/mac/ChromeMac.mm: * page/mac/PageMac.mm: (WebCore::Page::platformInitialize): * page/mac/WebCoreFrameView.h: * page/scrolling/AsyncScrollingCoordinator.cpp: (WebCore::AsyncScrollingCoordinator::reconcileScrollingState): * page/scrolling/ScrollingTree.h: * page/scrolling/ScrollingTreeScrollingNode.h: * page/scrolling/ScrollingTreeScrollingNodeDelegate.cpp: * page/scrolling/ScrollingTreeScrollingNodeDelegate.h: * page/scrolling/ios/ScrollingCoordinatorIOS.h: * page/scrolling/ios/ScrollingCoordinatorIOS.mm: * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.h: * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm: * page/scrolling/ios/ScrollingTreeIOS.cpp: * page/scrolling/ios/ScrollingTreeIOS.h: * platform/ContentFilterUnblockHandler.h: * platform/Cursor.cpp: * platform/Cursor.h: * platform/DragImage.cpp: * platform/DragImage.h: * platform/FileChooser.cpp: * platform/FileChooser.h: * platform/HostWindow.h: * platform/LocalizedStrings.cpp: * platform/LocalizedStrings.h: * platform/LowPowerModeNotifier.cpp: * platform/LowPowerModeNotifier.h: * platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedImageMIMETypes): (WebCore::initializeSupportedNonImageMimeTypes): (WebCore::initializeUnsupportedTextMIMETypes): * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformKeyboardEvent.h: * platform/PlatformPasteboard.h: * platform/PlatformScreen.h: * platform/RemoteCommandListener.cpp: * platform/RuntimeApplicationChecks.h: * platform/ScrollAnimator.cpp: * platform/ScrollView.cpp: (WebCore::ScrollView::contentsScrollPosition const): (WebCore::ScrollView::setContentsScrollPosition): (WebCore::ScrollView::visibleContentRectInternal const): * platform/ScrollView.h: * platform/ScrollableArea.cpp: * platform/ScrollableArea.h: * platform/Scrollbar.cpp: * platform/Scrollbar.h: * platform/ThreadTimers.cpp: * platform/Timer.cpp: (WebCore::shouldSuppressThreadSafetyCheck): * platform/Timer.h: (WebCore::TimerBase::isActive const): * platform/ValidationBubble.h: * platform/Widget.h: * platform/audio/AudioHardwareListener.cpp: (WebCore::AudioHardwareListener::AudioHardwareListener): * platform/audio/PlatformMediaSession.h: * platform/audio/PlatformMediaSessionManager.h: * platform/audio/ios/AudioDestinationIOS.cpp: * platform/audio/ios/AudioDestinationIOS.h: * platform/audio/ios/AudioFileReaderIOS.cpp: * platform/audio/ios/AudioFileReaderIOS.h: * platform/audio/ios/AudioSessionIOS.mm: (WebCore::AudioSession::setCategory): (WebCore::AudioSession::routingContextUID const): * platform/audio/ios/MediaSessionManagerIOS.h: * platform/audio/ios/MediaSessionManagerIOS.mm: * platform/cf/MainThreadSharedTimerCF.cpp: (WebCore::setupPowerObserver): (WebCore::MainThreadSharedTimer::setFireInterval): * platform/cf/URLCF.cpp: * platform/cocoa/ContentFilterUnblockHandlerCocoa.mm: (WebCore::ContentFilterUnblockHandler::wrapWithDecisionHandler): (WebCore::ContentFilterUnblockHandler::needsUIProcess const): (WebCore::ContentFilterUnblockHandler::encode const): (WebCore::ContentFilterUnblockHandler::decode): (WebCore::ContentFilterUnblockHandler::canHandleRequest const): (WebCore::dispatchToMainThread): (WebCore::ContentFilterUnblockHandler::requestUnblockAsync const): * platform/cocoa/DataDetectorsCoreSoftLink.h: * platform/cocoa/DataDetectorsCoreSoftLink.mm: * platform/cocoa/KeyEventCocoa.mm: * platform/cocoa/LocalizedStringsCocoa.mm: (WebCore::localizedNSString): * platform/cocoa/NetworkExtensionContentFilter.mm: (WebCore::NetworkExtensionContentFilter::initialize): * platform/cocoa/ParentalControlsContentFilter.mm: (WebCore::ParentalControlsContentFilter::unblockHandler const): * platform/cocoa/PasteboardCocoa.mm: (WebCore::Pasteboard::fileContentState): * platform/cocoa/PlatformView.h: * platform/cocoa/PlaybackSessionInterface.h: * platform/cocoa/PlaybackSessionModel.h: * platform/cocoa/PlaybackSessionModelMediaElement.h: * platform/cocoa/PlaybackSessionModelMediaElement.mm: * platform/cocoa/RuntimeApplicationChecksCocoa.mm: * platform/cocoa/SystemVersion.mm: (WebCore::createSystemMarketingVersion): * platform/cocoa/VideoFullscreenChangeObserver.h: * platform/cocoa/VideoFullscreenModel.h: * platform/cocoa/VideoFullscreenModelVideoElement.h: * platform/cocoa/VideoFullscreenModelVideoElement.mm: * platform/gamepad/cocoa/GameControllerGamepad.h: * platform/gamepad/cocoa/GameControllerGamepad.mm: * platform/gamepad/cocoa/GameControllerGamepadProvider.h: * platform/gamepad/cocoa/GameControllerGamepadProvider.mm: * platform/graphics/BitmapImage.h: * platform/graphics/Color.h: * platform/graphics/ComplexTextController.cpp: * platform/graphics/DisplayRefreshMonitor.cpp: (WebCore::DisplayRefreshMonitor::createDefaultDisplayRefreshMonitor): * platform/graphics/FloatSize.h: * platform/graphics/Font.cpp: (WebCore::Font::Font): (WebCore::createAndFillGlyphPage): * platform/graphics/Font.h: * platform/graphics/FontCache.cpp: (WebCore::FontCache::getCachedFontPlatformData): (WebCore::FontCache::fontForPlatformData): (WebCore::FontCache::purgeInactiveFontData): (WebCore::FontCache::inactiveFontCount): * platform/graphics/FontCascade.cpp: (WebCore::FontCascade::FontCascade): * platform/graphics/FontCascadeFonts.h: * platform/graphics/FontDescription.h: * platform/graphics/FontPlatformData.h: (WebCore::FontPlatformData::isEmoji const): * platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::drawImage): * platform/graphics/GraphicsContext3D.h: * platform/graphics/GraphicsLayer.h: * platform/graphics/Icon.h: * platform/graphics/Image.cpp: (WebCore::Image::drawTiled): (WebCore::Image::computeIntrinsicDimensions): * platform/graphics/Image.h: * platform/graphics/IntPoint.h: * platform/graphics/IntRect.h: * platform/graphics/IntSize.h: * platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::isAvailable): (WebCore::MediaPlayer::volumeChanged): * platform/graphics/MediaPlayer.h: * platform/graphics/MediaPlayerPrivate.h: * platform/graphics/NamedImageGeneratedImage.cpp: (WebCore::NamedImageGeneratedImage::draw): * platform/graphics/StringTruncator.cpp: (WebCore::centerTruncateToBuffer): (WebCore::rightTruncateToBuffer): (WebCore::rightClipToWordBuffer): * platform/graphics/TextTrackRepresentation.cpp: * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: * platform/graphics/avfoundation/MediaPlaybackTargetMac.mm: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::supportsFullscreen const): (WebCore::MediaPlayerPrivateAVFoundation::rateChanged): * platform/graphics/avfoundation/WebMediaSessionManagerMac.cpp: * platform/graphics/avfoundation/WebMediaSessionManagerMac.h: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h: * platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm: (WebCore::CDMInstanceFairPlayStreamingAVFObjC::supportsPersistentKeys): * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm: * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.h: * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerLayer): (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): (WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenMode): (WebCore::MediaPlayerPrivateAVFoundationObjC::setVolume): (WebCore::MediaPlayerPrivateAVFoundationObjC::seekableTimeRangesLastModifiedTime const): (WebCore::MediaPlayerPrivateAVFoundationObjC::liveUpdateInterval const): (WebCore::MediaPlayerPrivateAVFoundationObjC::maximumDurationToCacheMediaTime const): (WebCore::MediaPlayerPrivateAVFoundationObjC::didPassCORSAccessCheck const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wouldTaintOrigin const): (WebCore::MediaPlayerPrivateAVFoundationObjC::isCurrentPlaybackTargetWireless const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessPlaybackTargetType const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessPlaybackTargetName const): (WebCore::MediaPlayerPrivateAVFoundationObjC::updateDisableExternalPlayback): (WebCore::MediaPlayerPrivateAVFoundationObjC::setShouldDisableSleep): * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm: (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::supportsPictureInPicture const): * platform/graphics/avfoundation/objc/OutOfBandTextTrackPrivateAVF.h: * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::flushCompositingState): (WebCore::GraphicsLayerCA::computeVisibleAndCoverageRect const): (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes): * platform/graphics/ca/GraphicsLayerCA.h: * platform/graphics/ca/PlatformCALayer.h: * platform/graphics/ca/TileController.cpp: (WebCore::TileController::~TileController): (WebCore::TileController::adjustTileCoverageRect const): * platform/graphics/ca/TileController.h: * platform/graphics/ca/TileGrid.cpp: (WebCore::TileGrid::startedNewCohort): (WebCore::TileGrid::platformCALayerPaintContents): * platform/graphics/ca/TileGrid.h: * platform/graphics/ca/cocoa/LayerFlushSchedulerMac.cpp: (WebCore::currentRunLoop): * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: (-[WebAnimationDelegate animationDidStart:]): (-[WebAnimationDelegate animationDidStop:finished:]): (WebCore::PlatformCALayerCocoa::setContentsScale): (WebCore::layerContentsFormat): (WebCore::PlatformCALayer::drawLayerContents): (WebCore::PlatformCALayerCocoa::backingStoreBytesPerPixel const): * platform/graphics/cg/GradientCG.cpp: (WebCore::Gradient::paint): * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::displayP3ColorSpaceRef): (WebCore::GraphicsContext::drawNativeImage): (WebCore::drawPatternCallback): (WebCore::GraphicsContext::drawPattern): (WebCore::GraphicsContext::drawLine): (WebCore::applyShadowOffsetWorkaroundIfNeeded): (WebCore::GraphicsContext::setURLForRect): * platform/graphics/cg/ImageBufferCG.cpp: (WebCore::jpegUTI): * platform/graphics/cg/ImageBufferDataCG.cpp: * platform/graphics/cg/ImageDecoderCG.cpp: (WebCore::ImageDecoderCG::createFrameImageAtIndex): * platform/graphics/cg/ImageSourceCGMac.mm: * platform/graphics/cg/PDFDocumentImage.cpp: * platform/graphics/cocoa/ColorCocoa.h: * platform/graphics/cocoa/ColorCocoa.mm: * platform/graphics/cocoa/FontCacheCoreText.cpp: (WebCore::FontCache::similarFont): (WebCore::computeNecessarySynthesis): (WebCore::FontDatabase::fontForPostScriptName): (WebCore::variationCapabilitiesForFontDescriptor): (WebCore::lookupFallbackFont): (WebCore::FontCache::systemFallbackForCharacters): (WebCore::FontCache::lastResortFallbackFont): * platform/graphics/cocoa/FontCascadeCocoa.mm: (WebCore::FontCascade::drawGlyphs): (WebCore::FontCascade::fontForCombiningCharacterSequence const): * platform/graphics/cocoa/FontCocoa.mm: (WebCore::Font::platformInit): (WebCore::Font::variantCapsSupportsCharacterForSynthesis const): (WebCore::Font::determinePitch): * platform/graphics/cocoa/FontDescriptionCocoa.cpp: (WebCore::FontCascadeDescription::effectiveFamilyCount const): (WebCore::FontCascadeDescription::effectiveFamilyAt const): * platform/graphics/cocoa/FontPlatformDataCocoa.mm: (WebCore::FontPlatformData::FontPlatformData): (WebCore::cascadeToLastResortAndVariationsFontDescriptor): * platform/graphics/cocoa/GraphicsContext3DCocoa.mm: (WebCore::GraphicsContext3D::GraphicsContext3D): (WebCore::GraphicsContext3D::texImageIOSurface2D): * platform/graphics/cocoa/GraphicsContextCocoa.mm: * platform/graphics/cocoa/IOSurface.mm: (WebCore::optionsForBiplanarSurface): (WebCore::optionsFor32BitSurface): (WebCore::IOSurface::maximumSize): (WebCore::IOSurface::surfaceID const): * platform/graphics/cocoa/SystemFontDatabaseCoreText.cpp: (WebCore::SystemFontDatabaseCoreText::cascadeList): * platform/graphics/cocoa/TextTrackRepresentationCocoa.h: * platform/graphics/cocoa/TextTrackRepresentationCocoa.mm: (-[WebCoreTextTrackRepresentationCocoaHelper observeValueForKeyPath:ofObject:change:context:]): * platform/graphics/cocoa/WebMetalLayer.h: * platform/graphics/cv/ImageTransferSessionVT.mm: (WebCore::cvPixelFormatOpenGLKey): (WebCore::ImageTransferSessionVT::ImageTransferSessionVT): * platform/graphics/cv/VideoTextureCopierCV.h: * platform/graphics/ios/DisplayRefreshMonitorIOS.h: * platform/graphics/ios/DisplayRefreshMonitorIOS.mm: * platform/graphics/ios/FontAntialiasingStateSaver.h: (WebCore::FontAntialiasingStateSaver::FontAntialiasingStateSaver): (WebCore::FontAntialiasingStateSaver::setup): (WebCore::FontAntialiasingStateSaver::restore): * platform/graphics/ios/FontCacheIOS.mm: * platform/graphics/ios/IconIOS.mm: * platform/graphics/mac/ComplexTextControllerCoreText.mm: (WebCore::ComplexTextController::collectComplexTextRunsForCharacters): * platform/graphics/mac/FloatPointMac.mm: * platform/graphics/mac/FloatRectMac.mm: * platform/graphics/mac/FloatSizeMac.mm: * platform/graphics/mac/FontCustomPlatformData.cpp: (WebCore::createFontCustomPlatformData): * platform/graphics/mac/ImageMac.mm: * platform/graphics/mac/IntPointMac.mm: * platform/graphics/mac/IntRectMac.mm: * platform/graphics/mac/IntSizeMac.mm: * platform/graphics/mac/WebKitNSImageExtras.h: * platform/graphics/mac/WebKitNSImageExtras.mm: * platform/graphics/mac/WebLayer.mm: (-[WebSimpleLayer display]): (-[WebSimpleLayer drawInContext:]): * platform/graphics/opengl/Extensions3DOpenGL.cpp: (WebCore::Extensions3DOpenGL::supportsExtension): * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp: * platform/graphics/transforms/TransformationMatrix.cpp: (WebCore::TransformationMatrix::multiply): * platform/graphics/transforms/TransformationMatrix.h: * platform/ios/CursorIOS.cpp: * platform/ios/Device.cpp: * platform/ios/Device.h: * platform/ios/DeviceMotionClientIOS.h: * platform/ios/DeviceMotionClientIOS.mm: (WebCore::DeviceMotionClientIOS::motionChanged): * platform/ios/DeviceOrientationClientIOS.h: * platform/ios/DeviceOrientationClientIOS.mm: (WebCore::DeviceOrientationClientIOS::orientationChanged): * platform/ios/DragImageIOS.mm: * platform/ios/EventLoopIOS.mm: * platform/ios/KeyEventIOS.mm: * platform/ios/LegacyTileCache.h: * platform/ios/LegacyTileCache.mm: * platform/ios/LegacyTileGrid.h: * platform/ios/LegacyTileGrid.mm: * platform/ios/LegacyTileGridTile.h: * platform/ios/LegacyTileGridTile.mm: * platform/ios/LegacyTileLayer.h: * platform/ios/LegacyTileLayer.mm: * platform/ios/LegacyTileLayerPool.h: * platform/ios/LegacyTileLayerPool.mm: * platform/ios/LowPowerModeNotifierIOS.mm: * platform/ios/PasteboardIOS.mm: * platform/ios/PlatformEventFactoryIOS.h: * platform/ios/PlatformEventFactoryIOS.mm: * platform/ios/PlatformPasteboardIOS.mm: * platform/ios/PlatformScreenIOS.mm: * platform/ios/PlatformSpeechSynthesizerIOS.mm: * platform/ios/PlaybackSessionInterfaceAVKit.h: * platform/ios/PlaybackSessionInterfaceAVKit.mm: * platform/ios/RemoteCommandListenerIOS.h: * platform/ios/RemoteCommandListenerIOS.mm: * platform/ios/SSLKeyGeneratorIOS.cpp: * platform/ios/ScrollAnimatorIOS.h: * platform/ios/ScrollAnimatorIOS.mm: * platform/ios/ScrollViewIOS.mm: (WebCore::ScrollView::platformSetContentsSize): * platform/ios/ScrollbarThemeIOS.h: * platform/ios/ScrollbarThemeIOS.mm: * platform/ios/SystemMemoryIOS.cpp: (WebCore::systemMemoryLevel): * platform/ios/ThemeIOS.h: * platform/ios/ThemeIOS.mm: * platform/ios/TileControllerMemoryHandlerIOS.cpp: * platform/ios/TileControllerMemoryHandlerIOS.h: * platform/ios/UserAgentIOS.mm: (WebCore::deviceNameForUserAgent): * platform/ios/ValidationBubbleIOS.mm: * platform/ios/VideoFullscreenInterfaceAVKit.h: * platform/ios/VideoFullscreenInterfaceAVKit.mm: (WebCore::supportsPictureInPicture): * platform/ios/WebAVPlayerController.h: * platform/ios/WebAVPlayerController.mm: * platform/ios/WebBackgroundTaskController.h: * platform/ios/WebBackgroundTaskController.mm: * platform/ios/WebCoreMotionManager.h: * platform/ios/WebCoreMotionManager.mm: * platform/ios/WebEvent.h: * platform/ios/WebEvent.mm: * platform/ios/WebSQLiteDatabaseTrackerClient.h: * platform/ios/WebSQLiteDatabaseTrackerClient.mm: * platform/ios/WebVideoFullscreenControllerAVKit.h: * platform/ios/WebVideoFullscreenControllerAVKit.mm: (VideoFullscreenControllerContext::requestUpdateInlineRect): (VideoFullscreenControllerContext::requestVideoContentLayer): (VideoFullscreenControllerContext::returnVideoContentLayer): (VideoFullscreenControllerContext::didSetupFullscreen): (VideoFullscreenControllerContext::didExitFullscreen): * platform/ios/WidgetIOS.mm: * platform/ios/wak/FloatingPointEnvironment.cpp: * platform/ios/wak/FloatingPointEnvironment.h: * platform/ios/wak/WAKAppKitStubs.m: * platform/ios/wak/WAKClipView.m: * platform/ios/wak/WAKResponder.m: * platform/ios/wak/WAKScrollView.mm: * platform/ios/wak/WAKView.mm: * platform/ios/wak/WAKWindow.mm: * platform/ios/wak/WKContentObservation.cpp: * platform/ios/wak/WKGraphics.mm: * platform/ios/wak/WKUtilities.c: * platform/ios/wak/WKView.mm: * platform/ios/wak/WebCoreThread.mm: * platform/ios/wak/WebCoreThreadRun.cpp: * platform/ios/wak/WebCoreThreadSystemInterface.cpp: * platform/mac/DragDataMac.mm: (WebCore::rtfPasteboardType): (WebCore::rtfdPasteboardType): (WebCore::stringPasteboardType): (WebCore::urlPasteboardType): (WebCore::htmlPasteboardType): (WebCore::colorPasteboardType): (WebCore::pdfPasteboardType): (WebCore::tiffPasteboardType): (WebCore::DragData::containsURL const): * platform/mac/MediaRemoteSoftLink.cpp: * platform/mac/MediaRemoteSoftLink.h: * platform/mac/SuddenTermination.mm: * platform/mac/WebCoreFullScreenPlaceholderView.mm: * platform/mac/WebCoreFullScreenWarningView.h: * platform/mac/WebCoreFullScreenWarningView.mm: * platform/mac/WebCoreFullScreenWindow.h: * platform/mac/WebCoreFullScreenWindow.mm: * platform/mac/WebNSAttributedStringExtras.mm: * platform/mediastream/RealtimeMediaSourceFactory.h: * platform/mediastream/RealtimeVideoSource.cpp: (WebCore::RealtimeVideoSource::~RealtimeVideoSource): (WebCore::RealtimeVideoSource::prepareToProduceData): * platform/mediastream/ios/AVAudioSessionCaptureDevice.h: * platform/mediastream/ios/AVAudioSessionCaptureDevice.mm: * platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.h: * platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm: * platform/mediastream/ios/CoreAudioCaptureSourceIOS.h: * platform/mediastream/ios/CoreAudioCaptureSourceIOS.mm: * platform/mediastream/libwebrtc/LibWebRTCMacros.h: * platform/mediastream/mac/AVCaptureDeviceManager.mm: (WebCore::deviceIsAvailable): * platform/mediastream/mac/AVMediaCaptureSource.mm: (WebCore::AVMediaCaptureSource::AVMediaCaptureSource): (WebCore::AVMediaCaptureSource::stopProducingData): (-[WebCoreAVMediaCaptureSourceObserver addNotificationObservers]): (-[WebCoreAVMediaCaptureSourceObserver removeNotificationObservers]): * platform/mediastream/mac/AVVideoCaptureSource.mm: (WebCore::AVVideoCaptureSource::AVVideoCaptureSource): (WebCore::AVVideoCaptureSource::~AVVideoCaptureSource): (WebCore::AVVideoCaptureSource::stopProducingData): (WebCore::AVVideoCaptureSource::prefersPreset): (WebCore::sensorOrientation): (WebCore::AVVideoCaptureSource::setupCaptureSession): (WebCore::AVVideoCaptureSource::monitorOrientation): (-[WebCoreAVVideoCaptureSourceObserver addNotificationObservers]): (-[WebCoreAVVideoCaptureSourceObserver removeNotificationObservers]): * platform/mediastream/mac/AudioTrackPrivateMediaStreamCocoa.cpp: (WebCore::AudioTrackPrivateMediaStreamCocoa::createAudioUnit): * platform/mediastream/mac/CoreAudioCaptureSource.cpp: (WebCore::CoreAudioSharedUnit::setupAudioUnit): (WebCore::CoreAudioCaptureSource::create): (WebCore::CoreAudioCaptureSource::CoreAudioCaptureSource): (WebCore::CoreAudioCaptureSource::~CoreAudioCaptureSource): (WebCore::CoreAudioCaptureSource::startProducingData): * platform/mediastream/mac/CoreAudioCaptureSource.h: * platform/mediastream/mac/DisplayCaptureSourceCocoa.cpp: (WebCore::DisplayCaptureSourceCocoa::~DisplayCaptureSourceCocoa): (WebCore::DisplayCaptureSourceCocoa::startProducingData): * platform/mediastream/mac/RealtimeIncomingVideoSourceCocoa.mm: (WebCore::RealtimeIncomingVideoSourceCocoa::pixelBufferPool): * platform/mediastream/mac/RealtimeMediaSourceCenterMac.cpp: * platform/mock/MediaPlaybackTargetMock.cpp: * platform/mock/MediaPlaybackTargetMock.h: * platform/mock/MediaPlaybackTargetPickerMock.cpp: * platform/mock/MediaPlaybackTargetPickerMock.h: * platform/mock/MockRealtimeAudioSource.cpp: (WebCore::MockRealtimeAudioSource::~MockRealtimeAudioSource): (WebCore::MockRealtimeAudioSource::startProducingData): * platform/mock/MockRealtimeMediaSourceCenter.cpp: * platform/mock/MockRealtimeVideoSource.cpp: * platform/network/CredentialStorage.cpp: * platform/network/NetworkStateNotifier.h: * platform/network/ResourceHandle.cpp: (WebCore::builtinResourceHandleConstructorMap): * platform/network/ResourceHandle.h: * platform/network/ResourceHandleClient.h: * platform/network/ResourceRequestBase.cpp: * platform/network/ResourceRequestBase.h: * platform/network/cf/DNSResolveQueueCFNet.cpp: * platform/network/cf/ProxyServerCFNet.cpp: * platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::ResourceHandle::createCFURLConnection): * platform/network/cf/ResourceRequest.h: (WebCore::ResourceRequest::resourcePrioritiesEnabled): * platform/network/cf/ResourceRequestCFNet.cpp: (WebCore::ResourceRequest::doUpdatePlatformRequest): (WebCore::ResourceRequest::doUpdateResourceRequest): * platform/network/cf/SocketStreamHandleImplCFNet.cpp: (WebCore::callbacksRunLoop): (WebCore::copyCONNECTProxyResponse): * platform/network/cocoa/CookieCocoa.mm: (WebCore::Cookie::operator NSHTTPCookie * _Nullable const): * platform/network/cocoa/NetworkStorageSessionCocoa.mm: (WebCore::cookiesForURL): (WebCore::setHTTPCookiesForURL): * platform/network/cocoa/ResourceRequestCocoa.mm: (WebCore::ResourceRequest::doUpdateResourceRequest): (WebCore::ResourceRequest::doUpdatePlatformRequest): * platform/network/ios/NetworkStateNotifierIOS.mm: * platform/network/ios/WebCoreURLResponseIOS.h: * platform/network/ios/WebCoreURLResponseIOS.mm: * platform/network/mac/ResourceErrorMac.mm: * platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::createNSURLConnection): (WebCore::ResourceHandle::start): (WebCore::ResourceHandle::platformLoadResourceSynchronously): (WebCore::ResourceHandle::didReceiveAuthenticationChallenge): * platform/network/mac/UTIUtilities.mm: * platform/sql/SQLiteDatabase.h: (WebCore::SQLiteDatabase::sqlite3Handle const): * platform/sql/SQLiteFileSystem.cpp: * platform/sql/SQLiteFileSystem.h: * platform/sql/SQLiteTransaction.cpp: (WebCore::SQLiteTransaction::begin): (WebCore::SQLiteTransaction::commit): (WebCore::SQLiteTransaction::rollback): (WebCore::SQLiteTransaction::stop): * platform/text/PlatformLocale.cpp: * platform/text/PlatformLocale.h: * platform/text/ios/LocalizedDateCache.h: * platform/text/ios/LocalizedDateCache.mm: * platform/text/ios/TextEncodingRegistryIOS.mm: * platform/text/mac/LocaleMac.h: * platform/text/mac/LocaleMac.mm: * plugins/PluginViewBase.h: * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paintPlatformDocumentMarker): (WebCore::InlineTextBox::resolveStyleForMarkedText): (WebCore::InlineTextBox::collectMarkedTextsForDocumentMarkers): * rendering/MarkedText.h: * rendering/RenderBlock.cpp: (WebCore::RenderBlock::paint): * rendering/RenderBox.cpp: (WebCore::RenderBox::paintBoxDecorations): (WebCore::allowMinMaxPercentagesInAutoHeightBlocksQuirk): * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::decodingModeForImageDraw const): * rendering/RenderButton.cpp: * rendering/RenderButton.h: * rendering/RenderElement.cpp: (WebCore::RenderElement::styleWillChange): (WebCore::RenderElement::styleDidChange): * rendering/RenderEmbeddedObject.cpp: (WebCore::RenderEmbeddedObject::allowsAcceleratedCompositing const): (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReason): (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReasonWithDescription): * rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::maxFilenameWidth const): (WebCore::RenderFileUploadControl::paintObject): * rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::positionFrames): * rendering/RenderIFrame.h: * rendering/RenderImage.cpp: (WebCore::RenderImage::paintAreaElementFocusRing): * rendering/RenderImage.h: * rendering/RenderInline.cpp: * rendering/RenderInline.h: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::RenderLayer): (WebCore::canCreateStackingContext): (WebCore::RenderLayer::canUseAcceleratedTouchScrolling const): (WebCore::RenderLayer::scrollTo): (WebCore::RenderLayer::scrollRectToVisible): (WebCore::RenderLayer::updateScrollInfoAfterLayout): (WebCore::RenderLayer::showsOverflowControls const): (WebCore::RenderLayer::calculateClipRects const): * rendering/RenderLayer.h: * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer): (WebCore::RenderLayerBacking::shouldClipCompositedBounds const): (WebCore::RenderLayerBacking::updateConfiguration): (WebCore::RenderLayerBacking::computeParentGraphicsLayerRect const): (WebCore::RenderLayerBacking::updateGeometry): (WebCore::RenderLayerBacking::paintsIntoWindow const): (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect): (WebCore::RenderLayerBacking::paintIntoLayer): * rendering/RenderLayerBacking.h: * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::visibleRectForLayerFlushing const): (WebCore::RenderLayerCompositor::flushPendingLayerChanges): (WebCore::RenderLayerCompositor::updateCustomLayersAfterFlush): (WebCore::RenderLayerCompositor::didFlushChangesForLayer): (WebCore::RenderLayerCompositor::computeCompositingRequirements): (WebCore::RenderLayerCompositor::setIsInWindow): (WebCore::RenderLayerCompositor::requiresCompositingForScrollableFrame const): (WebCore::RenderLayerCompositor::isAsyncScrollableStickyLayer const): (WebCore::RenderLayerCompositor::requiresCompositingForOverflowScrolling const): (WebCore::RenderLayerCompositor::contentsScaleMultiplierForNewTiles const): (WebCore::RenderLayerCompositor::ensureRootLayer): (WebCore::RenderLayerCompositor::computeStickyViewportConstraints const): (WebCore::RenderLayerCompositor::willRemoveScrollingLayerWithBacking): (WebCore::RenderLayerCompositor::didAddScrollingLayer): * rendering/RenderLayerCompositor.h: * rendering/RenderLayerModelObject.cpp: (WebCore::RenderLayerModelObject::shouldPlaceBlockDirectionScrollbarOnLeft const): * rendering/RenderLineBreak.cpp: * rendering/RenderLineBreak.h: * rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::RenderMenuList): (WebCore::RenderMenuList::willBeDestroyed): (WebCore::RenderMenuList::adjustInnerStyle): (RenderMenuList::updateFromElement): (RenderMenuList::setTextFromOption): (RenderMenuList::hidePopup): (RenderMenuList::popupDidHide): * rendering/RenderMenuList.h: * rendering/RenderObject.cpp: (WebCore::RenderObject::shouldApplyCompositedContainerScrollsForRepaint): (WebCore::RenderObject::destroy): * rendering/RenderObject.h: * rendering/RenderSearchField.cpp: (WebCore::RenderSearchField::itemText const): * rendering/RenderText.cpp: (WebCore::RenderText::setRenderedText): * rendering/RenderText.h: * rendering/RenderTextControl.cpp: * rendering/RenderTextControl.h: * rendering/RenderTextControlMultiLine.cpp: (WebCore::RenderTextControlMultiLine::getAverageCharWidth): * rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::layout): (WebCore::RenderTextControlSingleLine::getAverageCharWidth): (WebCore::RenderTextControlSingleLine::preferredContentLogicalWidth const): * rendering/RenderTextLineBoxes.cpp: (WebCore::lineDirectionPointFitsInBox): (WebCore::RenderTextLineBoxes::positionForPoint const): * rendering/RenderTheme.cpp: (WebCore::RenderTheme::paintBorderOnly): * rendering/RenderThemeIOS.h: * rendering/RenderThemeIOS.mm: (WebCore::arKitBundle): * rendering/RenderView.cpp: (WebCore::RenderView::availableLogicalHeight const): (WebCore::RenderView::clientLogicalWidthForFixedPosition const): (WebCore::RenderView::clientLogicalHeightForFixedPosition const): (WebCore::RenderView::repaintViewRectangle const): * rendering/RenderWidget.cpp: (WebCore::RenderWidget::willBeDestroyed): * rendering/RootInlineBox.cpp: (WebCore::RootInlineBox::selectionTop const): (WebCore::RootInlineBox::selectionBottom const): * rendering/style/RenderStyle.h: * rendering/style/StyleRareInheritedData.cpp: (WebCore::StyleRareInheritedData::StyleRareInheritedData): (WebCore::StyleRareInheritedData::operator== const): * rendering/style/StyleRareInheritedData.h: * rendering/updating/RenderTreeUpdater.cpp: (WebCore::RenderTreeUpdater::updateElementRenderer): * style/StyleResolveForDocument.cpp: (WebCore::Style::resolveForDocument): * testing/Internals.cpp: (WebCore::Internals::getCurrentCursorInfo): (WebCore::Internals::isSelectPopupVisible): (WebCore::Internals::setQuickLookPassword): * testing/Internals.mm: (WebCore::Internals::userPrefersReducedMotion const): * testing/js/WebCoreTestSupportPrefix.h: * workers/WorkerThread.cpp: (WebCore::WorkerThread::workerThread): Source/WebCore/PAL: * pal/cf/CoreMediaSoftLink.cpp: * pal/cf/CoreMediaSoftLink.h: * pal/ios/UIKitSoftLink.h: * pal/ios/UIKitSoftLink.mm: * pal/spi/cf/CFNetworkSPI.h: * pal/spi/cocoa/AVKitSPI.h: * pal/spi/cocoa/CFNSURLConnectionSPI.h: * pal/spi/cocoa/CoreTextSPI.h: * pal/spi/cocoa/DataDetectorsCoreSPI.h: * pal/spi/cocoa/IOSurfaceSPI.h: * pal/spi/cocoa/LaunchServicesSPI.h: * pal/spi/cocoa/NEFilterSourceSPI.h: * pal/spi/cocoa/NSAttributedStringSPI.h: * pal/spi/cocoa/NSKeyedArchiverSPI.h: * pal/spi/cocoa/PassKitSPI.h: * pal/spi/cocoa/QuartzCoreSPI.h: * pal/spi/ios/DataDetectorsUISPI.h: * pal/spi/ios/GraphicsServicesSPI.h: * pal/spi/ios/MediaPlayerSPI.h: * pal/spi/ios/MobileGestaltSPI.h: * pal/spi/mac/AVFoundationSPI.h: * pal/system/mac/ClockCM.mm: (ClockCM::ClockCM): Source/WebKit: * DerivedSources.make: * NetworkProcess/Downloads/cocoa/DownloadCocoa.mm: (WebKit::Download::resume): * NetworkProcess/NetworkActivityTracker.h: * NetworkProcess/NetworkProcess.h: * NetworkProcess/NetworkProcessCreationParameters.cpp: (WebKit::NetworkProcessCreationParameters::encode const): (WebKit::NetworkProcessCreationParameters::decode): * NetworkProcess/NetworkProcessCreationParameters.h: * NetworkProcess/cache/NetworkCacheFileSystem.cpp: (WebKit::NetworkCache::isSafeToUseMemoryMapForPath): * NetworkProcess/cocoa/NetworkDataTaskCocoa.mm: (WebKit::updateTaskWithFirstPartyForSameSiteCookies): * NetworkProcess/cocoa/NetworkProcessCocoa.mm: (WebKit::NetworkProcess::platformInitializeNetworkProcessCocoa): (WebKit::NetworkProcess::sourceApplicationAuditData const): (WebKit::NetworkProcess::platformSyncAllCookies): * NetworkProcess/cocoa/NetworkSessionCocoa.h: * NetworkProcess/cocoa/NetworkSessionCocoa.mm: (-[WKNetworkSessionDelegate URLSession:task:didFinishCollectingMetrics:]): (WebKit::NetworkSessionCocoa::NetworkSessionCocoa): * NetworkProcess/ios/NetworkProcessIOS.mm: * Platform/IPC/mac/ConnectionMac.mm: (IPC::ConnectionTerminationWatchdog::ConnectionTerminationWatchdog): (IPC::Connection::receiveSourceEventHandler): (IPC::AccessibilityProcessSuspendedNotification): * Platform/ios/AccessibilityIOS.mm: * Platform/mac/LayerHostingContext.mm: (WebKit::LayerHostingContext::createForExternalHostingProcess): * Platform/spi/Cocoa/DeviceIdentitySPI.h: * Platform/spi/ios/CelestialSPI.h: * Platform/spi/ios/FrontBoardServicesSPI.h: * PluginProcess/mac/PluginProcessShim.mm: * Shared/API/Cocoa/WKDataDetectorTypesInternal.h: * Shared/API/Cocoa/WebKit.m: * Shared/AssistedNodeInformation.cpp: * Shared/AssistedNodeInformation.h: * Shared/CacheModel.cpp: (WebKit::calculateURLCacheSizes): * Shared/ChildProcess.cpp: * Shared/Cocoa/APIObject.mm: (API::Object::newObject): * Shared/Cocoa/WebKit2InitializeCocoa.mm: (WebKit::runInitializationCode): * Shared/DrawingAreaInfo.h: * Shared/EditorState.cpp: (WebKit::EditorState::encode const): (WebKit::EditorState::decode): (WebKit::EditorState::PostLayoutData::encode const): (WebKit::EditorState::PostLayoutData::decode): (WebKit::operator<<): * Shared/EditorState.h: * Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.mm: (WebKit::XPCServiceInitializerDelegate::checkEntitlements): * Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm: (WebKit::XPCServiceMain): * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/PrintInfo.cpp: (WebKit::PrintInfo::encode const): (WebKit::PrintInfo::decode): * Shared/PrintInfo.h: * Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.h: * Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm: (WebKit::RemoteLayerTreePropertyApplier::applyProperties): * Shared/SessionState.cpp: (WebKit::FrameState::encode const): (WebKit::FrameState::decode): * Shared/SessionState.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebEvent.h: * Shared/WebEventConversion.cpp: (WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent): * Shared/WebKeyboardEvent.cpp: * Shared/WebPageCreationParameters.cpp: (WebKit::WebPageCreationParameters::encode const): (WebKit::WebPageCreationParameters::decode): * Shared/WebPageCreationParameters.h: * Shared/WebPlatformTouchPoint.cpp: * Shared/WebPreferences.yaml: * Shared/WebPreferencesDefaultValues.cpp: (defaultPassiveTouchListenersAsDefaultOnDocument): (defaultCustomPasteboardDataEnabled): * Shared/WebPreferencesDefaultValues.h: * Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode const): (WebKit::WebProcessCreationParameters::decode): * Shared/WebProcessCreationParameters.h: * Shared/WebTouchEvent.cpp: * Shared/cf/ArgumentCodersCF.cpp: (IPC::encode): (IPC::decode): * Shared/cf/ArgumentCodersCF.h: * Shared/ios/ChildProcessIOS.mm: * Shared/ios/InteractionInformationAtPosition.h: * Shared/ios/InteractionInformationAtPosition.mm: * Shared/ios/InteractionInformationRequest.cpp: * Shared/ios/InteractionInformationRequest.h: * Shared/ios/NativeWebKeyboardEventIOS.mm: * Shared/ios/NativeWebMouseEventIOS.mm: * Shared/ios/NativeWebTouchEventIOS.mm: * Shared/ios/WebIOSEventFactory.h: * Shared/ios/WebIOSEventFactory.mm: * Shared/ios/WebIconUtilities.h: * Shared/ios/WebIconUtilities.mm: * Shared/mac/ArgumentCodersMac.h: * Shared/mac/ArgumentCodersMac.mm: * Shared/mac/SandboxExtensionMac.mm: * Shared/mac/SecItemShim.cpp: (WebKit::initializeSecItemShim): * UIProcess/API/APIPageConfiguration.cpp: (API::PageConfiguration::copy const): * UIProcess/API/APIPageConfiguration.h: * UIProcess/API/APIProcessPoolConfiguration.cpp: (API::ProcessPoolConfiguration::copy): * UIProcess/API/APIProcessPoolConfiguration.h: * UIProcess/API/APIUIClient.h: * UIProcess/API/C/WKInspector.cpp: * UIProcess/API/C/WKPage.cpp: (WKPageSetIgnoresViewportScaleLimits): * UIProcess/API/C/mac/WKContextPrivateMac.mm: (WKContextIsPlugInUpdateAvailable): * UIProcess/API/Cocoa/APIAttachmentCocoa.mm: * UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm: (API::WebsiteDataStore::defaultApplicationCacheDirectory): (API::WebsiteDataStore::legacyDefaultApplicationCacheDirectory): (API::WebsiteDataStore::legacyDefaultJavaScriptConfigurationDirectory): * UIProcess/API/Cocoa/WKNavigationAction.mm: (-[WKNavigationAction description]): * UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.mm: * UIProcess/API/Cocoa/WKPreviewElementInfo.mm: * UIProcess/API/Cocoa/WKProcessGroup.mm: (IGNORE_WARNINGS_BEGIN): * UIProcess/API/Cocoa/WKProcessPool.mm: (-[WKProcessPool _pluginProcessCount]): * UIProcess/API/Cocoa/WKWebView.mm: (shouldRequireUserGestureToLoadVideo): (validate): (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _setUpSQLiteDatabaseTrackerClient]): (-[WKWebView dealloc]): (-[WKWebView allowsLinkPreview]): (-[WKWebView setAllowsLinkPreview:]): (-[WKWebView _countStringMatches:options:maxCount:]): (-[WKWebView _findString:options:maxCount:]): (-[WKWebView _hideFindUI]): (-[WKWebView _scrollPerformanceData]): (-[WKWebView _allowsMediaDocumentInlinePlayback]): (-[WKWebView _setAllowsMediaDocumentInlinePlayback:]): (-[WKWebView _contentsOfUserInterfaceItem:]): (-[WKWebView _internalDoAfterNextPresentationUpdate:withoutWaitingForPainting:withoutWaitingForAnimatedResize:]): (-[WKWebView _doAfterNextVisibleContentRectUpdate:]): * UIProcess/API/Cocoa/WKWebViewConfiguration.mm: (-[WKWebViewConfiguration init]): (-[WKWebViewConfiguration encodeWithCoder:]): (-[WKWebViewConfiguration initWithCoder:]): (-[WKWebViewConfiguration copyWithZone:]): (defaultApplicationNameForUserAgent): * UIProcess/API/Cocoa/WKWebViewConfigurationInternal.h: * UIProcess/API/Cocoa/WKWebViewInternal.h: * UIProcess/API/Cocoa/_WKActivatedElementInfo.mm: (-[_WKActivatedElementInfo _initWithType:URL:location:title:ID:rect:image:userInfo:]): * UIProcess/API/Cocoa/_WKActivatedElementInfoInternal.h: * UIProcess/API/Cocoa/_WKAttachment.mm: * UIProcess/API/Cocoa/_WKContextMenuElementInfo.mm: * UIProcess/API/Cocoa/_WKElementAction.mm: * UIProcess/API/Cocoa/_WKElementActionInternal.h: * UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm: * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.h: * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm: (-[WKPaymentAuthorizationViewControllerDelegate invalidate]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didAuthorizePayment:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectPaymentMethod:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectShippingMethod:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectShippingContact:handler:]): (WebKit::WebPaymentCoordinatorProxy::platformCanMakePaymentsWithActiveCard): (WebKit::toPKPaymentRequest): (WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentSession): (WebKit::WebPaymentCoordinatorProxy::platformCompleteShippingMethodSelection): (WebKit::WebPaymentCoordinatorProxy::platformCompleteShippingContactSelection): (WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentMethodSelection): * UIProcess/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm: * UIProcess/ApplicationStateTracker.h: * UIProcess/ApplicationStateTracker.mm: * UIProcess/Automation/cocoa/WebAutomationSessionCocoa.mm: * UIProcess/Automation/ios/WebAutomationSessionIOS.mm: * UIProcess/BackgroundProcessResponsivenessTimer.cpp: (WebKit::BackgroundProcessResponsivenessTimer::shouldBeActive const): * UIProcess/ChildProcessProxy.cpp: (WebKit::ChildProcessProxy::shutDownProcess): * UIProcess/Cocoa/DownloadClient.h: * UIProcess/Cocoa/DownloadClient.mm: (WebKit::DownloadClient::takeActivityToken): (WebKit::DownloadClient::releaseActivityTokenIfNecessary): * UIProcess/Cocoa/LayerRepresentation.h: * UIProcess/Cocoa/NavigationState.h: * UIProcess/Cocoa/NavigationState.mm: (WebKit::NavigationState::NavigationState): (WebKit::NavigationState::didChangeIsLoading): * UIProcess/Cocoa/PlaybackSessionManagerProxy.h: * UIProcess/Cocoa/PlaybackSessionManagerProxy.messages.in: * UIProcess/Cocoa/PlaybackSessionManagerProxy.mm: * UIProcess/Cocoa/UIDelegate.h: * UIProcess/Cocoa/UIDelegate.mm: (WebKit::UIDelegate::setDelegate): (WebKit::UIDelegate::UIClient::decidePolicyForUserMediaPermissionRequest): * UIProcess/Cocoa/VersionChecks.h: * UIProcess/Cocoa/VersionChecks.mm: (WebKit::linkedOnOrAfter): * UIProcess/Cocoa/VideoFullscreenManagerProxy.h: * UIProcess/Cocoa/VideoFullscreenManagerProxy.messages.in: * UIProcess/Cocoa/VideoFullscreenManagerProxy.mm: (WebKit::VideoFullscreenManagerProxy::setupFullscreenWithID): (WebKit::VideoFullscreenManagerProxy::exitFullscreen): (WebKit::VideoFullscreenManagerProxy::preparedToReturnToInline): (WebKit::VideoFullscreenManagerProxy::setVideoLayerFrame): * UIProcess/Cocoa/ViewGestureController.h: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet presentWithParameters:completionHandler:]): * UIProcess/Cocoa/WKWebViewContentProvider.h: * UIProcess/Cocoa/WKWebViewContentProviderRegistry.h: * UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/Cocoa/WebPasteboardProxyCocoa.mm: * UIProcess/Cocoa/WebProcessPoolCocoa.mm: (WebKit::WebProcessPool::platformResolvePathsForSandboxExtensions): (WebKit::WebProcessPool::platformInitializeWebProcess): (WebKit::WebProcessPool::platformInitializeNetworkProcess): (WebKit::WebProcessPool::registerNotificationObservers): (WebKit::WebProcessPool::unregisterNotificationObservers): * UIProcess/Gamepad/cocoa/UIGamepadProviderCocoa.mm: (WebKit::UIGamepadProvider::platformSetDefaultGamepadProvider): * UIProcess/Gamepad/ios/UIGamepadProviderIOS.mm: * UIProcess/Launcher/mac/ProcessLauncherMac.mm: (WebKit::shouldLeakBoost): (WebKit::systemDirectoryPath): (WebKit::ProcessLauncher::launchProcess): * UIProcess/Network/NetworkProcessProxy.cpp: (WebKit::NetworkProcessProxy::didFinishLaunching): * UIProcess/PageClient.h: * UIProcess/ProcessAssertion.cpp: * UIProcess/ProcessAssertion.h: * UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h: * UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm: (WebKit::RemoteLayerTreeDrawingAreaProxy::~RemoteLayerTreeDrawingAreaProxy): (WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTree): (WebKit::RemoteLayerTreeDrawingAreaProxy::indicatorLocation const): (WebKit::RemoteLayerTreeDrawingAreaProxy::updateDebugIndicator): (WebKit::RemoteLayerTreeDrawingAreaProxy::didRefreshDisplay): (WebKit::RemoteLayerTreeDrawingAreaProxy::waitForDidUpdateActivityState): * UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm: (WebKit::RemoteLayerTreeHost::clearLayers): (WebKit::RemoteLayerTreeHost::detachRootLayer): * UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp: (WebKit::RemoteScrollingCoordinatorProxy::scrollingTreeNodeDidScroll): * UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.h: * UIProcess/RemoteLayerTree/RemoteScrollingTree.cpp: (WebKit::RemoteScrollingTree::createScrollingTreeNode): * UIProcess/RemoteLayerTree/RemoteScrollingTree.h: * UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm: * UIProcess/RemoteLayerTree/ios/RemoteScrollingCoordinatorProxyIOS.mm: * UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.h: * UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.mm: * UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.h: * UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm: * UIProcess/ResourceLoadStatisticsPersistentStorage.cpp: * UIProcess/WKImagePreviewViewController.h: * UIProcess/WKImagePreviewViewController.mm: * UIProcess/WKInspectorHighlightView.h: * UIProcess/WKInspectorHighlightView.mm: * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: (WebKit::LocalAuthenticatorInternal::buildAuthData): (WebKit::LocalAuthenticator::makeCredential): (WebKit::LocalAuthenticator::continueMakeCredentialAfterUserConsented): (WebKit::LocalAuthenticator::continueMakeCredentialAfterAttested): (WebKit::LocalAuthenticator::getAssertion): (WebKit::LocalAuthenticator::continueGetAssertionAfterUserConsented): * UIProcess/WebAuthentication/Cocoa/LocalConnection.mm: (WebKit::LocalConnection::getUserConsent const): (WebKit::LocalConnection::getAttestation const): * UIProcess/WebAuthentication/Cocoa/LocalService.mm: (WebKit::LocalService::isAvailable): * UIProcess/WebFullScreenManagerProxy.cpp: (WebKit::WebFullScreenManagerProxy::supportsFullScreen): * UIProcess/WebGeolocationManagerProxy.cpp: * UIProcess/WebGeolocationManagerProxy.h: * UIProcess/WebInspectorProxy.cpp: * UIProcess/WebOpenPanelResultListenerProxy.cpp: * UIProcess/WebOpenPanelResultListenerProxy.h: * UIProcess/WebPageProxy.cpp: (WebKit::m_resetRecentCrashCountTimer): (WebKit::WebPageProxy::finishAttachingToWebProcess): (WebKit::WebPageProxy::initializeWebPage): (WebKit::WebPageProxy::close): (WebKit::WebPageProxy::viewDidLeaveWindow): (WebKit::WebPageProxy::updateThrottleState): (WebKit::WebPageProxy::waitForDidUpdateActivityState): (WebKit::WebPageProxy::didCommitLoadForFrame): (WebKit::WebPageProxy::exitFullscreenImmediately): (WebKit::WebPageProxy::runJavaScriptAlert): (WebKit::WebPageProxy::runJavaScriptConfirm): (WebKit::WebPageProxy::runJavaScriptPrompt): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::processDidTerminate): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::resetStateAfterProcessExited): (WebKit::WebPageProxy::creationParameters): (WebKit::WebPageProxy::requestGeolocationPermissionForFrame): (WebKit::WebPageProxy::hasActiveVideoForControlsManager const): (WebKit::WebPageProxy::requestControlledElementID const): (WebKit::WebPageProxy::isPlayingVideoInEnhancedFullscreen const): * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: (WebKit::WebProcessPool::ensureNetworkProcess): (WebKit::WebProcessPool::initializeNewWebProcess): (WebKit::WebProcessPool::updateProcessAssertions): (WebKit::WebProcessPool::reinstateNetworkProcessAssertionState): * UIProcess/WebProcessPool.h: * UIProcess/WebProcessProxy.cpp: (WebKit::isMainThreadOrCheckDisabled): (WebKit::WebProcessProxy::didFinishLaunching): (WebKit::WebProcessProxy::didSetAssertionState): * UIProcess/WebProcessProxy.h: * UIProcess/WebStorage/LocalStorageDatabaseTracker.cpp: (WebKit::LocalStorageDatabaseTracker::databasePath const): * UIProcess/WebStorage/LocalStorageDatabaseTracker.h: * UIProcess/WebStorage/ios/LocalStorageDatabaseTrackerIOS.mm: * UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm: * UIProcess/_WKWebViewPrintFormatter.mm: * UIProcess/_WKWebViewPrintFormatterInternal.h: * UIProcess/ios/DragDropInteractionState.h: * UIProcess/ios/DragDropInteractionState.mm: * UIProcess/ios/InputViewUpdateDeferrer.h: * UIProcess/ios/InputViewUpdateDeferrer.mm: * UIProcess/ios/LayerRepresentation.mm: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: * UIProcess/ios/ProcessAssertionIOS.mm: * UIProcess/ios/ResourceLoadStatisticsPersistentStorageIOS.mm: * UIProcess/ios/SmartMagnificationController.h: * UIProcess/ios/SmartMagnificationController.messages.in: * UIProcess/ios/SmartMagnificationController.mm: * UIProcess/ios/TextCheckerIOS.mm: * UIProcess/ios/ViewGestureControllerIOS.mm: * UIProcess/ios/WKActionSheet.h: * UIProcess/ios/WKActionSheet.mm: * UIProcess/ios/WKActionSheetAssistant.h: * UIProcess/ios/WKActionSheetAssistant.mm: * UIProcess/ios/WKApplicationStateTrackingView.h: * UIProcess/ios/WKApplicationStateTrackingView.mm: * UIProcess/ios/WKContentView.mm: * UIProcess/ios/WKContentViewInteraction.h: * UIProcess/ios/WKContentViewInteraction.mm: * UIProcess/ios/WKGeolocationProviderIOS.h: * UIProcess/ios/WKGeolocationProviderIOS.mm: * UIProcess/ios/WKGeolocationProviderIOSObjCSecurityOrigin.mm: * UIProcess/ios/WKInspectorNodeSearchGestureRecognizer.h: * UIProcess/ios/WKInspectorNodeSearchGestureRecognizer.mm: * UIProcess/ios/WKKeyboardScrollingAnimator.h: * UIProcess/ios/WKKeyboardScrollingAnimator.mm: * UIProcess/ios/WKPDFPageNumberIndicator.h: * UIProcess/ios/WKPDFPageNumberIndicator.mm: * UIProcess/ios/WKPasswordView.h: * UIProcess/ios/WKPasswordView.mm: * UIProcess/ios/WKScrollView.h: * UIProcess/ios/WKScrollView.mm: * UIProcess/ios/WKSyntheticClickTapGestureRecognizer.h: * UIProcess/ios/WKSyntheticClickTapGestureRecognizer.m: * UIProcess/ios/WKWebEvent.h: * UIProcess/ios/WKWebEvent.mm: * UIProcess/ios/WebDataListSuggestionsDropdownIOS.h: * UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm: * UIProcess/ios/WebPageProxyIOS.mm: * UIProcess/ios/WebProcessProxyIOS.mm: * UIProcess/ios/forms/WKAirPlayRoutePicker.h: * UIProcess/ios/forms/WKAirPlayRoutePicker.mm: * UIProcess/ios/forms/WKFileUploadPanel.h: * UIProcess/ios/forms/WKFileUploadPanel.mm: * UIProcess/ios/forms/WKFormColorControl.h: * UIProcess/ios/forms/WKFormColorControl.mm: * UIProcess/ios/forms/WKFormColorPicker.h: * UIProcess/ios/forms/WKFormColorPicker.mm: * UIProcess/ios/forms/WKFormInputControl.h: * UIProcess/ios/forms/WKFormInputControl.mm: * UIProcess/ios/forms/WKFormPopover.h: * UIProcess/ios/forms/WKFormPopover.mm: * UIProcess/ios/forms/WKFormSelectControl.h: * UIProcess/ios/forms/WKFormSelectControl.mm: * UIProcess/ios/forms/WKFormSelectPicker.h: * UIProcess/ios/forms/WKFormSelectPicker.mm: * UIProcess/ios/forms/WKFormSelectPopover.h: * UIProcess/ios/forms/WKFormSelectPopover.mm: * UIProcess/ios/fullscreen/FullscreenTouchSecheuristic.cpp: * UIProcess/ios/fullscreen/FullscreenTouchSecheuristic.h: * UIProcess/ios/fullscreen/WKFullScreenViewController.h: * UIProcess/ios/fullscreen/WKFullScreenViewController.mm: * UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.h: * UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm: * UIProcess/ios/fullscreen/WKFullscreenStackView.h: * UIProcess/ios/fullscreen/WKFullscreenStackView.mm: * UIProcess/mac/LegacySessionStateCoding.cpp: (WebKit::encodeFrameStateNode): (WebKit::decodeBackForwardTreeNode): * UIProcess/mac/PageClientImplMac.h: * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h: * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm: * UIProcess/mac/ViewSnapshotStore.mm: * UIProcess/mac/WKFullScreenWindowController.mm: * WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm: (WebContentServiceInitializer): * WebProcess/FullScreen/WebFullScreenManager.cpp: (WebKit::WebFullScreenManager::videoControlsManagerDidChange): (WebKit::WebFullScreenManager::willEnterFullScreen): (WebKit::WebFullScreenManager::didEnterFullScreen): (WebKit::WebFullScreenManager::willExitFullScreen): * WebProcess/Geolocation/WebGeolocationManager.cpp: * WebProcess/Geolocation/WebGeolocationManager.h: * WebProcess/Geolocation/WebGeolocationManager.messages.in: * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm: * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: * WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm: * WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm: * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm: (-[WKWebProcessPlugInBrowserContextController _setEditingDelegate:]): * WebProcess/WebCoreSupport/SessionStateConversion.cpp: (WebKit::toFrameState): (WebKit::applyFrameState): * WebProcess/WebCoreSupport/WebAlternativeTextClient.h: * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::windowRect): (WebKit::WebChromeClient::enterVideoFullscreenForVideoElement): * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebEditorClient.h: * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidLayout): (WebKit::WebFrameLoaderClient::saveViewStateToItem): (WebKit::WebFrameLoaderClient::restoreViewState): (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage): (WebKit::WebFrameLoaderClient::objectContentType): * WebProcess/WebCoreSupport/WebFrameLoaderClient.h: * WebProcess/WebCoreSupport/WebInspectorClient.cpp: (WebKit::WebInspectorClient::highlight): (WebKit::WebInspectorClient::hideHighlight): * WebProcess/WebCoreSupport/WebInspectorClient.h: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/ios/WebChromeClientIOS.mm: * WebProcess/WebCoreSupport/ios/WebEditorClientIOS.mm: * WebProcess/WebCoreSupport/ios/WebFrameLoaderClientIOS.mm: * WebProcess/WebCoreSupport/mac/WebDragClientMac.mm: * WebProcess/WebPage/DrawingArea.cpp: (WebKit::DrawingArea::create): * WebProcess/WebPage/DrawingArea.h: * WebProcess/WebPage/FindController.cpp: (WebKit::FindController::findString): * WebProcess/WebPage/FindController.h: * WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteCustom.mm: (WebKit::PlatformCALayerRemoteCustom::PlatformCALayerRemoteCustom): * WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.h: * WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm: (WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea): (WebKit::RemoteLayerTreeDrawingArea::updateScrolledExposedRect): * WebProcess/WebPage/ViewGestureGeometryCollector.cpp: (WebKit::ViewGestureGeometryCollector::dispatchDidCollectGeometryForSmartMagnificationGesture): (WebKit::ViewGestureGeometryCollector::collectGeometryForSmartMagnificationGesture): (WebKit::ViewGestureGeometryCollector::mainFrameDidLayout): * WebProcess/WebPage/ViewGestureGeometryCollector.h: * WebProcess/WebPage/ViewGestureGeometryCollector.messages.in: * WebProcess/WebPage/ViewUpdateDispatcher.cpp: * WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.h: * WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.mm: * WebProcess/WebPage/WebFrame.h: * WebProcess/WebPage/WebOpenPanelResultListener.cpp: * WebProcess/WebPage/WebOpenPanelResultListener.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::m_cpuLimit): (WebKit::WebPage::~WebPage): (WebKit::WebPage::scalePage): (WebKit::WebPage::setUseFixedLayout): (WebKit::WebPage::disabledAdaptationsDidChange): (WebKit::WebPage::viewportPropertiesDidChange): (WebKit::WebPage::pageDidScroll): (WebKit::WebPage::mouseEvent): (WebKit::WebPage::updatePreferences): (WebKit::WebPage::willCommitLayerTree): (WebKit::WebPage::didFlushLayerTreeAtTime): (WebKit::WebPage::mainFrameDidLayout): (WebKit::WebPage::resetAssistedNodeForFrame): (WebKit::WebPage::elementDidFocus): (WebKit::WebPage::elementDidBlur): (WebKit::WebPage::willReplaceMultipartContent): (WebKit::WebPage::didReplaceMultipartContent): (WebKit::WebPage::didCommitLoad): * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: * WebProcess/WebPage/ios/FindControllerIOS.mm: * WebProcess/WebPage/ios/WebPageIOS.mm: * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h: * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: (WebKit::TiledCoreAnimationDrawingArea::updateScrolledExposedRect): * WebProcess/WebPage/mac/WebPageMac.mm: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::WebProcess): (WebKit::WebProcess::initializeConnection): (WebKit::WebProcess::initializeWebProcess): (WebKit::WebProcess::actualPrepareToSuspend): (WebKit::WebProcess::cancelPrepareToSuspend): (WebKit::WebProcess::processDidResume): * WebProcess/WebProcess.h: * WebProcess/cocoa/PlaybackSessionManager.h: * WebProcess/cocoa/PlaybackSessionManager.messages.in: * WebProcess/cocoa/PlaybackSessionManager.mm: * WebProcess/cocoa/VideoFullscreenManager.h: * WebProcess/cocoa/VideoFullscreenManager.messages.in: * WebProcess/cocoa/VideoFullscreenManager.mm: (WebKit::VideoFullscreenManager::supportsVideoFullscreen const): (WebKit::VideoFullscreenManager::supportsVideoFullscreenStandby const): (WebKit::VideoFullscreenManager::didSetupFullscreen): (WebKit::VideoFullscreenManager::didExitFullscreen): * WebProcess/cocoa/WebProcessCocoa.mm: (WebKit::WebProcess::platformInitializeWebProcess): (WebKit::WebProcess::initializeProcessName): (WebKit::registerWithAccessibility): (WebKit::WebProcess::sourceApplicationAuditData const): (WebKit::WebProcess::initializeSandbox): * WebProcess/mac/SecItemShimLibrary.mm: * config.h: Source/WebKitLegacy: * Storage/StorageTracker.cpp: (WebKit::StorageTracker::syncDeleteAllOrigins): (WebKit::StorageTracker::syncDeleteOrigin): * WebCoreSupport/WebResourceLoadScheduler.cpp: (WebResourceLoadScheduler::loadResource): (WebResourceLoadScheduler::scheduleLoad): (WebResourceLoadScheduler::remove): (WebResourceLoadScheduler::servePendingRequests): Source/WebKitLegacy/ios: * DefaultDelegates/WebDefaultFormDelegate.m: * DefaultDelegates/WebDefaultFrameLoadDelegate.m: * DefaultDelegates/WebDefaultResourceLoadDelegate.m: * DefaultDelegates/WebDefaultUIKitDelegate.m: * Misc/MemoryMeasure.mm: * Misc/WebGeolocationCoreLocationProvider.mm: * Misc/WebGeolocationProviderIOS.mm: * Misc/WebNSStringExtrasIOS.m: * Misc/WebUIKitSupport.mm: (WebKitPlatformSystemRootDirectory): * WebCoreSupport/PopupMenuIOS.mm: * WebCoreSupport/SearchPopupMenuIOS.cpp: * WebCoreSupport/WebChromeClientIOS.h: * WebCoreSupport/WebChromeClientIOS.mm: * WebCoreSupport/WebFixedPositionContent.mm: * WebCoreSupport/WebFrameIOS.mm: * WebCoreSupport/WebGeolocation.mm: * WebCoreSupport/WebInspectorClientIOS.mm: * WebCoreSupport/WebMIMETypeRegistry.mm: * WebCoreSupport/WebSelectionRect.m: * WebCoreSupport/WebVisiblePosition.mm: * WebView/WebFrameViewWAKCompatibility.m: * WebView/WebPDFViewIOS.mm: * WebView/WebPDFViewPlaceholder.mm: * WebView/WebPlainWhiteView.h: * WebView/WebPlainWhiteView.mm: Source/WebKitLegacy/mac: * DOM/DOM.mm: (-[DOMNode boundingBox]): * DOM/DOMElement.mm: * DOM/DOMHTML.mm: * DOM/DOMInternal.mm: * DOM/DOMUIKitExtensions.mm: * DOM/WebDOMOperations.mm: * DefaultDelegates/WebDefaultContextMenuDelegate.mm: * DefaultDelegates/WebDefaultEditingDelegate.m: * DefaultDelegates/WebDefaultPolicyDelegate.m: (-[WebDefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): * DefaultDelegates/WebDefaultUIDelegate.h: * DefaultDelegates/WebDefaultUIDelegate.mm: (-[WebDefaultUIDelegate webViewClose:]): (-[WebDefaultUIDelegate webViewFocus:]): (-[WebDefaultUIDelegate webViewUnfocus:]): (-[WebDefaultUIDelegate webViewIsResizable:]): (-[WebDefaultUIDelegate webView:setResizable:]): (-[WebDefaultUIDelegate webView:setFrame:]): (-[WebDefaultUIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]): * History/BackForwardList.h: * History/BackForwardList.mm: * History/WebBackForwardList.mm: (+[WebBackForwardList initialize]): (bumperCarBackForwardHackNeeded): * History/WebHistory.mm: (-[WebHistoryPrivate addItem:discardDuplicate:]): (-[WebHistory _sendNotification:entries:]): (-[WebHistory loadFromURL:error:]): (-[WebHistory saveToURL:error:]): * History/WebHistoryItem.mm: (WKNotifyHistoryItemChanged): (+[WebHistoryItem initialize]): (-[WebHistoryItem initFromDictionaryRepresentation:]): * History/WebURLsWithTitles.m: * Misc/WebCache.mm: (+[WebCache initialize]): * Misc/WebDownload.mm: (-[WebDownloadInternal download:didReceiveAuthenticationChallenge:]): * Misc/WebElementDictionary.mm: (+[WebElementDictionary initialize]): (+[WebElementDictionary initializeLookupTable]): * Misc/WebIconDatabase.mm: * Misc/WebKitNSStringExtras.mm: (+[NSString _webkit_localCacheDirectoryWithBundleIdentifier:]): * Misc/WebKitVersionChecks.h: * Misc/WebKitVersionChecks.mm: (WebKitLinkedOnOrAfter): (WebKitLinkTimeVersion): * Misc/WebLocalizableStrings.mm: * Misc/WebNSControlExtras.h: * Misc/WebNSControlExtras.m: * Misc/WebNSEventExtras.m: * Misc/WebNSFileManagerExtras.mm: * Misc/WebNSImageExtras.h: * Misc/WebNSImageExtras.m: * Misc/WebNSPasteboardExtras.mm: * Misc/WebNSPrintOperationExtras.h: * Misc/WebNSPrintOperationExtras.m: * Misc/WebNSViewExtras.m: * Misc/WebNSWindowExtras.m: * Panels/WebAuthenticationPanel.h: * Panels/WebAuthenticationPanel.m: * Panels/WebPanelAuthenticationHandler.m: * Plugins/Hosted/WebHostedNetscapePluginView.mm: (+[WebHostedNetscapePluginView initialize]): * Plugins/WebBasePluginPackage.h: * Plugins/WebBasePluginPackage.mm: * Plugins/WebJavaPlugIn.h: * Plugins/WebPluginContainerCheck.mm: * Plugins/WebPluginController.h: * Plugins/WebPluginController.mm: (-[WebPluginController plugInViewWithArguments:fromPluginPackage:]): (-[WebPluginController addPlugin:]): (-[WebPluginController destroyPlugin:]): (-[WebPluginController destroyAllPlugins]): * Plugins/WebPluginDatabase.mm: (+[WebPluginDatabase _defaultPlugInPaths]): * Plugins/WebPluginPackage.mm: (-[WebPluginPackage initWithPath:]): * Storage/WebDatabaseManager.mm: (-[WebDatabaseManager deleteAllDatabases]): * Storage/WebDatabaseManagerClient.h: * Storage/WebDatabaseManagerClient.mm: (WebDatabaseManagerClient::WebDatabaseManagerClient): (WebDatabaseManagerClient::~WebDatabaseManagerClient): * Storage/WebStorageManager.mm: (-[WebStorageManager deleteAllOrigins]): (WebKitInitializeStorageIfNecessary): * WebCoreSupport/WebAlternativeTextClient.h: * WebCoreSupport/WebApplicationCache.mm: (applicationCacheBundleIdentifier): * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::setWindowRect): (WebChromeClient::windowRect): (WebChromeClient::takeFocus): (WebChromeClient::addMessageToConsole): (WebChromeClient::enableSuddenTermination): (WebChromeClient::disableSuddenTermination): (WebChromeClient::createPopupMenu const): (WebChromeClient::createSearchPopupMenu const): (WebChromeClient::shouldPaintEntireContents const): (WebChromeClient::supportsVideoFullscreen): (WebChromeClient::supportsFullScreenForElement): (WebChromeClient::enterFullScreenForElement): (WebChromeClient::exitFullScreenForElement): * WebCoreSupport/WebContextMenuClient.mm: * WebCoreSupport/WebDragClient.mm: * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebEditorClient.mm: (+[WebUndoStep initialize]): (updateFontPanel): (WebEditorClient::didBeginEditing): (WebEditorClient::respondToChangedContents): (WebEditorClient::respondToChangedSelection): (WebEditorClient::canceledComposition): (WebEditorClient::didEndEditing): (WebEditorClient::didWriteSelectionToPasteboard): (attributesForAttributedStringConversion): (WebEditorClient::setInsertionPasteboard): (WebEditorClient::registerUndoOrRedoStep): (WebEditorClient::handleKeyboardEvent): (WebEditorClient::handleInputMethodKeydown): (WebEditorClient::textDidChangeInTextField): (WebEditorClient::requestCheckingOfString): * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::detachedFromParent2): (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache): (WebFrameLoaderClient::assignIdentifierToInitialRequest): (WebFrameLoaderClient::dispatchWillSendRequest): (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): (WebFrameLoaderClient::dispatchDidReceiveResponse): (WebFrameLoaderClient::willCacheResponse const): (WebFrameLoaderClient::dispatchDidReceiveContentLength): (WebFrameLoaderClient::dispatchDidFinishLoading): (WebFrameLoaderClient::dispatchDidFailLoading): (WebFrameLoaderClient::dispatchDidChangeLocationWithinPage): (WebFrameLoaderClient::dispatchWillClose): (WebFrameLoaderClient::dispatchDidStartProvisionalLoad): (WebFrameLoaderClient::dispatchDidCommitLoad): (WebFrameLoaderClient::dispatchDidFailProvisionalLoad): (WebFrameLoaderClient::dispatchDidFailLoad): (WebFrameLoaderClient::dispatchDidFinishDocumentLoad): (WebFrameLoaderClient::dispatchDidFinishLoad): (WebFrameLoaderClient::dispatchDidReachLayoutMilestone): (WebFrameLoaderClient::willChangeTitle): (WebFrameLoaderClient::didChangeTitle): (WebFrameLoaderClient::didReplaceMultipartContent): (WebFrameLoaderClient::updateGlobalHistory): (WebFrameLoaderClient::saveViewStateToItem): (WebFrameLoaderClient::restoreViewState): (WebFrameLoaderClient::provisionalLoadStarted): (WebFrameLoaderClient::prepareForDataSourceReplacement): (WebFrameLoaderClient::setTitle): (WebFrameLoaderClient::savePlatformDataToCachedFrame): (WebFrameLoaderClient::transitionToCommittedFromCachedFrame): (WebFrameLoaderClient::transitionToCommittedForNewPage): (WebFrameLoaderClient::didRestoreFromPageCache): (WebFrameLoaderClient::actionDictionary const): (WebFrameLoaderClient::createPlugin): (WebFrameLoaderClient::getLoadDecisionForIcons): (WebFrameLoaderClient::finishedLoadingIcon): (+[WebFramePolicyListener initialize]): * WebCoreSupport/WebFrameNetworkingContext.mm: * WebCoreSupport/WebGeolocationClient.h: * WebCoreSupport/WebGeolocationClient.mm: (WebGeolocationClient::requestPermission): * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebJavaScriptTextInputPanel.m: * WebCoreSupport/WebNotificationClient.mm: * WebCoreSupport/WebOpenPanelResultListener.mm: * WebCoreSupport/WebPlatformStrategies.h: * WebCoreSupport/WebPlatformStrategies.mm: * WebCoreSupport/WebProgressTrackerClient.h: * WebCoreSupport/WebProgressTrackerClient.mm: (WebProgressTrackerClient::progressStarted): (WebProgressTrackerClient::progressEstimateChanged): (WebProgressTrackerClient::progressFinished): * WebCoreSupport/WebSecurityOrigin.mm: * WebInspector/WebNodeHighlight.h: * WebInspector/WebNodeHighlight.mm: (-[WebNodeHighlight initWithTargetView:inspectorController:]): (-[WebNodeHighlight dealloc]): (-[WebNodeHighlight attach]): * WebInspector/WebNodeHighlightView.h: * WebInspector/WebNodeHighlightView.mm: (-[WebNodeHighlightView initWithWebNodeHighlight:]): (-[WebNodeHighlightView dealloc]): * WebInspector/WebNodeHighlighter.mm: (-[WebNodeHighlighter highlight]): * WebView/WebArchive.mm: (+[WebArchivePrivate initialize]): * WebView/WebClipView.h: * WebView/WebDataSource.mm: (WebDataSourcePrivate::WebDataSourcePrivate): (+[WebDataSource initialize]): (+[WebDataSource _repTypesAllowImageTypeOmission:]): (-[WebDataSource _makeRepresentation]): * WebView/WebDelegateImplementationCaching.h: * WebView/WebDelegateImplementationCaching.mm: (CallDelegate): (CallDelegateReturningFloat): (CallDelegateReturningBoolean): (CallUIDelegate): (CallUIDelegateReturningFloat): (CallUIDelegateReturningBoolean): (CallFrameLoadDelegate): (CallFrameLoadDelegateReturningBoolean): (CallResourceLoadDelegate): (CallScriptDebugDelegate): (CallFormDelegate): (CallFormDelegateReturningBoolean): * WebView/WebDeviceOrientation.mm: (-[WebDeviceOrientation initWithCanProvideAlpha:alpha:canProvideBeta:beta:canProvideGamma:gamma:]): * WebView/WebDocumentInternal.h: * WebView/WebDocumentLoaderMac.mm: (needsDataLoadWorkaround): * WebView/WebDynamicScrollBarsViewInternal.h: * WebView/WebFormDelegate.m: * WebView/WebFrame.mm: (-[WebFrame _updateBackgroundAndUpdatesWhileOffscreen]): (-[WebFrame _unmarkAllMisspellings]): (-[WebFrame _paintBehaviorForDestinationContext:]): (-[WebFrame _drawRect:contentsOnly:]): (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]): (-[WebFrame _scrollDOMRangeToVisible:]): (-[WebFrame _bodyBackgroundColor]): (-[WebFrame accessibilityRoot]): (needsMicrosoftMessengerDOMDocumentWorkaround): * WebView/WebFrameInternal.h: * WebView/WebFrameView.mm: (-[WebFrameView _setDocumentView:]): (+[WebFrameView _viewTypesAllowImageTypeOmission:]): (-[WebFrameView _viewClassForMIMEType:]): (-[WebFrameView initWithFrame:]): (-[WebFrameView drawRect:]): (-[WebFrameView _firstResponderIsFormControl]): (-[WebFrameView keyDown:keyDown:]): (-[WebFrameView _isScrollable]): * WebView/WebFullScreenController.h: * WebView/WebFullScreenController.mm: * WebView/WebHTMLRepresentation.mm: * WebView/WebHTMLView.mm: (-[WebHTMLView hitTest:]): (-[WebHTMLView initWithFrame:]): (-[WebHTMLView dealloc]): (-[WebHTMLView addSubview:]): (-[WebHTMLView mouseDown:]): (-[WebHTMLView mouseUp:]): (-[WebHTMLView resignFirstResponder]): (-[WebHTMLView accessibilityHitTest:]): (-[WebHTMLView selectionImageForcingBlackText:selectionImageForcingBlackText:]): * WebView/WebHTMLViewInternal.h: * WebView/WebIndicateLayer.h: * WebView/WebIndicateLayer.mm: * WebView/WebMediaPlaybackTargetPicker.h: * WebView/WebMediaPlaybackTargetPicker.mm: * WebView/WebPDFDocumentExtras.h: * WebView/WebPDFDocumentExtras.mm: * WebView/WebPDFRepresentation.h: * WebView/WebPDFRepresentation.mm: * WebView/WebPDFView.h: * WebView/WebPreferences.mm: (cacheModelForMainBundle): (WebPreferencesPrivate::WebPreferencesPrivate): (-[WebPreferences initWithIdentifier:sendChangeNotification:initWithIdentifier:]): (-[WebPreferences encodeWithCoder:]): (+[WebPreferences standardPreferences]): (+[WebPreferences initialize]): (-[WebPreferences _valueForKey:]): (-[WebPreferences _setStringValue:forKey:]): (-[WebPreferences _setIntegerValue:forKey:]): (-[WebPreferences _setUnsignedIntValue:forKey:]): (-[WebPreferences _setFloatValue:forKey:]): (-[WebPreferences _setBoolValue:forKey:]): (-[WebPreferences _setLongLongValue:forKey:]): (-[WebPreferences _setUnsignedLongLongValue:forKey:]): (-[WebPreferences _postCacheModelChangedNotification]): (-[WebPreferences _postPreferencesChangedNotification]): (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): (-[WebPreferences setStorageBlockingPolicy:]): * WebView/WebResource.mm: (+[WebResourcePrivate initialize]): * WebView/WebTextCompletionController.h: * WebView/WebTextIterator.mm: (+[WebTextIteratorPrivate initialize]): * WebView/WebView.mm: (shouldEnableLoadDeferring): (shouldRestrictWindowFocus): (shouldRespectPriorityInCSSAttributeSetters): (shouldUseLegacyBackgroundSizeShorthandBehavior): (shouldAllowPictureInPictureMediaPlayback): (shouldAllowContentSecurityPolicySourceStarToMatchAnyProtocol): (shouldAllowWindowOpenWithoutUserGesture): (shouldConvertInvalidURLsToBlank): (shouldRequireUserGestureToLoadVideo): (-[WebView _commonInitializationWithFrameName:groupName:]): (+[WebView _viewClass:andRepresentationClass:forMIMEType:allowingPlugins:]): (-[WebView _viewClass:andRepresentationClass:forMIMEType:]): (-[WebView _closePluginDatabases]): (-[WebView _closeWithFastTeardown]): (-[WebView _close]): (+[WebView _MIMETypeForFile:]): (-[WebView setShowingInspectorIndication:]): (-[WebView _setFormDelegate:]): (-[WebView _needsPreHTML5ParserQuirks]): (-[WebView _preferencesChangedNotification:]): (-[WebView _preferencesChanged:]): (-[WebView _cacheResourceLoadDelegateImplementations]): (-[WebView _cacheFrameLoadDelegateImplementations]): (-[WebView _policyDelegateForwarder]): (-[WebView _UIDelegateForwarder]): (-[WebView _editingDelegateForwarder]): (-[WebView _updateActiveState]): (-[_WebSafeForwarder forwardInvocation:]): (+[WebView initialize]): (-[WebView _pluginForMIMEType:]): (-[WebView _pluginForExtension:]): (-[WebView _isMIMETypeRegisteredAsPlugin:]): (+[WebView canShowMIMETypeAsHTML:]): (-[WebView _initWithArguments:]): (-[WebView initWithFrame:frameName:groupName:]): (-[WebView dealloc]): (-[WebView close]): (-[WebView viewDidMoveToWindow]): (-[WebView setUIDelegate:]): (-[WebView setResourceLoadDelegate:]): (-[WebView setPolicyDelegate:]): (-[WebView setFrameLoadDelegate:]): (-[WebView goBack]): (-[WebView goForward]): (-[WebView stringByEvaluatingJavaScriptFromString:]): (-[WebView setHostWindow:]): (-[WebView becomeFirstResponder]): (+[WebView _cacheModelChangedNotification:]): (-[WebView _frameViewAtWindowPoint:]): (+[WebView _preflightSpellCheckerNow:]): (+[WebView _preflightSpellChecker]): (-[WebView canGoBack]): (-[WebView canGoForward]): (-[WebView stopLoading:]): (-[WebView reload:]): (-[WebView setMainFrameDocumentReady:]): (-[WebView _shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): (-[WebView setContinuousSpellCheckingEnabled:]): (-[WebView undoManager]): (-[WebView isAutomaticQuoteSubstitutionEnabled]): (-[WebView isAutomaticLinkDetectionEnabled]): (-[WebView isAutomaticDashSubstitutionEnabled]): (-[WebView isAutomaticTextReplacementEnabled]): (-[WebView isAutomaticSpellingCorrectionEnabled]): (+[WebView _setCacheModel:]): (-[WebView _retrieveKeyboardUIModeFromPreferences:]): (-[WebView _keyboardUIMode]): (LayerFlushController::flushLayers): (-[WebView _scheduleCompositingLayerFlush]): (-[WebView _enterVideoFullscreenForVideoElement:mode:]): (-[WebView fullScreenPlaceholderView]): (WebInstallMemoryPressureHandler): * WebView/WebViewData.h: * WebView/WebViewData.mm: (+[WebViewPrivate initialize]): (-[WebViewPrivate init]): (-[WebViewPrivate dealloc]): * WebView/WebViewInternal.h: Source/WTF: * wtf/Assertions.h: * wtf/FeatureDefines.h: * wtf/InlineASM.h: * wtf/MemoryPressureHandler.cpp: (WTF::thresholdForPolicy): * wtf/Platform.h: * wtf/cocoa/MemoryPressureHandlerCocoa.mm: (WTF::MemoryPressureHandler::install): (WTF::MemoryPressureHandler::respondToMemoryPressure): * wtf/spi/cocoa/NSMapTableSPI.h: * wtf/spi/darwin/XPCSPI.h: * wtf/text/StringCommon.h: * wtf/text/TextBreakIterator.cpp: * wtf/text/TextBreakIterator.h: * wtf/unicode/icu/CollatorICU.cpp: (WTF::copyDefaultLocale): Tools: * DumpRenderTree/AccessibilityController.h: * DumpRenderTree/AccessibilityTextMarker.h: * DumpRenderTree/AccessibilityUIElement.cpp: (AccessibilityUIElement::getJSClass): * DumpRenderTree/AccessibilityUIElement.h: * DumpRenderTree/DumpRenderTreeFileDraggingSource.h: * DumpRenderTree/TestRunner.cpp: (getSecureEventInputIsEnabledCallback): (TestRunner::staticFunctions): (TestRunner::callUIScriptCallback): * DumpRenderTree/TestRunner.h: * DumpRenderTree/cg/PixelDumpSupportCG.cpp: * DumpRenderTree/ios/AccessibilityTextMarkerIOS.mm: * DumpRenderTree/ios/AccessibilityUIElementIOS.mm: * DumpRenderTree/ios/DumpRenderTreeAppMain.mm: * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm: * DumpRenderTree/ios/TextInputControllerIOS.m: * DumpRenderTree/ios/UIScriptControllerIOS.mm: * DumpRenderTree/mac/AppleScriptController.m: * DumpRenderTree/mac/DumpRenderTree.mm: (createWebViewAndOffscreenWindow): (destroyWebViewAndOffscreenWindow): (resetWebPreferencesToConsistentValues): (setDefaultsToConsistentValuesForTesting): (allocateGlobalControllers): (releaseGlobalControllers): (addTestPluginsToPluginSearchPath): (prepareConsistentTestingEnvironment): (dumpRenderTree): (DumpRenderTreeMain): (dumpFrameAsPDF): (dumpBackForwardListForAllWindows): (updateDisplay): (dump): (resetWebViewToConsistentStateBeforeTesting): (runTest): (displayWebView): (displayAndTrackRepaintsWebView): * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: * DumpRenderTree/mac/DumpRenderTreeMac.h: * DumpRenderTree/mac/DumpRenderTreePasteboard.h: * DumpRenderTree/mac/DumpRenderTreeWindow.h: * DumpRenderTree/mac/DumpRenderTreeWindow.mm: (-[DumpRenderTreeWindow close]): (-[DumpRenderTreeWindow webView]): (-[DumpRenderTreeWindow webViewStartedAcceleratedCompositing:]): * DumpRenderTree/mac/EventSendingController.h: * DumpRenderTree/mac/EventSendingController.mm: (+[EventSendingController isSelectorExcludedFromWebScript:]): (+[EventSendingController webScriptNameForSelector:]): (-[EventSendingController dealloc]): (-[EventSendingController currentEventTime]): (-[EventSendingController clearKillRing]): (modifierFlags): (-[EventSendingController mouseDown:withModifiers:]): (-[EventSendingController scalePageBy:atX:andY:]): (-[EventSendingController mouseUp:withModifiers:]): (-[EventSendingController mouseMoveToX:Y:]): (-[EventSendingController mouseScrollByX:andY:continuously:]): (-[EventSendingController keyDown:withModifiers:withLocation:]): * DumpRenderTree/mac/FrameLoadDelegate.mm: (-[FrameLoadDelegate init]): (-[FrameLoadDelegate dealloc]): (-[FrameLoadDelegate processWork:]): (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): (-[FrameLoadDelegate webView:didCommitLoadForFrame:]): (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): * DumpRenderTree/mac/LayoutTestHelper.m: * DumpRenderTree/mac/MockGeolocationProvider.mm: (-[MockGeolocationProvider timerFired]): * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::setMainFrameIsFirstResponder): (TestRunner::setAutomaticLinkDetectionEnabled): (TestRunner::setUseDashboardCompatibilityMode): (TestRunner::isCommandEnabled): (TestRunner::inspectorTestStubURL): (TestRunner::apiTestNewWindowDataLoadBaseURL): (TestRunner::abortModal): (TestRunner::setTextDirection): (TestRunner::addChromeInputField): (TestRunner::removeChromeInputField): (TestRunner::focusWebView): (TestRunner::setBackingScaleFactor): (TestRunner::imageCountInGeneralPasteboard const): * DumpRenderTree/mac/UIDelegate.h: * DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate modalWindowWillClose:]): (-[UIDelegate webViewRunModal:]): (-[UIDelegate webView:supportsFullScreenForElement:withKeyboard:]): (-[UIDelegate dealloc]): * Scripts/check-for-inappropriate-objc-class-names: * TestRunnerShared/UIScriptContext/UIScriptController.cpp: * TestRunnerShared/spi/UIKitTestSPI.h: * TestWebKitAPI/Tests/WTF/darwin/WeakLinking.cpp: * TestWebKitAPI/Tests/WebCore/MarkedText.cpp: (WebCore::operator<<): * TestWebKitAPI/Tests/WebCore/cocoa/DatabaseTrackerTest.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm: (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp): * TestWebKitAPI/Tests/WebCore/ios/PreviewLoader.cpp: * TestWebKitAPI/Tests/WebKit/NoHistoryItemScrollToFragment.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit/WKPreferences.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLs.mm: * TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm: * TestWebKitAPI/Tests/WebKitCocoa/BundleEditingDelegate.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandle.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandlePlugIn.mm: (-[BundleRangeHandlePlugIn webProcessPlugInBrowserContextController:didFinishDocumentLoadForFrame:]): * TestWebKitAPI/Tests/WebKitCocoa/Coding.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/CopyHTML.mm: * TestWebKitAPI/Tests/WebKitCocoa/CopyURL.mm: (createWebViewWithCustomPasteboardDataEnabled): * TestWebKitAPI/Tests/WebKitCocoa/Copying.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/DataDetection.mm: * TestWebKitAPI/Tests/WebKitCocoa/DoAfterNextPresentationUpdateAfterCrash.mm: * TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm: * TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm: * TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm: * TestWebKitAPI/Tests/WebKitCocoa/FixedLayoutSize.mm: * TestWebKitAPI/Tests/WebKitCocoa/FontAttributes.mm: * TestWebKitAPI/Tests/WebKitCocoa/Geolocation.mm: * TestWebKitAPI/Tests/WebKitCocoa/InteractionDeadlockAfterCrash.mm: * TestWebKitAPI/Tests/WebKitCocoa/LocalStorageClear.mm: (defaultWebsiteCacheDirectory): (defaultApplicationCacheDirectory): (TEST): * TestWebKitAPI/Tests/WebKitCocoa/NSFileManagerExtras.mm: * TestWebKitAPI/Tests/WebKitCocoa/NowPlaying.mm: * TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteHTML.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteImage.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKitCocoa/PasteRTFD.mm: * TestWebKitAPI/Tests/WebKitCocoa/QuickLook.mm: * TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptions.mm: (runTestWithWidth): * TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptionsPlugIn.mm: (-[RenderedImageWithOptionsPlugIn renderImageWithWidth:completionHandler:]): * TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm: * TestWebKitAPI/Tests/WebKitCocoa/ShrinkToFit.mm: * TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm: * TestWebKitAPI/Tests/WebKitCocoa/VisibleContentRect.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm: (platformCopyRichTextWithMultipleAttachments): (platformCopyRichTextWithImage): (platformCopyPNG): * TestWebKitAPI/Tests/WebKitCocoa/WKContentViewEditingActions.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKContentViewTargetForAction.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKHTTPCookieStore.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKPDFViewStablePresentationUpdateCallback.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKRequestActivatedElementInfo.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-leaks.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/_WKInputDelegate.mm: * TestWebKitAPI/Tests/WebKitLegacy/ios/AudioSessionCategoryIOS.mm: * TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm: * TestWebKitAPI/Tests/WebKitLegacy/mac/AccessingPastedImage.mm: * TestWebKitAPI/Tests/ios/AccessibilityTestsIOS.mm: * TestWebKitAPI/Tests/ios/ActionSheetTests.mm: * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: * TestWebKitAPI/Tests/ios/FocusPreservationTests.mm: * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: * TestWebKitAPI/Tests/ios/RenderingProgressTests.mm: * TestWebKitAPI/Tests/ios/ScrollViewInsetTests.mm: * TestWebKitAPI/Tests/ios/SetTimeoutFunction.mm: * TestWebKitAPI/Tests/ios/SynchronousTimeoutTests.mm: * TestWebKitAPI/Tests/ios/TestInputDelegate.h: * TestWebKitAPI/Tests/ios/TestInputDelegate.mm: * TestWebKitAPI/Tests/ios/TextAutosizingBoost.mm: * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: * TestWebKitAPI/Tests/ios/WKScrollViewDelegate.mm: * TestWebKitAPI/Tests/ios/WKScrollViewTests.mm: * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm: * TestWebKitAPI/Tests/ios/WKWebViewEditActions.mm: * TestWebKitAPI/cocoa/DragAndDropSimulator.h: * TestWebKitAPI/cocoa/TestNavigationDelegate.mm: (-[WKWebView _test_waitForDidFinishNavigation]): * TestWebKitAPI/cocoa/TestWKWebView.h: * TestWebKitAPI/cocoa/TestWKWebView.mm: * TestWebKitAPI/config.h: * TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm: * TestWebKitAPI/ios/TestWKWebViewController.h: * TestWebKitAPI/ios/TestWKWebViewController.mm: * TestWebKitAPI/ios/UIKitSPI.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm: (WTR::TestRunner::inspectorTestStubURL): * WebKitTestRunner/TestController.cpp: (WTR::TestController::webProcessName): (WTR::TestController::networkProcessName): * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke): (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): * WebKitTestRunner/cg/TestInvocationCG.cpp: * WebKitTestRunner/cocoa/TestControllerCocoa.mm: (WTR::initializeWebViewConfiguration): (WTR::TestController::platformCreateWebView): (WTR::TestController::imageCountInGeneralPasteboard const): (WTR::TestController::addTestKeyToKeychain): (WTR::TestController::cleanUpKeychain): (WTR::TestController::keyExistsInKeychain): * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Canonical link: https://commits.webkit.org/205631@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-18 21:38:50 +00:00
#if PLATFORM(IOS_FAMILY)
WEBCORE_EXPORT void setAnchorRect(const IntRect& anchorRect, UIViewController* presentingViewController = nullptr);
[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
WEBCORE_EXPORT void show();
#else
WEBCORE_EXPORT void showRelativeTo(const IntRect& anchorRect);
#endif
private:
HTML Form Validation bubble should take minimum font size setting into consideration https://bugs.webkit.org/show_bug.cgi?id=168271 <rdar://problem/29869869> Reviewed by Simon Fraser. Source/WebCore: HTML Form Validation bubble should take minimum font size setting into consideration for better accessibility. Test: fast/forms/validation-message-minimum-font-size.html * platform/ValidationBubble.h: (WebCore::ValidationBubble::create): (WebCore::ValidationBubble::fontSize): * platform/ios/ValidationBubbleIOS.mm: (WebCore::ValidationBubble::ValidationBubble): * platform/mac/ValidationBubbleMac.mm: (WebCore::ValidationBubble::ValidationBubble): Update the ValidationBubble constructor to take in Settings. For now, there is a single setting that is the minimum font size and that is taken into account when setting the font size of the validation bubble text. Source/WebKit/mac: * WebView/WebView.mm: (-[WebView _contentsOfUserInterfaceItem:]): Return font size used in the validation bubble. (-[WebView showFormValidationMessage:withAnchorRect:]): Pass minimum font size setting when constructing the validation bubble. Source/WebKit2: * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _contentsOfUserInterfaceItem:]): Return font size used in the validation bubble. * UIProcess/PageClient.h: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::showValidationMessage): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): Pass minimum font size setting when constructing the form validation bubble. Tools: Extend UIScriptController's contentsOfUserInterfaceItem() to also return the font size of the validation bubble. Add an overridePreference() method to UIScriptController. This is currently used to override the value of the minimumFontSize setting. testRunner's overridePreference() is not usable on WK2 because it does not update the value of the preference on the UIProcess side. * DumpRenderTree/ios/UIScriptControllerIOS.mm: (WTR::UIScriptController::overridePreference): * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::overridePreference): * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: * TestRunnerShared/UIScriptContext/UIScriptController.h: * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues): * WebKitTestRunner/ios/UIScriptControllerIOS.mm: (WTR::UIScriptController::overridePreference): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::overridePreference): LayoutTests: Add layout test coverage. * fast/forms/validation-message-minimum-font-size-expected.txt: Added. * fast/forms/validation-message-minimum-font-size.html: Added. Canonical link: https://commits.webkit.org/185357@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-02-14 23:11:06 +00:00
WEBCORE_EXPORT ValidationBubble(PlatformView*, const String& message, const Settings&);
Source/WebCore: [iOS] HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. The issue was that [UIViewController presentViewController:] is asynchronous and that we sometimes tried to call [m_popoverController dismissViewControllerAnimated:] before presentViewController had completed. This is something that UIKit does not handle nicely and the popover just stays visible even though we have asked for the controller to be dismissed and destroyed the ValidationBubble object. To address the issue, I made ValidationBubble RefCounted and make sure the ValidationBubble object stays alive at least until the completion handler for [UIViewController presentViewController:] has been called. This is done via protecting the object using a RefPtr<> and capturing it in the lambda. Because dismissViewControllerAnimated is called in the destructor, it is no longer possible to call dismissViewControllerAnimated before the call to presentViewController has completed. No new tests, no easily testable since the popover was staying visible after being destroyed (held on by UIKit). * platform/ValidationBubble.h: (WebCore::ValidationBubble::create): * platform/ios/ValidationBubbleIOS.mm: (WebCore::ValidationBubble::show): Source/WebKit/mac: HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. Update code using ValidationBubble now that it is RefCounted. * WebView/WebView.mm: (-[WebView showFormValidationMessage:withAnchorRect:]): Source/WebKit2: [iOS] HTML form validation popover sometimes does not go away https://bugs.webkit.org/show_bug.cgi?id=166990 <rdar://problem/29985957> Reviewed by Tim Horton. Update code using ValidationBubble now that it is RefCounted. * UIProcess/PageClient.h: * UIProcess/WebPageProxy.h: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): Canonical link: https://commits.webkit.org/184096@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@210689 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-01-13 00:59:34 +00:00
[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
PlatformView* m_view;
String m_message;
HTML Form Validation bubble should take minimum font size setting into consideration https://bugs.webkit.org/show_bug.cgi?id=168271 <rdar://problem/29869869> Reviewed by Simon Fraser. Source/WebCore: HTML Form Validation bubble should take minimum font size setting into consideration for better accessibility. Test: fast/forms/validation-message-minimum-font-size.html * platform/ValidationBubble.h: (WebCore::ValidationBubble::create): (WebCore::ValidationBubble::fontSize): * platform/ios/ValidationBubbleIOS.mm: (WebCore::ValidationBubble::ValidationBubble): * platform/mac/ValidationBubbleMac.mm: (WebCore::ValidationBubble::ValidationBubble): Update the ValidationBubble constructor to take in Settings. For now, there is a single setting that is the minimum font size and that is taken into account when setting the font size of the validation bubble text. Source/WebKit/mac: * WebView/WebView.mm: (-[WebView _contentsOfUserInterfaceItem:]): Return font size used in the validation bubble. (-[WebView showFormValidationMessage:withAnchorRect:]): Pass minimum font size setting when constructing the validation bubble. Source/WebKit2: * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _contentsOfUserInterfaceItem:]): Return font size used in the validation bubble. * UIProcess/PageClient.h: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::showValidationMessage): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): Pass minimum font size setting when constructing the form validation bubble. Tools: Extend UIScriptController's contentsOfUserInterfaceItem() to also return the font size of the validation bubble. Add an overridePreference() method to UIScriptController. This is currently used to override the value of the minimumFontSize setting. testRunner's overridePreference() is not usable on WK2 because it does not update the value of the preference on the UIProcess side. * DumpRenderTree/ios/UIScriptControllerIOS.mm: (WTR::UIScriptController::overridePreference): * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::overridePreference): * TestRunnerShared/UIScriptContext/Bindings/UIScriptController.idl: * TestRunnerShared/UIScriptContext/UIScriptController.h: * WebKitTestRunner/TestController.cpp: (WTR::TestController::resetPreferencesToConsistentValues): * WebKitTestRunner/ios/UIScriptControllerIOS.mm: (WTR::UIScriptController::overridePreference): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::overridePreference): LayoutTests: Add layout test coverage. * fast/forms/validation-message-minimum-font-size-expected.txt: Added. * fast/forms/validation-message-minimum-font-size.html: Added. Canonical link: https://commits.webkit.org/185357@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@212325 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2017-02-14 23:11:06 +00:00
double m_fontSize { 0 };
[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
#if PLATFORM(MAC)
RetainPtr<NSPopover> m_popover;
Switch from PLATFORM(IOS) to PLATFORM(IOS_FAMILY) https://bugs.webkit.org/show_bug.cgi?id=190729 Reviewed by Tim Horton. Source/JavaScriptCore: * API/JSBase.cpp: * API/JSWrapperMap.mm: * assembler/ARM64Assembler.h: (JSC::ARM64Assembler::cacheFlush): * assembler/ARMv7Assembler.h: (JSC::ARMv7Assembler::cacheFlush): * assembler/AssemblerCommon.h: (JSC::isIOS): * heap/FullGCActivityCallback.cpp: (JSC::FullGCActivityCallback::doCollection): * heap/Heap.cpp: (JSC::Heap::overCriticalMemoryThreshold): (JSC::Heap::updateAllocationLimits): (JSC::Heap::collectIfNecessaryOrDefer): * heap/Heap.h: * inspector/remote/cocoa/RemoteConnectionToTargetCocoa.mm: (Inspector::RemoteConnectionToTarget::dispatchAsyncOnTarget): * jit/ExecutableAllocator.cpp: (JSC::allowJIT): * jit/ExecutableAllocator.h: * jit/RegisterSet.cpp: (JSC::RegisterSet::reservedHardwareRegisters): (JSC::RegisterSet::calleeSaveRegisters): * jit/ThunkGenerators.cpp: * jsc.cpp: (main): * runtime/MathCommon.cpp: * runtime/Options.cpp: (JSC::overrideDefaults): (JSC::recomputeDependentOptions): * runtime/Options.h: Source/WebCore: * DerivedSources.make: * Modules/applepay/cocoa/PaymentContactCocoa.mm: (WebCore::subLocality): (WebCore::setSubLocality): (WebCore::subAdministrativeArea): (WebCore::setSubAdministrativeArea): * Modules/encryptedmedia/legacy/LegacyCDMPrivateMediaPlayer.cpp: * Modules/geolocation/Geolocation.cpp: (WebCore::isRequestFromIBooks): * Modules/geolocation/GeolocationPosition.h: * Modules/geolocation/NavigatorGeolocation.cpp: * Modules/geolocation/NavigatorGeolocation.h: * Modules/geolocation/ios/GeolocationPositionIOS.mm: * Modules/mediasession/WebMediaSessionManager.cpp: * Modules/mediasession/WebMediaSessionManager.h: * Modules/mediastream/MediaDevicesRequest.cpp: (WebCore::MediaDevicesRequest::filterDeviceList): * Modules/plugins/QuickTimePluginReplacement.mm: (WebCore::JSQuickTimePluginReplacement::timedMetaData const): (WebCore::JSQuickTimePluginReplacement::accessLog const): (WebCore::JSQuickTimePluginReplacement::errorLog const): * Modules/speech/SpeechSynthesis.cpp: (WebCore::SpeechSynthesis::SpeechSynthesis): (WebCore::SpeechSynthesis::speak): * Modules/speech/SpeechSynthesis.h: * Modules/webaudio/AudioContext.cpp: * Modules/webaudio/AudioScheduledSourceNode.cpp: * Modules/webdatabase/Database.cpp: (WebCore::Database::performOpenAndVerify): * Modules/webdatabase/DatabaseContext.h: * Modules/webdatabase/DatabaseManagerClient.h: * Modules/webdatabase/DatabaseTracker.cpp: (WebCore::DatabaseTracker::deleteDatabaseFile): * Modules/webdatabase/DatabaseTracker.h: * WebCorePrefix.h: * accessibility/AXObjectCache.cpp: (WebCore::createFromRenderer): * accessibility/AccessibilityMediaObject.cpp: * accessibility/AccessibilityMediaObject.h: * accessibility/AccessibilityMenuList.cpp: (WebCore::AccessibilityMenuList::press): (WebCore::AccessibilityMenuList::isCollapsed const): * accessibility/AccessibilityObject.cpp: (WebCore::AccessibilityObject::isAccessibilityObjectSearchMatchAtIndex): (WebCore::AccessibilityObject::press): (WebCore::AccessibilityObject::actionVerb const): * accessibility/AccessibilityObject.h: * accessibility/AccessibilityRenderObject.cpp: (WebCore::AccessibilityRenderObject::stringValue const): (WebCore::AccessibilityRenderObject::determineAccessibilityRole): (WebCore::AccessibilityRenderObject::actionVerb const): * accessibility/AccessibilityTableColumn.cpp: (WebCore::AccessibilityTableColumn::computeAccessibilityIsIgnored const): * accessibility/AccessibilityTableHeaderContainer.cpp: (WebCore::AccessibilityTableHeaderContainer::computeAccessibilityIsIgnored const): * accessibility/ios/AXObjectCacheIOS.mm: * accessibility/ios/AccessibilityObjectIOS.mm: * accessibility/ios/WebAccessibilityObjectWrapperIOS.h: * accessibility/ios/WebAccessibilityObjectWrapperIOS.mm: * bindings/js/CommonVM.cpp: (WebCore::commonVMSlow): * bindings/js/JSCallbackData.h: (WebCore::JSCallbackData::~JSCallbackData): * bindings/js/JSDOMWindowBase.cpp: (WebCore::JSDOMWindowBase::shouldInterruptScriptBeforeTimeout): * bindings/js/ScriptController.cpp: (WebCore::ScriptController::initializeThreading): * bridge/objc/objc_class.mm: (JSC::Bindings::ObjcClass::fieldNamed const): * crypto/CommonCryptoUtilities.h: * crypto/mac/CryptoKeyRSAMac.cpp: * crypto/mac/SerializedCryptoKeyWrapMac.mm: (WebCore::masterKeyAccountNameForCurrentApplication): (WebCore::createAndStoreMasterKey): * css/CSSComputedStyleDeclaration.cpp: (WebCore::ComputedStyleExtractor::valueForPropertyinStyle): * css/CSSProperties.json: * css/CSSStyleDeclaration.cpp: * css/CSSValueKeywords.in: * css/MediaQueryEvaluator.cpp: (WebCore::prefersReducedMotionEvaluate): * css/StyleBuilderConverter.h: * css/html.css: (video): (input, textarea, keygen, select, button): (#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY): (#if defined(ENABLE_INPUT_TYPE_DATE) && ENABLE_INPUT_TYPE_DATE): (#endif): (#if defined(ENABLE_DATALIST_ELEMENT) && ENABLE_DATALIST_ELEMENT): (textarea): (input:matches([type="radio"], [type="checkbox"])): (input:matches([type="button"], [type="submit"], [type="reset"]), input[type="file"]::-webkit-file-upload-button, button): (input[type="range"]::-webkit-slider-thumb, input[type="range"]::-webkit-media-slider-thumb): (#if !(defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY)): (input[type="checkbox"]): (#endif // defined(ENABLE_INPUT_TYPE_COLOR) && ENABLE_INPUT_TYPE_COLOR): (#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS): Deleted. (#if !(defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS)): Deleted. * css/parser/CSSParserContext.cpp: (WebCore::CSSParserContext::CSSParserContext): * css/parser/CSSParserFastPaths.cpp: (WebCore::CSSParserFastPaths::isValidKeywordPropertyAndValue): (WebCore::CSSParserFastPaths::isKeywordPropertyID): * css/parser/CSSPropertyParser.cpp: (WebCore::cssPropertyID): (WebCore::CSSPropertyParser::parseSingleValue): * css/parser/CSSPropertyParser.h: * css/svg.css: (#if defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY): (#if defined(WTF_PLATFORM_IOS) && WTF_PLATFORM_IOS): Deleted. * dom/DeviceMotionController.cpp: * dom/DeviceMotionController.h: * dom/DeviceOrientationController.cpp: (WebCore::DeviceOrientationController::DeviceOrientationController): * dom/DeviceOrientationController.h: * dom/DeviceOrientationData.cpp: * dom/DeviceOrientationData.h: * dom/DeviceOrientationEvent.cpp: * dom/DeviceOrientationEvent.h: * dom/DeviceOrientationEvent.idl: * dom/Document.cpp: (WebCore::Document::~Document): (WebCore::Document::suspendDeviceMotionAndOrientationUpdates): (WebCore::Document::resumeDeviceMotionAndOrientationUpdates): (WebCore::Document::platformSuspendOrStopActiveDOMObjects): * dom/Document.h: * dom/DocumentMarker.h: (WebCore::DocumentMarker::allMarkers): * dom/DocumentMarkerController.cpp: (WebCore::shouldInsertAsSeparateMarker): (WebCore::DocumentMarkerController::shiftMarkers): * dom/DocumentMarkerController.h: * dom/Element.cpp: (WebCore::Element::focus): * dom/Node.cpp: (WebCore::Node::~Node): (WebCore::Node::willBeDeletedFrom): (WebCore::Node::moveNodeToNewDocument): (WebCore::tryAddEventListener): (WebCore::tryRemoveEventListener): (WebCore::Node::defaultEventHandler): (WebCore::Node::willRespondToMouseMoveEvents): (WebCore::Node::willRespondToMouseClickEvents): * dom/Range.cpp: * dom/Range.h: * dom/TreeScope.cpp: (WebCore::absolutePointIfNotClipped): * dom/ViewportArguments.cpp: (WebCore::setViewportFeature): * dom/ViewportArguments.h: * editing/CompositeEditCommand.cpp: (WebCore::EditCommandComposition::unapply): (WebCore::CompositeEditCommand::replaceTextInNodePreservingMarkers): (WebCore::CompositeEditCommand::moveParagraphs): * editing/Editor.cpp: (WebCore::TemporarySelectionChange::TemporarySelectionChange): (WebCore::TemporarySelectionChange::~TemporarySelectionChange): (WebCore::Editor::handleTextEvent): (WebCore::Editor::Editor): (WebCore::Editor::clear): (WebCore::Editor::insertTextWithoutSendingTextEvent): (WebCore::Editor::setBaseWritingDirection): (WebCore::Editor::setComposition): (WebCore::Editor::showSpellingGuessPanel): (WebCore::Editor::markMisspellingsAfterTypingToWord): (WebCore::Editor::markMisspellingsOrBadGrammar): (WebCore::Editor::changeBackToReplacedString): (WebCore::Editor::updateMarkersForWordsAffectedByEditing): (WebCore::Editor::revealSelectionAfterEditingOperation): (WebCore::Editor::setIgnoreSelectionChanges): (WebCore::Editor::changeSelectionAfterCommand): (WebCore::Editor::shouldChangeSelection const): (WebCore::Editor::respondToChangedSelection): (WebCore::Editor::editorUIUpdateTimerFired): (WebCore::Editor::resolveTextCheckingTypeMask): * editing/Editor.h: * editing/FontAttributes.h: * editing/FrameSelection.cpp: (WebCore::FrameSelection::FrameSelection): (WebCore::FrameSelection::updateDataDetectorsForSelection): (WebCore::FrameSelection::setSelectedRange): (WebCore::FrameSelection::updateAppearance): (WebCore::FrameSelection::shouldDeleteSelection const): (WebCore::FrameSelection::revealSelection): (WebCore::FrameSelection::setSelectionFromNone): (WebCore::FrameSelection::shouldChangeSelection const): * editing/FrameSelection.h: * editing/InsertIntoTextNodeCommand.cpp: * editing/InsertIntoTextNodeCommand.h: * editing/TypingCommand.cpp: (WebCore::TypingCommand::markMisspellingsAfterTyping): (WebCore::TypingCommand::deleteKeyPressed): (WebCore::TypingCommand::forwardDeleteKeyPressed): * editing/TypingCommand.h: * editing/cocoa/DataDetection.h: * editing/cocoa/DataDetection.mm: * editing/cocoa/FontAttributesCocoa.mm: * editing/cocoa/FontShadowCocoa.mm: (WebCore::FontShadow::createShadow const): * editing/cocoa/HTMLConverter.h: * editing/cocoa/HTMLConverter.mm: (_fontForNameAndSize): (_shadowForShadowStyle): (HTMLConverter::computedAttributesForElement): (HTMLConverter::_addAttachmentForElement): (HTMLConverter::_processMetaElementWithName): (HTMLConverter::_processElement): * editing/cocoa/WebContentReaderCocoa.mm: (WebCore::attributesForAttributedStringConversion): (WebCore::WebContentReader::readURL): * editing/ios/DictationCommandIOS.cpp: * editing/ios/DictationCommandIOS.h: * editing/ios/EditorIOS.mm: * editing/mac/FrameSelectionMac.mm: (WebCore::FrameSelection::notifyAccessibilityForSelectionChange): * fileapi/FileCocoa.mm: * history/CachedFrame.cpp: (WebCore::CachedFrameBase::restore): (WebCore::CachedFrame::CachedFrame): * history/CachedPage.cpp: (WebCore::CachedPage::restore): * history/HistoryItem.cpp: (WebCore::HistoryItem::HistoryItem): * history/HistoryItem.h: * history/PageCache.cpp: (WebCore::canCachePage): * html/BaseDateAndTimeInputType.cpp: * html/BaseDateAndTimeInputType.h: * html/ColorInputType.cpp: (WebCore::ColorInputType::isKeyboardFocusable const): * html/HTMLAppletElement.cpp: (WebCore::HTMLAppletElement::updateWidget): * html/HTMLAttachmentElement.h: * html/HTMLCanvasElement.cpp: (WebCore::maxActivePixelMemory): * html/HTMLElement.cpp: (WebCore::HTMLElement::collectStyleForPresentationAttribute): * html/HTMLIFrameElement.h: * html/HTMLImageElement.cpp: * html/HTMLImageElement.h: * html/HTMLInputElement.cpp: * html/HTMLInputElement.h: * html/HTMLMediaElement.cpp: (WebCore::HTMLMediaElement::finishInitialization): (WebCore::HTMLMediaElement::registerWithDocument): (WebCore::HTMLMediaElement::unregisterWithDocument): (WebCore::HTMLMediaElement::setVolume): (WebCore::HTMLMediaElement::nextScanRate): (WebCore::HTMLMediaElement::sourceWasAdded): (WebCore::HTMLMediaElement::mediaEngineWasUpdated): (WebCore::HTMLMediaElement::updateVolume): (WebCore::HTMLMediaElement::userCancelledLoad): (WebCore::HTMLMediaElement::mediaSessionTitle const): (WebCore::HTMLMediaElement::purgeBufferedDataIfPossible): * html/HTMLMediaElement.h: * html/HTMLMetaElement.cpp: (WebCore::HTMLMetaElement::process): * html/HTMLObjectElement.cpp: * html/HTMLPlugInElement.h: * html/HTMLSelectElement.cpp: (WebCore::HTMLSelectElement::usesMenuList const): (WebCore::HTMLSelectElement::createElementRenderer): (WebCore::HTMLSelectElement::childShouldCreateRenderer const): (WebCore::HTMLSelectElement::willRespondToMouseClickEvents): (WebCore::HTMLSelectElement::updateListBoxSelection): (WebCore::HTMLSelectElement::scrollToSelection): (WebCore::HTMLSelectElement::setOptionsChangedOnRenderer): (WebCore::HTMLSelectElement::menuListDefaultEventHandler): (WebCore::HTMLSelectElement::defaultEventHandler): * html/HTMLTextAreaElement.cpp: (WebCore::HTMLTextAreaElement::createInnerTextStyle): * html/HTMLTextFormControlElement.cpp: (WebCore::HTMLTextFormControlElement::select): (WebCore::HTMLTextFormControlElement::adjustInnerTextStyle const): * html/HTMLTextFormControlElement.h: * html/HTMLVideoElement.cpp: (WebCore::HTMLVideoElement::parseAttribute): (WebCore::HTMLVideoElement::supportsFullscreen const): * html/HTMLVideoElement.h: * html/ImageDocument.cpp: (WebCore::ImageDocument::ImageDocument): (WebCore::ImageDocument::createDocumentStructure): (WebCore::ImageDocument::imageUpdated): * html/ImageDocument.h: * html/InputType.cpp: * html/InputType.h: * html/MediaDocument.cpp: (WebCore::MediaDocumentParser::createDocumentStructure): * html/MediaElementSession.cpp: (WebCore::MediaElementSession::clientDataBufferingTimerFired): (WebCore::MediaElementSession::showPlaybackTargetPicker): (WebCore::MediaElementSession::wirelessVideoPlaybackDisabled const): (WebCore::MediaElementSession::setHasPlaybackTargetAvailabilityListeners): (WebCore::MediaElementSession::isPlayingToWirelessPlaybackTarget const): (WebCore::MediaElementSession::requiresFullscreenForVideoPlayback const): * html/MediaElementSession.h: * html/PluginDocument.cpp: (WebCore::PluginDocumentParser::createDocumentStructure): * html/RangeInputType.cpp: (WebCore::RangeInputType::handleTouchEvent): * html/RangeInputType.h: * html/SearchInputType.cpp: (WebCore::SearchInputType::addSearchResult): * html/TextFieldInputType.cpp: (WebCore::TextFieldInputType::isKeyboardFocusable const): (WebCore::TextFieldInputType::handleFocusEvent): (WebCore::TextFieldInputType::handleBlurEvent): (WebCore::TextFieldInputType::didSetValueByUserEdit): (WebCore::TextFieldInputType::listAttributeTargetChanged): * html/parser/HTMLParserScheduler.h: (WebCore::HTMLParserScheduler::shouldYieldBeforeToken): * html/parser/HTMLTreeBuilder.cpp: (WebCore::HTMLTreeBuilder::processCharacterBufferForInBody): * html/parser/HTMLTreeBuilder.h: * html/shadow/MediaControlElements.cpp: * html/shadow/MediaControlElements.h: * html/shadow/MediaControls.h: * html/shadow/SliderThumbElement.cpp: (WebCore::SliderThumbElement::dragFrom): * html/shadow/SliderThumbElement.h: * html/shadow/TextControlInnerElements.cpp: (WebCore::SearchFieldResultsButtonElement::defaultEventHandler): (WebCore::SearchFieldCancelButtonElement::SearchFieldCancelButtonElement): * html/shadow/TextControlInnerElements.h: * inspector/InspectorController.cpp: (WebCore::InspectorController::setIndicating): * inspector/InspectorFrontendHost.cpp: (WebCore::InspectorFrontendHost::platform): * inspector/PageScriptDebugServer.cpp: (WebCore::PageScriptDebugServer::runEventLoopWhilePaused): * inspector/agents/InspectorTimelineAgent.cpp: (WebCore::currentRunLoop): * loader/DocumentLoader.cpp: * loader/DocumentLoader.h: * loader/DocumentThreadableLoader.cpp: (WebCore::DocumentThreadableLoader::makeCrossOriginAccessRequest): * loader/DocumentWriter.cpp: (WebCore::DocumentWriter::createDocument): * loader/EmptyClients.cpp: * loader/EmptyClients.h: * loader/EmptyFrameLoaderClient.h: * loader/FrameLoader.cpp: (WebCore::FrameLoader::checkCompleted): (WebCore::FrameLoader::willLoadMediaElementURL): (WebCore::FrameLoader::stopForUserCancel): (WebCore::FrameLoader::commitProvisionalLoad): (WebCore::FrameLoader::didFirstLayout): (WebCore::createWindow): * loader/FrameLoader.h: * loader/FrameLoaderClient.h: * loader/HistoryController.cpp: (WebCore::HistoryController::saveScrollPositionAndViewStateToItem): (WebCore::HistoryController::restoreScrollPositionAndViewState): * loader/ResourceLoader.cpp: (WebCore::ResourceLoader::init): (WebCore::ResourceLoader::willSendRequestInternal): * loader/ResourceLoader.h: * loader/SubframeLoader.cpp: (WebCore::SubframeLoader::loadPlugin): * loader/SubresourceLoader.cpp: (WebCore::SubresourceLoader::create): (WebCore::SubresourceLoader::willCancel): (WebCore::SubresourceLoader::notifyDone): (WebCore::SubresourceLoader::releaseResources): * loader/SubresourceLoader.h: * loader/cache/CachedImage.cpp: * page/CaptionUserPreferencesMediaAF.cpp: (WebCore::userCaptionPreferencesChangedNotificationCallback): * page/Chrome.cpp: (WebCore::Chrome::createColorChooser): (WebCore::Chrome::dispatchViewportPropertiesDidChange const): (WebCore::Chrome::didReceiveDocType): * page/Chrome.h: * page/ChromeClient.h: * page/DOMTimer.cpp: (WebCore::DOMTimer::install): (WebCore::DOMTimer::fired): * page/DOMWindow.cpp: (WebCore::DOMWindow::outerHeight const): (WebCore::DOMWindow::outerWidth const): (WebCore::DOMWindow::clearTimeout): (WebCore::DOMWindow::addEventListener): (WebCore::DOMWindow::resetAllGeolocationPermission): (WebCore::DOMWindow::removeEventListener): (WebCore::DOMWindow::removeAllEventListeners): * page/DOMWindow.h: * page/DeprecatedGlobalSettings.cpp: (WebCore::DeprecatedGlobalSettings::globalConstRedeclarationShouldThrow): * page/DeprecatedGlobalSettings.h: * page/DragController.cpp: * page/EditorClient.h: * page/EventHandler.cpp: (WebCore::EventHandler::handleMousePressEventSingleClick): (WebCore::EventHandler::handleMouseReleaseEvent): (WebCore::EventHandler::startPanScrolling): (WebCore::EventHandler::handleMouseMoveEvent): * page/EventHandler.h: * page/Frame.cpp: (WebCore::Frame::Frame): (WebCore::Frame::willDetachPage): * page/Frame.h: * page/FrameView.cpp: (WebCore::FrameView::FrameView): (WebCore::FrameView::clear): (WebCore::FrameView::effectiveFrameFlattening const): (WebCore::FrameView::flushCompositingStateForThisFrame): (WebCore::FrameView::scrollPositionRespectingCustomFixedPosition const): (WebCore::FrameView::viewportConstrainedVisibleContentRect const): (WebCore::FrameView::updateContentsSize): (WebCore::FrameView::computeScrollability const): (WebCore::FrameView::adjustTiledBackingCoverage): (WebCore::FrameView::calculateExtendedBackgroundMode const): (WebCore::FrameView::performPostLayoutTasks): (WebCore::FrameView::sizeForResizeEvent const): (WebCore::FrameView::sendResizeEventIfNeeded): * page/FrameView.h: * page/FrameViewLayoutContext.cpp: (WebCore::FrameViewLayoutContext::layout): * page/MemoryRelease.cpp: (WebCore::releaseCriticalMemory): (WebCore::releaseMemory): * page/Navigator.cpp: * page/Navigator.h: * page/NavigatorBase.cpp: * page/Page.cpp: (WebCore::Page::setIsVisibleInternal): (WebCore::Page::showPlaybackTargetPicker): * page/Page.h: * page/PerformanceMonitor.cpp: (WebCore::PerformanceMonitor::measurePostLoadMemoryUsage): * page/ResourceUsageOverlay.cpp: (WebCore::ResourceUsageOverlay::initialize): * page/SecurityOrigin.cpp: (WebCore::SecurityOrigin::canDisplay const): * page/SettingsBase.cpp: * page/SettingsBase.h: * page/SettingsDefaultValues.h: (WebCore::editingBehaviorTypeForPlatform): * page/TextIndicator.cpp: (WebCore::TextIndicator::createWithRange): (WebCore::initializeIndicator): * page/ViewportConfiguration.cpp: (WebCore::ViewportConfiguration::textDocumentParameters): * page/cocoa/MemoryReleaseCocoa.mm: (WebCore::platformReleaseMemory): (WebCore::jettisonExpensiveObjectsOnTopLevelNavigation): * page/cocoa/ResourceUsageOverlayCocoa.mm: (WebCore::showText): * page/cocoa/ResourceUsageThreadCocoa.mm: (WebCore::vmPageSize): * page/cocoa/SettingsBaseCocoa.mm: * page/ios/EventHandlerIOS.mm: * page/ios/FrameIOS.mm: * page/mac/ChromeMac.mm: * page/mac/PageMac.mm: (WebCore::Page::platformInitialize): * page/mac/WebCoreFrameView.h: * page/scrolling/AsyncScrollingCoordinator.cpp: (WebCore::AsyncScrollingCoordinator::reconcileScrollingState): * page/scrolling/ScrollingTree.h: * page/scrolling/ScrollingTreeScrollingNode.h: * page/scrolling/ScrollingTreeScrollingNodeDelegate.cpp: * page/scrolling/ScrollingTreeScrollingNodeDelegate.h: * page/scrolling/ios/ScrollingCoordinatorIOS.h: * page/scrolling/ios/ScrollingCoordinatorIOS.mm: * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.h: * page/scrolling/ios/ScrollingTreeFrameScrollingNodeIOS.mm: * page/scrolling/ios/ScrollingTreeIOS.cpp: * page/scrolling/ios/ScrollingTreeIOS.h: * platform/ContentFilterUnblockHandler.h: * platform/Cursor.cpp: * platform/Cursor.h: * platform/DragImage.cpp: * platform/DragImage.h: * platform/FileChooser.cpp: * platform/FileChooser.h: * platform/HostWindow.h: * platform/LocalizedStrings.cpp: * platform/LocalizedStrings.h: * platform/LowPowerModeNotifier.cpp: * platform/LowPowerModeNotifier.h: * platform/MIMETypeRegistry.cpp: (WebCore::initializeSupportedImageMIMETypes): (WebCore::initializeSupportedNonImageMimeTypes): (WebCore::initializeUnsupportedTextMIMETypes): * platform/Pasteboard.h: * platform/PasteboardStrategy.h: * platform/PlatformKeyboardEvent.h: * platform/PlatformPasteboard.h: * platform/PlatformScreen.h: * platform/RemoteCommandListener.cpp: * platform/RuntimeApplicationChecks.h: * platform/ScrollAnimator.cpp: * platform/ScrollView.cpp: (WebCore::ScrollView::contentsScrollPosition const): (WebCore::ScrollView::setContentsScrollPosition): (WebCore::ScrollView::visibleContentRectInternal const): * platform/ScrollView.h: * platform/ScrollableArea.cpp: * platform/ScrollableArea.h: * platform/Scrollbar.cpp: * platform/Scrollbar.h: * platform/ThreadTimers.cpp: * platform/Timer.cpp: (WebCore::shouldSuppressThreadSafetyCheck): * platform/Timer.h: (WebCore::TimerBase::isActive const): * platform/ValidationBubble.h: * platform/Widget.h: * platform/audio/AudioHardwareListener.cpp: (WebCore::AudioHardwareListener::AudioHardwareListener): * platform/audio/PlatformMediaSession.h: * platform/audio/PlatformMediaSessionManager.h: * platform/audio/ios/AudioDestinationIOS.cpp: * platform/audio/ios/AudioDestinationIOS.h: * platform/audio/ios/AudioFileReaderIOS.cpp: * platform/audio/ios/AudioFileReaderIOS.h: * platform/audio/ios/AudioSessionIOS.mm: (WebCore::AudioSession::setCategory): (WebCore::AudioSession::routingContextUID const): * platform/audio/ios/MediaSessionManagerIOS.h: * platform/audio/ios/MediaSessionManagerIOS.mm: * platform/cf/MainThreadSharedTimerCF.cpp: (WebCore::setupPowerObserver): (WebCore::MainThreadSharedTimer::setFireInterval): * platform/cf/URLCF.cpp: * platform/cocoa/ContentFilterUnblockHandlerCocoa.mm: (WebCore::ContentFilterUnblockHandler::wrapWithDecisionHandler): (WebCore::ContentFilterUnblockHandler::needsUIProcess const): (WebCore::ContentFilterUnblockHandler::encode const): (WebCore::ContentFilterUnblockHandler::decode): (WebCore::ContentFilterUnblockHandler::canHandleRequest const): (WebCore::dispatchToMainThread): (WebCore::ContentFilterUnblockHandler::requestUnblockAsync const): * platform/cocoa/DataDetectorsCoreSoftLink.h: * platform/cocoa/DataDetectorsCoreSoftLink.mm: * platform/cocoa/KeyEventCocoa.mm: * platform/cocoa/LocalizedStringsCocoa.mm: (WebCore::localizedNSString): * platform/cocoa/NetworkExtensionContentFilter.mm: (WebCore::NetworkExtensionContentFilter::initialize): * platform/cocoa/ParentalControlsContentFilter.mm: (WebCore::ParentalControlsContentFilter::unblockHandler const): * platform/cocoa/PasteboardCocoa.mm: (WebCore::Pasteboard::fileContentState): * platform/cocoa/PlatformView.h: * platform/cocoa/PlaybackSessionInterface.h: * platform/cocoa/PlaybackSessionModel.h: * platform/cocoa/PlaybackSessionModelMediaElement.h: * platform/cocoa/PlaybackSessionModelMediaElement.mm: * platform/cocoa/RuntimeApplicationChecksCocoa.mm: * platform/cocoa/SystemVersion.mm: (WebCore::createSystemMarketingVersion): * platform/cocoa/VideoFullscreenChangeObserver.h: * platform/cocoa/VideoFullscreenModel.h: * platform/cocoa/VideoFullscreenModelVideoElement.h: * platform/cocoa/VideoFullscreenModelVideoElement.mm: * platform/gamepad/cocoa/GameControllerGamepad.h: * platform/gamepad/cocoa/GameControllerGamepad.mm: * platform/gamepad/cocoa/GameControllerGamepadProvider.h: * platform/gamepad/cocoa/GameControllerGamepadProvider.mm: * platform/graphics/BitmapImage.h: * platform/graphics/Color.h: * platform/graphics/ComplexTextController.cpp: * platform/graphics/DisplayRefreshMonitor.cpp: (WebCore::DisplayRefreshMonitor::createDefaultDisplayRefreshMonitor): * platform/graphics/FloatSize.h: * platform/graphics/Font.cpp: (WebCore::Font::Font): (WebCore::createAndFillGlyphPage): * platform/graphics/Font.h: * platform/graphics/FontCache.cpp: (WebCore::FontCache::getCachedFontPlatformData): (WebCore::FontCache::fontForPlatformData): (WebCore::FontCache::purgeInactiveFontData): (WebCore::FontCache::inactiveFontCount): * platform/graphics/FontCascade.cpp: (WebCore::FontCascade::FontCascade): * platform/graphics/FontCascadeFonts.h: * platform/graphics/FontDescription.h: * platform/graphics/FontPlatformData.h: (WebCore::FontPlatformData::isEmoji const): * platform/graphics/GraphicsContext.cpp: (WebCore::GraphicsContext::drawImage): * platform/graphics/GraphicsContext3D.h: * platform/graphics/GraphicsLayer.h: * platform/graphics/Icon.h: * platform/graphics/Image.cpp: (WebCore::Image::drawTiled): (WebCore::Image::computeIntrinsicDimensions): * platform/graphics/Image.h: * platform/graphics/IntPoint.h: * platform/graphics/IntRect.h: * platform/graphics/IntSize.h: * platform/graphics/MediaPlayer.cpp: (WebCore::MediaPlayer::isAvailable): (WebCore::MediaPlayer::volumeChanged): * platform/graphics/MediaPlayer.h: * platform/graphics/MediaPlayerPrivate.h: * platform/graphics/NamedImageGeneratedImage.cpp: (WebCore::NamedImageGeneratedImage::draw): * platform/graphics/StringTruncator.cpp: (WebCore::centerTruncateToBuffer): (WebCore::rightTruncateToBuffer): (WebCore::rightClipToWordBuffer): * platform/graphics/TextTrackRepresentation.cpp: * platform/graphics/avfoundation/InbandMetadataTextTrackPrivateAVF.cpp: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.cpp: * platform/graphics/avfoundation/InbandTextTrackPrivateAVF.h: * platform/graphics/avfoundation/MediaPlaybackTargetMac.mm: * platform/graphics/avfoundation/MediaPlayerPrivateAVFoundation.cpp: (WebCore::MediaPlayerPrivateAVFoundation::supportsFullscreen const): (WebCore::MediaPlayerPrivateAVFoundation::rateChanged): * platform/graphics/avfoundation/WebMediaSessionManagerMac.cpp: * platform/graphics/avfoundation/WebMediaSessionManagerMac.h: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.cpp: * platform/graphics/avfoundation/cf/InbandTextTrackPrivateLegacyAVCF.h: * platform/graphics/avfoundation/objc/CDMInstanceFairPlayStreamingAVFObjC.mm: (WebCore::CDMInstanceFairPlayStreamingAVFObjC::supportsPersistentKeys): * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.h: * platform/graphics/avfoundation/objc/InbandTextTrackPrivateLegacyAVFObjC.mm: * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.h: * platform/graphics/avfoundation/objc/MediaPlaybackTargetPickerMac.mm: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.h: * platform/graphics/avfoundation/objc/MediaPlayerPrivateAVFoundationObjC.mm: (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayerLayer): (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVAssetForURL): (WebCore::MediaPlayerPrivateAVFoundationObjC::createAVPlayer): (WebCore::MediaPlayerPrivateAVFoundationObjC::setVideoFullscreenMode): (WebCore::MediaPlayerPrivateAVFoundationObjC::setVolume): (WebCore::MediaPlayerPrivateAVFoundationObjC::seekableTimeRangesLastModifiedTime const): (WebCore::MediaPlayerPrivateAVFoundationObjC::liveUpdateInterval const): (WebCore::MediaPlayerPrivateAVFoundationObjC::maximumDurationToCacheMediaTime const): (WebCore::MediaPlayerPrivateAVFoundationObjC::didPassCORSAccessCheck const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wouldTaintOrigin const): (WebCore::MediaPlayerPrivateAVFoundationObjC::isCurrentPlaybackTargetWireless const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessPlaybackTargetType const): (WebCore::MediaPlayerPrivateAVFoundationObjC::wirelessPlaybackTargetName const): (WebCore::MediaPlayerPrivateAVFoundationObjC::updateDisableExternalPlayback): (WebCore::MediaPlayerPrivateAVFoundationObjC::setShouldDisableSleep): * platform/graphics/avfoundation/objc/MediaPlayerPrivateMediaStreamAVFObjC.mm: (WebCore::MediaPlayerPrivateMediaStreamAVFObjC::supportsPictureInPicture const): * platform/graphics/avfoundation/objc/OutOfBandTextTrackPrivateAVF.h: * platform/graphics/ca/GraphicsLayerCA.cpp: (WebCore::GraphicsLayerCA::flushCompositingState): (WebCore::GraphicsLayerCA::computeVisibleAndCoverageRect const): (WebCore::GraphicsLayerCA::createTransformAnimationsFromKeyframes): * platform/graphics/ca/GraphicsLayerCA.h: * platform/graphics/ca/PlatformCALayer.h: * platform/graphics/ca/TileController.cpp: (WebCore::TileController::~TileController): (WebCore::TileController::adjustTileCoverageRect const): * platform/graphics/ca/TileController.h: * platform/graphics/ca/TileGrid.cpp: (WebCore::TileGrid::startedNewCohort): (WebCore::TileGrid::platformCALayerPaintContents): * platform/graphics/ca/TileGrid.h: * platform/graphics/ca/cocoa/LayerFlushSchedulerMac.cpp: (WebCore::currentRunLoop): * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm: (-[WebAnimationDelegate animationDidStart:]): (-[WebAnimationDelegate animationDidStop:finished:]): (WebCore::PlatformCALayerCocoa::setContentsScale): (WebCore::layerContentsFormat): (WebCore::PlatformCALayer::drawLayerContents): (WebCore::PlatformCALayerCocoa::backingStoreBytesPerPixel const): * platform/graphics/cg/GradientCG.cpp: (WebCore::Gradient::paint): * platform/graphics/cg/GraphicsContextCG.cpp: (WebCore::displayP3ColorSpaceRef): (WebCore::GraphicsContext::drawNativeImage): (WebCore::drawPatternCallback): (WebCore::GraphicsContext::drawPattern): (WebCore::GraphicsContext::drawLine): (WebCore::applyShadowOffsetWorkaroundIfNeeded): (WebCore::GraphicsContext::setURLForRect): * platform/graphics/cg/ImageBufferCG.cpp: (WebCore::jpegUTI): * platform/graphics/cg/ImageBufferDataCG.cpp: * platform/graphics/cg/ImageDecoderCG.cpp: (WebCore::ImageDecoderCG::createFrameImageAtIndex): * platform/graphics/cg/ImageSourceCGMac.mm: * platform/graphics/cg/PDFDocumentImage.cpp: * platform/graphics/cocoa/ColorCocoa.h: * platform/graphics/cocoa/ColorCocoa.mm: * platform/graphics/cocoa/FontCacheCoreText.cpp: (WebCore::FontCache::similarFont): (WebCore::computeNecessarySynthesis): (WebCore::FontDatabase::fontForPostScriptName): (WebCore::variationCapabilitiesForFontDescriptor): (WebCore::lookupFallbackFont): (WebCore::FontCache::systemFallbackForCharacters): (WebCore::FontCache::lastResortFallbackFont): * platform/graphics/cocoa/FontCascadeCocoa.mm: (WebCore::FontCascade::drawGlyphs): (WebCore::FontCascade::fontForCombiningCharacterSequence const): * platform/graphics/cocoa/FontCocoa.mm: (WebCore::Font::platformInit): (WebCore::Font::variantCapsSupportsCharacterForSynthesis const): (WebCore::Font::determinePitch): * platform/graphics/cocoa/FontDescriptionCocoa.cpp: (WebCore::FontCascadeDescription::effectiveFamilyCount const): (WebCore::FontCascadeDescription::effectiveFamilyAt const): * platform/graphics/cocoa/FontPlatformDataCocoa.mm: (WebCore::FontPlatformData::FontPlatformData): (WebCore::cascadeToLastResortAndVariationsFontDescriptor): * platform/graphics/cocoa/GraphicsContext3DCocoa.mm: (WebCore::GraphicsContext3D::GraphicsContext3D): (WebCore::GraphicsContext3D::texImageIOSurface2D): * platform/graphics/cocoa/GraphicsContextCocoa.mm: * platform/graphics/cocoa/IOSurface.mm: (WebCore::optionsForBiplanarSurface): (WebCore::optionsFor32BitSurface): (WebCore::IOSurface::maximumSize): (WebCore::IOSurface::surfaceID const): * platform/graphics/cocoa/SystemFontDatabaseCoreText.cpp: (WebCore::SystemFontDatabaseCoreText::cascadeList): * platform/graphics/cocoa/TextTrackRepresentationCocoa.h: * platform/graphics/cocoa/TextTrackRepresentationCocoa.mm: (-[WebCoreTextTrackRepresentationCocoaHelper observeValueForKeyPath:ofObject:change:context:]): * platform/graphics/cocoa/WebMetalLayer.h: * platform/graphics/cv/ImageTransferSessionVT.mm: (WebCore::cvPixelFormatOpenGLKey): (WebCore::ImageTransferSessionVT::ImageTransferSessionVT): * platform/graphics/cv/VideoTextureCopierCV.h: * platform/graphics/ios/DisplayRefreshMonitorIOS.h: * platform/graphics/ios/DisplayRefreshMonitorIOS.mm: * platform/graphics/ios/FontAntialiasingStateSaver.h: (WebCore::FontAntialiasingStateSaver::FontAntialiasingStateSaver): (WebCore::FontAntialiasingStateSaver::setup): (WebCore::FontAntialiasingStateSaver::restore): * platform/graphics/ios/FontCacheIOS.mm: * platform/graphics/ios/IconIOS.mm: * platform/graphics/mac/ComplexTextControllerCoreText.mm: (WebCore::ComplexTextController::collectComplexTextRunsForCharacters): * platform/graphics/mac/FloatPointMac.mm: * platform/graphics/mac/FloatRectMac.mm: * platform/graphics/mac/FloatSizeMac.mm: * platform/graphics/mac/FontCustomPlatformData.cpp: (WebCore::createFontCustomPlatformData): * platform/graphics/mac/ImageMac.mm: * platform/graphics/mac/IntPointMac.mm: * platform/graphics/mac/IntRectMac.mm: * platform/graphics/mac/IntSizeMac.mm: * platform/graphics/mac/WebKitNSImageExtras.h: * platform/graphics/mac/WebKitNSImageExtras.mm: * platform/graphics/mac/WebLayer.mm: (-[WebSimpleLayer display]): (-[WebSimpleLayer drawInContext:]): * platform/graphics/opengl/Extensions3DOpenGL.cpp: (WebCore::Extensions3DOpenGL::supportsExtension): * platform/graphics/opengl/GraphicsContext3DOpenGL.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLCommon.cpp: * platform/graphics/opengl/GraphicsContext3DOpenGLES.cpp: * platform/graphics/transforms/TransformationMatrix.cpp: (WebCore::TransformationMatrix::multiply): * platform/graphics/transforms/TransformationMatrix.h: * platform/ios/CursorIOS.cpp: * platform/ios/Device.cpp: * platform/ios/Device.h: * platform/ios/DeviceMotionClientIOS.h: * platform/ios/DeviceMotionClientIOS.mm: (WebCore::DeviceMotionClientIOS::motionChanged): * platform/ios/DeviceOrientationClientIOS.h: * platform/ios/DeviceOrientationClientIOS.mm: (WebCore::DeviceOrientationClientIOS::orientationChanged): * platform/ios/DragImageIOS.mm: * platform/ios/EventLoopIOS.mm: * platform/ios/KeyEventIOS.mm: * platform/ios/LegacyTileCache.h: * platform/ios/LegacyTileCache.mm: * platform/ios/LegacyTileGrid.h: * platform/ios/LegacyTileGrid.mm: * platform/ios/LegacyTileGridTile.h: * platform/ios/LegacyTileGridTile.mm: * platform/ios/LegacyTileLayer.h: * platform/ios/LegacyTileLayer.mm: * platform/ios/LegacyTileLayerPool.h: * platform/ios/LegacyTileLayerPool.mm: * platform/ios/LowPowerModeNotifierIOS.mm: * platform/ios/PasteboardIOS.mm: * platform/ios/PlatformEventFactoryIOS.h: * platform/ios/PlatformEventFactoryIOS.mm: * platform/ios/PlatformPasteboardIOS.mm: * platform/ios/PlatformScreenIOS.mm: * platform/ios/PlatformSpeechSynthesizerIOS.mm: * platform/ios/PlaybackSessionInterfaceAVKit.h: * platform/ios/PlaybackSessionInterfaceAVKit.mm: * platform/ios/RemoteCommandListenerIOS.h: * platform/ios/RemoteCommandListenerIOS.mm: * platform/ios/SSLKeyGeneratorIOS.cpp: * platform/ios/ScrollAnimatorIOS.h: * platform/ios/ScrollAnimatorIOS.mm: * platform/ios/ScrollViewIOS.mm: (WebCore::ScrollView::platformSetContentsSize): * platform/ios/ScrollbarThemeIOS.h: * platform/ios/ScrollbarThemeIOS.mm: * platform/ios/SystemMemoryIOS.cpp: (WebCore::systemMemoryLevel): * platform/ios/ThemeIOS.h: * platform/ios/ThemeIOS.mm: * platform/ios/TileControllerMemoryHandlerIOS.cpp: * platform/ios/TileControllerMemoryHandlerIOS.h: * platform/ios/UserAgentIOS.mm: (WebCore::deviceNameForUserAgent): * platform/ios/ValidationBubbleIOS.mm: * platform/ios/VideoFullscreenInterfaceAVKit.h: * platform/ios/VideoFullscreenInterfaceAVKit.mm: (WebCore::supportsPictureInPicture): * platform/ios/WebAVPlayerController.h: * platform/ios/WebAVPlayerController.mm: * platform/ios/WebBackgroundTaskController.h: * platform/ios/WebBackgroundTaskController.mm: * platform/ios/WebCoreMotionManager.h: * platform/ios/WebCoreMotionManager.mm: * platform/ios/WebEvent.h: * platform/ios/WebEvent.mm: * platform/ios/WebSQLiteDatabaseTrackerClient.h: * platform/ios/WebSQLiteDatabaseTrackerClient.mm: * platform/ios/WebVideoFullscreenControllerAVKit.h: * platform/ios/WebVideoFullscreenControllerAVKit.mm: (VideoFullscreenControllerContext::requestUpdateInlineRect): (VideoFullscreenControllerContext::requestVideoContentLayer): (VideoFullscreenControllerContext::returnVideoContentLayer): (VideoFullscreenControllerContext::didSetupFullscreen): (VideoFullscreenControllerContext::didExitFullscreen): * platform/ios/WidgetIOS.mm: * platform/ios/wak/FloatingPointEnvironment.cpp: * platform/ios/wak/FloatingPointEnvironment.h: * platform/ios/wak/WAKAppKitStubs.m: * platform/ios/wak/WAKClipView.m: * platform/ios/wak/WAKResponder.m: * platform/ios/wak/WAKScrollView.mm: * platform/ios/wak/WAKView.mm: * platform/ios/wak/WAKWindow.mm: * platform/ios/wak/WKContentObservation.cpp: * platform/ios/wak/WKGraphics.mm: * platform/ios/wak/WKUtilities.c: * platform/ios/wak/WKView.mm: * platform/ios/wak/WebCoreThread.mm: * platform/ios/wak/WebCoreThreadRun.cpp: * platform/ios/wak/WebCoreThreadSystemInterface.cpp: * platform/mac/DragDataMac.mm: (WebCore::rtfPasteboardType): (WebCore::rtfdPasteboardType): (WebCore::stringPasteboardType): (WebCore::urlPasteboardType): (WebCore::htmlPasteboardType): (WebCore::colorPasteboardType): (WebCore::pdfPasteboardType): (WebCore::tiffPasteboardType): (WebCore::DragData::containsURL const): * platform/mac/MediaRemoteSoftLink.cpp: * platform/mac/MediaRemoteSoftLink.h: * platform/mac/SuddenTermination.mm: * platform/mac/WebCoreFullScreenPlaceholderView.mm: * platform/mac/WebCoreFullScreenWarningView.h: * platform/mac/WebCoreFullScreenWarningView.mm: * platform/mac/WebCoreFullScreenWindow.h: * platform/mac/WebCoreFullScreenWindow.mm: * platform/mac/WebNSAttributedStringExtras.mm: * platform/mediastream/RealtimeMediaSourceFactory.h: * platform/mediastream/RealtimeVideoSource.cpp: (WebCore::RealtimeVideoSource::~RealtimeVideoSource): (WebCore::RealtimeVideoSource::prepareToProduceData): * platform/mediastream/ios/AVAudioSessionCaptureDevice.h: * platform/mediastream/ios/AVAudioSessionCaptureDevice.mm: * platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.h: * platform/mediastream/ios/AVAudioSessionCaptureDeviceManager.mm: * platform/mediastream/ios/CoreAudioCaptureSourceIOS.h: * platform/mediastream/ios/CoreAudioCaptureSourceIOS.mm: * platform/mediastream/libwebrtc/LibWebRTCMacros.h: * platform/mediastream/mac/AVCaptureDeviceManager.mm: (WebCore::deviceIsAvailable): * platform/mediastream/mac/AVMediaCaptureSource.mm: (WebCore::AVMediaCaptureSource::AVMediaCaptureSource): (WebCore::AVMediaCaptureSource::stopProducingData): (-[WebCoreAVMediaCaptureSourceObserver addNotificationObservers]): (-[WebCoreAVMediaCaptureSourceObserver removeNotificationObservers]): * platform/mediastream/mac/AVVideoCaptureSource.mm: (WebCore::AVVideoCaptureSource::AVVideoCaptureSource): (WebCore::AVVideoCaptureSource::~AVVideoCaptureSource): (WebCore::AVVideoCaptureSource::stopProducingData): (WebCore::AVVideoCaptureSource::prefersPreset): (WebCore::sensorOrientation): (WebCore::AVVideoCaptureSource::setupCaptureSession): (WebCore::AVVideoCaptureSource::monitorOrientation): (-[WebCoreAVVideoCaptureSourceObserver addNotificationObservers]): (-[WebCoreAVVideoCaptureSourceObserver removeNotificationObservers]): * platform/mediastream/mac/AudioTrackPrivateMediaStreamCocoa.cpp: (WebCore::AudioTrackPrivateMediaStreamCocoa::createAudioUnit): * platform/mediastream/mac/CoreAudioCaptureSource.cpp: (WebCore::CoreAudioSharedUnit::setupAudioUnit): (WebCore::CoreAudioCaptureSource::create): (WebCore::CoreAudioCaptureSource::CoreAudioCaptureSource): (WebCore::CoreAudioCaptureSource::~CoreAudioCaptureSource): (WebCore::CoreAudioCaptureSource::startProducingData): * platform/mediastream/mac/CoreAudioCaptureSource.h: * platform/mediastream/mac/DisplayCaptureSourceCocoa.cpp: (WebCore::DisplayCaptureSourceCocoa::~DisplayCaptureSourceCocoa): (WebCore::DisplayCaptureSourceCocoa::startProducingData): * platform/mediastream/mac/RealtimeIncomingVideoSourceCocoa.mm: (WebCore::RealtimeIncomingVideoSourceCocoa::pixelBufferPool): * platform/mediastream/mac/RealtimeMediaSourceCenterMac.cpp: * platform/mock/MediaPlaybackTargetMock.cpp: * platform/mock/MediaPlaybackTargetMock.h: * platform/mock/MediaPlaybackTargetPickerMock.cpp: * platform/mock/MediaPlaybackTargetPickerMock.h: * platform/mock/MockRealtimeAudioSource.cpp: (WebCore::MockRealtimeAudioSource::~MockRealtimeAudioSource): (WebCore::MockRealtimeAudioSource::startProducingData): * platform/mock/MockRealtimeMediaSourceCenter.cpp: * platform/mock/MockRealtimeVideoSource.cpp: * platform/network/CredentialStorage.cpp: * platform/network/NetworkStateNotifier.h: * platform/network/ResourceHandle.cpp: (WebCore::builtinResourceHandleConstructorMap): * platform/network/ResourceHandle.h: * platform/network/ResourceHandleClient.h: * platform/network/ResourceRequestBase.cpp: * platform/network/ResourceRequestBase.h: * platform/network/cf/DNSResolveQueueCFNet.cpp: * platform/network/cf/ProxyServerCFNet.cpp: * platform/network/cf/ResourceHandleCFNet.cpp: (WebCore::ResourceHandle::createCFURLConnection): * platform/network/cf/ResourceRequest.h: (WebCore::ResourceRequest::resourcePrioritiesEnabled): * platform/network/cf/ResourceRequestCFNet.cpp: (WebCore::ResourceRequest::doUpdatePlatformRequest): (WebCore::ResourceRequest::doUpdateResourceRequest): * platform/network/cf/SocketStreamHandleImplCFNet.cpp: (WebCore::callbacksRunLoop): (WebCore::copyCONNECTProxyResponse): * platform/network/cocoa/CookieCocoa.mm: (WebCore::Cookie::operator NSHTTPCookie * _Nullable const): * platform/network/cocoa/NetworkStorageSessionCocoa.mm: (WebCore::cookiesForURL): (WebCore::setHTTPCookiesForURL): * platform/network/cocoa/ResourceRequestCocoa.mm: (WebCore::ResourceRequest::doUpdateResourceRequest): (WebCore::ResourceRequest::doUpdatePlatformRequest): * platform/network/ios/NetworkStateNotifierIOS.mm: * platform/network/ios/WebCoreURLResponseIOS.h: * platform/network/ios/WebCoreURLResponseIOS.mm: * platform/network/mac/ResourceErrorMac.mm: * platform/network/mac/ResourceHandleMac.mm: (WebCore::ResourceHandle::createNSURLConnection): (WebCore::ResourceHandle::start): (WebCore::ResourceHandle::platformLoadResourceSynchronously): (WebCore::ResourceHandle::didReceiveAuthenticationChallenge): * platform/network/mac/UTIUtilities.mm: * platform/sql/SQLiteDatabase.h: (WebCore::SQLiteDatabase::sqlite3Handle const): * platform/sql/SQLiteFileSystem.cpp: * platform/sql/SQLiteFileSystem.h: * platform/sql/SQLiteTransaction.cpp: (WebCore::SQLiteTransaction::begin): (WebCore::SQLiteTransaction::commit): (WebCore::SQLiteTransaction::rollback): (WebCore::SQLiteTransaction::stop): * platform/text/PlatformLocale.cpp: * platform/text/PlatformLocale.h: * platform/text/ios/LocalizedDateCache.h: * platform/text/ios/LocalizedDateCache.mm: * platform/text/ios/TextEncodingRegistryIOS.mm: * platform/text/mac/LocaleMac.h: * platform/text/mac/LocaleMac.mm: * plugins/PluginViewBase.h: * rendering/InlineTextBox.cpp: (WebCore::InlineTextBox::paintPlatformDocumentMarker): (WebCore::InlineTextBox::resolveStyleForMarkedText): (WebCore::InlineTextBox::collectMarkedTextsForDocumentMarkers): * rendering/MarkedText.h: * rendering/RenderBlock.cpp: (WebCore::RenderBlock::paint): * rendering/RenderBox.cpp: (WebCore::RenderBox::paintBoxDecorations): (WebCore::allowMinMaxPercentagesInAutoHeightBlocksQuirk): * rendering/RenderBoxModelObject.cpp: (WebCore::RenderBoxModelObject::decodingModeForImageDraw const): * rendering/RenderButton.cpp: * rendering/RenderButton.h: * rendering/RenderElement.cpp: (WebCore::RenderElement::styleWillChange): (WebCore::RenderElement::styleDidChange): * rendering/RenderEmbeddedObject.cpp: (WebCore::RenderEmbeddedObject::allowsAcceleratedCompositing const): (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReason): (WebCore::RenderEmbeddedObject::setPluginUnavailabilityReasonWithDescription): * rendering/RenderFileUploadControl.cpp: (WebCore::RenderFileUploadControl::maxFilenameWidth const): (WebCore::RenderFileUploadControl::paintObject): * rendering/RenderFrameSet.cpp: (WebCore::RenderFrameSet::positionFrames): * rendering/RenderIFrame.h: * rendering/RenderImage.cpp: (WebCore::RenderImage::paintAreaElementFocusRing): * rendering/RenderImage.h: * rendering/RenderInline.cpp: * rendering/RenderInline.h: * rendering/RenderLayer.cpp: (WebCore::RenderLayer::RenderLayer): (WebCore::canCreateStackingContext): (WebCore::RenderLayer::canUseAcceleratedTouchScrolling const): (WebCore::RenderLayer::scrollTo): (WebCore::RenderLayer::scrollRectToVisible): (WebCore::RenderLayer::updateScrollInfoAfterLayout): (WebCore::RenderLayer::showsOverflowControls const): (WebCore::RenderLayer::calculateClipRects const): * rendering/RenderLayer.h: * rendering/RenderLayerBacking.cpp: (WebCore::RenderLayerBacking::createPrimaryGraphicsLayer): (WebCore::RenderLayerBacking::shouldClipCompositedBounds const): (WebCore::RenderLayerBacking::updateConfiguration): (WebCore::RenderLayerBacking::computeParentGraphicsLayerRect const): (WebCore::RenderLayerBacking::updateGeometry): (WebCore::RenderLayerBacking::paintsIntoWindow const): (WebCore::RenderLayerBacking::setContentsNeedDisplayInRect): (WebCore::RenderLayerBacking::paintIntoLayer): * rendering/RenderLayerBacking.h: * rendering/RenderLayerCompositor.cpp: (WebCore::RenderLayerCompositor::visibleRectForLayerFlushing const): (WebCore::RenderLayerCompositor::flushPendingLayerChanges): (WebCore::RenderLayerCompositor::updateCustomLayersAfterFlush): (WebCore::RenderLayerCompositor::didFlushChangesForLayer): (WebCore::RenderLayerCompositor::computeCompositingRequirements): (WebCore::RenderLayerCompositor::setIsInWindow): (WebCore::RenderLayerCompositor::requiresCompositingForScrollableFrame const): (WebCore::RenderLayerCompositor::isAsyncScrollableStickyLayer const): (WebCore::RenderLayerCompositor::requiresCompositingForOverflowScrolling const): (WebCore::RenderLayerCompositor::contentsScaleMultiplierForNewTiles const): (WebCore::RenderLayerCompositor::ensureRootLayer): (WebCore::RenderLayerCompositor::computeStickyViewportConstraints const): (WebCore::RenderLayerCompositor::willRemoveScrollingLayerWithBacking): (WebCore::RenderLayerCompositor::didAddScrollingLayer): * rendering/RenderLayerCompositor.h: * rendering/RenderLayerModelObject.cpp: (WebCore::RenderLayerModelObject::shouldPlaceBlockDirectionScrollbarOnLeft const): * rendering/RenderLineBreak.cpp: * rendering/RenderLineBreak.h: * rendering/RenderMenuList.cpp: (WebCore::RenderMenuList::RenderMenuList): (WebCore::RenderMenuList::willBeDestroyed): (WebCore::RenderMenuList::adjustInnerStyle): (RenderMenuList::updateFromElement): (RenderMenuList::setTextFromOption): (RenderMenuList::hidePopup): (RenderMenuList::popupDidHide): * rendering/RenderMenuList.h: * rendering/RenderObject.cpp: (WebCore::RenderObject::shouldApplyCompositedContainerScrollsForRepaint): (WebCore::RenderObject::destroy): * rendering/RenderObject.h: * rendering/RenderSearchField.cpp: (WebCore::RenderSearchField::itemText const): * rendering/RenderText.cpp: (WebCore::RenderText::setRenderedText): * rendering/RenderText.h: * rendering/RenderTextControl.cpp: * rendering/RenderTextControl.h: * rendering/RenderTextControlMultiLine.cpp: (WebCore::RenderTextControlMultiLine::getAverageCharWidth): * rendering/RenderTextControlSingleLine.cpp: (WebCore::RenderTextControlSingleLine::layout): (WebCore::RenderTextControlSingleLine::getAverageCharWidth): (WebCore::RenderTextControlSingleLine::preferredContentLogicalWidth const): * rendering/RenderTextLineBoxes.cpp: (WebCore::lineDirectionPointFitsInBox): (WebCore::RenderTextLineBoxes::positionForPoint const): * rendering/RenderTheme.cpp: (WebCore::RenderTheme::paintBorderOnly): * rendering/RenderThemeIOS.h: * rendering/RenderThemeIOS.mm: (WebCore::arKitBundle): * rendering/RenderView.cpp: (WebCore::RenderView::availableLogicalHeight const): (WebCore::RenderView::clientLogicalWidthForFixedPosition const): (WebCore::RenderView::clientLogicalHeightForFixedPosition const): (WebCore::RenderView::repaintViewRectangle const): * rendering/RenderWidget.cpp: (WebCore::RenderWidget::willBeDestroyed): * rendering/RootInlineBox.cpp: (WebCore::RootInlineBox::selectionTop const): (WebCore::RootInlineBox::selectionBottom const): * rendering/style/RenderStyle.h: * rendering/style/StyleRareInheritedData.cpp: (WebCore::StyleRareInheritedData::StyleRareInheritedData): (WebCore::StyleRareInheritedData::operator== const): * rendering/style/StyleRareInheritedData.h: * rendering/updating/RenderTreeUpdater.cpp: (WebCore::RenderTreeUpdater::updateElementRenderer): * style/StyleResolveForDocument.cpp: (WebCore::Style::resolveForDocument): * testing/Internals.cpp: (WebCore::Internals::getCurrentCursorInfo): (WebCore::Internals::isSelectPopupVisible): (WebCore::Internals::setQuickLookPassword): * testing/Internals.mm: (WebCore::Internals::userPrefersReducedMotion const): * testing/js/WebCoreTestSupportPrefix.h: * workers/WorkerThread.cpp: (WebCore::WorkerThread::workerThread): Source/WebCore/PAL: * pal/cf/CoreMediaSoftLink.cpp: * pal/cf/CoreMediaSoftLink.h: * pal/ios/UIKitSoftLink.h: * pal/ios/UIKitSoftLink.mm: * pal/spi/cf/CFNetworkSPI.h: * pal/spi/cocoa/AVKitSPI.h: * pal/spi/cocoa/CFNSURLConnectionSPI.h: * pal/spi/cocoa/CoreTextSPI.h: * pal/spi/cocoa/DataDetectorsCoreSPI.h: * pal/spi/cocoa/IOSurfaceSPI.h: * pal/spi/cocoa/LaunchServicesSPI.h: * pal/spi/cocoa/NEFilterSourceSPI.h: * pal/spi/cocoa/NSAttributedStringSPI.h: * pal/spi/cocoa/NSKeyedArchiverSPI.h: * pal/spi/cocoa/PassKitSPI.h: * pal/spi/cocoa/QuartzCoreSPI.h: * pal/spi/ios/DataDetectorsUISPI.h: * pal/spi/ios/GraphicsServicesSPI.h: * pal/spi/ios/MediaPlayerSPI.h: * pal/spi/ios/MobileGestaltSPI.h: * pal/spi/mac/AVFoundationSPI.h: * pal/system/mac/ClockCM.mm: (ClockCM::ClockCM): Source/WebKit: * DerivedSources.make: * NetworkProcess/Downloads/cocoa/DownloadCocoa.mm: (WebKit::Download::resume): * NetworkProcess/NetworkActivityTracker.h: * NetworkProcess/NetworkProcess.h: * NetworkProcess/NetworkProcessCreationParameters.cpp: (WebKit::NetworkProcessCreationParameters::encode const): (WebKit::NetworkProcessCreationParameters::decode): * NetworkProcess/NetworkProcessCreationParameters.h: * NetworkProcess/cache/NetworkCacheFileSystem.cpp: (WebKit::NetworkCache::isSafeToUseMemoryMapForPath): * NetworkProcess/cocoa/NetworkDataTaskCocoa.mm: (WebKit::updateTaskWithFirstPartyForSameSiteCookies): * NetworkProcess/cocoa/NetworkProcessCocoa.mm: (WebKit::NetworkProcess::platformInitializeNetworkProcessCocoa): (WebKit::NetworkProcess::sourceApplicationAuditData const): (WebKit::NetworkProcess::platformSyncAllCookies): * NetworkProcess/cocoa/NetworkSessionCocoa.h: * NetworkProcess/cocoa/NetworkSessionCocoa.mm: (-[WKNetworkSessionDelegate URLSession:task:didFinishCollectingMetrics:]): (WebKit::NetworkSessionCocoa::NetworkSessionCocoa): * NetworkProcess/ios/NetworkProcessIOS.mm: * Platform/IPC/mac/ConnectionMac.mm: (IPC::ConnectionTerminationWatchdog::ConnectionTerminationWatchdog): (IPC::Connection::receiveSourceEventHandler): (IPC::AccessibilityProcessSuspendedNotification): * Platform/ios/AccessibilityIOS.mm: * Platform/mac/LayerHostingContext.mm: (WebKit::LayerHostingContext::createForExternalHostingProcess): * Platform/spi/Cocoa/DeviceIdentitySPI.h: * Platform/spi/ios/CelestialSPI.h: * Platform/spi/ios/FrontBoardServicesSPI.h: * PluginProcess/mac/PluginProcessShim.mm: * Shared/API/Cocoa/WKDataDetectorTypesInternal.h: * Shared/API/Cocoa/WebKit.m: * Shared/AssistedNodeInformation.cpp: * Shared/AssistedNodeInformation.h: * Shared/CacheModel.cpp: (WebKit::calculateURLCacheSizes): * Shared/ChildProcess.cpp: * Shared/Cocoa/APIObject.mm: (API::Object::newObject): * Shared/Cocoa/WebKit2InitializeCocoa.mm: (WebKit::runInitializationCode): * Shared/DrawingAreaInfo.h: * Shared/EditorState.cpp: (WebKit::EditorState::encode const): (WebKit::EditorState::decode): (WebKit::EditorState::PostLayoutData::encode const): (WebKit::EditorState::PostLayoutData::decode): (WebKit::operator<<): * Shared/EditorState.h: * Shared/EntryPointUtilities/mac/XPCService/XPCServiceEntryPoint.mm: (WebKit::XPCServiceInitializerDelegate::checkEntitlements): * Shared/EntryPointUtilities/mac/XPCService/XPCServiceMain.mm: (WebKit::XPCServiceMain): * Shared/NativeWebKeyboardEvent.h: * Shared/NativeWebMouseEvent.h: * Shared/NativeWebTouchEvent.h: * Shared/PrintInfo.cpp: (WebKit::PrintInfo::encode const): (WebKit::PrintInfo::decode): * Shared/PrintInfo.h: * Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.h: * Shared/RemoteLayerTree/RemoteLayerTreePropertyApplier.mm: (WebKit::RemoteLayerTreePropertyApplier::applyProperties): * Shared/SessionState.cpp: (WebKit::FrameState::encode const): (WebKit::FrameState::decode): * Shared/SessionState.h: * Shared/WebCoreArgumentCoders.cpp: * Shared/WebCoreArgumentCoders.h: * Shared/WebEvent.h: * Shared/WebEventConversion.cpp: (WebKit::WebKit2PlatformTouchEvent::WebKit2PlatformTouchEvent): * Shared/WebKeyboardEvent.cpp: * Shared/WebPageCreationParameters.cpp: (WebKit::WebPageCreationParameters::encode const): (WebKit::WebPageCreationParameters::decode): * Shared/WebPageCreationParameters.h: * Shared/WebPlatformTouchPoint.cpp: * Shared/WebPreferences.yaml: * Shared/WebPreferencesDefaultValues.cpp: (defaultPassiveTouchListenersAsDefaultOnDocument): (defaultCustomPasteboardDataEnabled): * Shared/WebPreferencesDefaultValues.h: * Shared/WebProcessCreationParameters.cpp: (WebKit::WebProcessCreationParameters::encode const): (WebKit::WebProcessCreationParameters::decode): * Shared/WebProcessCreationParameters.h: * Shared/WebTouchEvent.cpp: * Shared/cf/ArgumentCodersCF.cpp: (IPC::encode): (IPC::decode): * Shared/cf/ArgumentCodersCF.h: * Shared/ios/ChildProcessIOS.mm: * Shared/ios/InteractionInformationAtPosition.h: * Shared/ios/InteractionInformationAtPosition.mm: * Shared/ios/InteractionInformationRequest.cpp: * Shared/ios/InteractionInformationRequest.h: * Shared/ios/NativeWebKeyboardEventIOS.mm: * Shared/ios/NativeWebMouseEventIOS.mm: * Shared/ios/NativeWebTouchEventIOS.mm: * Shared/ios/WebIOSEventFactory.h: * Shared/ios/WebIOSEventFactory.mm: * Shared/ios/WebIconUtilities.h: * Shared/ios/WebIconUtilities.mm: * Shared/mac/ArgumentCodersMac.h: * Shared/mac/ArgumentCodersMac.mm: * Shared/mac/SandboxExtensionMac.mm: * Shared/mac/SecItemShim.cpp: (WebKit::initializeSecItemShim): * UIProcess/API/APIPageConfiguration.cpp: (API::PageConfiguration::copy const): * UIProcess/API/APIPageConfiguration.h: * UIProcess/API/APIProcessPoolConfiguration.cpp: (API::ProcessPoolConfiguration::copy): * UIProcess/API/APIProcessPoolConfiguration.h: * UIProcess/API/APIUIClient.h: * UIProcess/API/C/WKInspector.cpp: * UIProcess/API/C/WKPage.cpp: (WKPageSetIgnoresViewportScaleLimits): * UIProcess/API/C/mac/WKContextPrivateMac.mm: (WKContextIsPlugInUpdateAvailable): * UIProcess/API/Cocoa/APIAttachmentCocoa.mm: * UIProcess/API/Cocoa/APIWebsiteDataStoreCocoa.mm: (API::WebsiteDataStore::defaultApplicationCacheDirectory): (API::WebsiteDataStore::legacyDefaultApplicationCacheDirectory): (API::WebsiteDataStore::legacyDefaultJavaScriptConfigurationDirectory): * UIProcess/API/Cocoa/WKNavigationAction.mm: (-[WKNavigationAction description]): * UIProcess/API/Cocoa/WKPreviewActionItemIdentifiers.mm: * UIProcess/API/Cocoa/WKPreviewElementInfo.mm: * UIProcess/API/Cocoa/WKProcessGroup.mm: (IGNORE_WARNINGS_BEGIN): * UIProcess/API/Cocoa/WKProcessPool.mm: (-[WKProcessPool _pluginProcessCount]): * UIProcess/API/Cocoa/WKWebView.mm: (shouldRequireUserGestureToLoadVideo): (validate): (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _setUpSQLiteDatabaseTrackerClient]): (-[WKWebView dealloc]): (-[WKWebView allowsLinkPreview]): (-[WKWebView setAllowsLinkPreview:]): (-[WKWebView _countStringMatches:options:maxCount:]): (-[WKWebView _findString:options:maxCount:]): (-[WKWebView _hideFindUI]): (-[WKWebView _scrollPerformanceData]): (-[WKWebView _allowsMediaDocumentInlinePlayback]): (-[WKWebView _setAllowsMediaDocumentInlinePlayback:]): (-[WKWebView _contentsOfUserInterfaceItem:]): (-[WKWebView _internalDoAfterNextPresentationUpdate:withoutWaitingForPainting:withoutWaitingForAnimatedResize:]): (-[WKWebView _doAfterNextVisibleContentRectUpdate:]): * UIProcess/API/Cocoa/WKWebViewConfiguration.mm: (-[WKWebViewConfiguration init]): (-[WKWebViewConfiguration encodeWithCoder:]): (-[WKWebViewConfiguration initWithCoder:]): (-[WKWebViewConfiguration copyWithZone:]): (defaultApplicationNameForUserAgent): * UIProcess/API/Cocoa/WKWebViewConfigurationInternal.h: * UIProcess/API/Cocoa/WKWebViewInternal.h: * UIProcess/API/Cocoa/_WKActivatedElementInfo.mm: (-[_WKActivatedElementInfo _initWithType:URL:location:title:ID:rect:image:userInfo:]): * UIProcess/API/Cocoa/_WKActivatedElementInfoInternal.h: * UIProcess/API/Cocoa/_WKAttachment.mm: * UIProcess/API/Cocoa/_WKContextMenuElementInfo.mm: * UIProcess/API/Cocoa/_WKElementAction.mm: * UIProcess/API/Cocoa/_WKElementActionInternal.h: * UIProcess/API/Cocoa/_WKProcessPoolConfiguration.mm: * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.h: * UIProcess/ApplePay/cocoa/WebPaymentCoordinatorProxyCocoa.mm: (-[WKPaymentAuthorizationViewControllerDelegate invalidate]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didAuthorizePayment:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectPaymentMethod:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectShippingMethod:handler:]): (-[WKPaymentAuthorizationViewControllerDelegate paymentAuthorizationViewController:didSelectShippingContact:handler:]): (WebKit::WebPaymentCoordinatorProxy::platformCanMakePaymentsWithActiveCard): (WebKit::toPKPaymentRequest): (WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentSession): (WebKit::WebPaymentCoordinatorProxy::platformCompleteShippingMethodSelection): (WebKit::WebPaymentCoordinatorProxy::platformCompleteShippingContactSelection): (WebKit::WebPaymentCoordinatorProxy::platformCompletePaymentMethodSelection): * UIProcess/ApplePay/ios/WebPaymentCoordinatorProxyIOS.mm: * UIProcess/ApplicationStateTracker.h: * UIProcess/ApplicationStateTracker.mm: * UIProcess/Automation/cocoa/WebAutomationSessionCocoa.mm: * UIProcess/Automation/ios/WebAutomationSessionIOS.mm: * UIProcess/BackgroundProcessResponsivenessTimer.cpp: (WebKit::BackgroundProcessResponsivenessTimer::shouldBeActive const): * UIProcess/ChildProcessProxy.cpp: (WebKit::ChildProcessProxy::shutDownProcess): * UIProcess/Cocoa/DownloadClient.h: * UIProcess/Cocoa/DownloadClient.mm: (WebKit::DownloadClient::takeActivityToken): (WebKit::DownloadClient::releaseActivityTokenIfNecessary): * UIProcess/Cocoa/LayerRepresentation.h: * UIProcess/Cocoa/NavigationState.h: * UIProcess/Cocoa/NavigationState.mm: (WebKit::NavigationState::NavigationState): (WebKit::NavigationState::didChangeIsLoading): * UIProcess/Cocoa/PlaybackSessionManagerProxy.h: * UIProcess/Cocoa/PlaybackSessionManagerProxy.messages.in: * UIProcess/Cocoa/PlaybackSessionManagerProxy.mm: * UIProcess/Cocoa/UIDelegate.h: * UIProcess/Cocoa/UIDelegate.mm: (WebKit::UIDelegate::setDelegate): (WebKit::UIDelegate::UIClient::decidePolicyForUserMediaPermissionRequest): * UIProcess/Cocoa/VersionChecks.h: * UIProcess/Cocoa/VersionChecks.mm: (WebKit::linkedOnOrAfter): * UIProcess/Cocoa/VideoFullscreenManagerProxy.h: * UIProcess/Cocoa/VideoFullscreenManagerProxy.messages.in: * UIProcess/Cocoa/VideoFullscreenManagerProxy.mm: (WebKit::VideoFullscreenManagerProxy::setupFullscreenWithID): (WebKit::VideoFullscreenManagerProxy::exitFullscreen): (WebKit::VideoFullscreenManagerProxy::preparedToReturnToInline): (WebKit::VideoFullscreenManagerProxy::setVideoLayerFrame): * UIProcess/Cocoa/ViewGestureController.h: * UIProcess/Cocoa/WKShareSheet.mm: (-[WKShareSheet presentWithParameters:completionHandler:]): * UIProcess/Cocoa/WKWebViewContentProvider.h: * UIProcess/Cocoa/WKWebViewContentProviderRegistry.h: * UIProcess/Cocoa/WKWebViewContentProviderRegistry.mm: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/Cocoa/WebPasteboardProxyCocoa.mm: * UIProcess/Cocoa/WebProcessPoolCocoa.mm: (WebKit::WebProcessPool::platformResolvePathsForSandboxExtensions): (WebKit::WebProcessPool::platformInitializeWebProcess): (WebKit::WebProcessPool::platformInitializeNetworkProcess): (WebKit::WebProcessPool::registerNotificationObservers): (WebKit::WebProcessPool::unregisterNotificationObservers): * UIProcess/Gamepad/cocoa/UIGamepadProviderCocoa.mm: (WebKit::UIGamepadProvider::platformSetDefaultGamepadProvider): * UIProcess/Gamepad/ios/UIGamepadProviderIOS.mm: * UIProcess/Launcher/mac/ProcessLauncherMac.mm: (WebKit::shouldLeakBoost): (WebKit::systemDirectoryPath): (WebKit::ProcessLauncher::launchProcess): * UIProcess/Network/NetworkProcessProxy.cpp: (WebKit::NetworkProcessProxy::didFinishLaunching): * UIProcess/PageClient.h: * UIProcess/ProcessAssertion.cpp: * UIProcess/ProcessAssertion.h: * UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.h: * UIProcess/RemoteLayerTree/RemoteLayerTreeDrawingAreaProxy.mm: (WebKit::RemoteLayerTreeDrawingAreaProxy::~RemoteLayerTreeDrawingAreaProxy): (WebKit::RemoteLayerTreeDrawingAreaProxy::commitLayerTree): (WebKit::RemoteLayerTreeDrawingAreaProxy::indicatorLocation const): (WebKit::RemoteLayerTreeDrawingAreaProxy::updateDebugIndicator): (WebKit::RemoteLayerTreeDrawingAreaProxy::didRefreshDisplay): (WebKit::RemoteLayerTreeDrawingAreaProxy::waitForDidUpdateActivityState): * UIProcess/RemoteLayerTree/RemoteLayerTreeHost.mm: (WebKit::RemoteLayerTreeHost::clearLayers): (WebKit::RemoteLayerTreeHost::detachRootLayer): * UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.cpp: (WebKit::RemoteScrollingCoordinatorProxy::scrollingTreeNodeDidScroll): * UIProcess/RemoteLayerTree/RemoteScrollingCoordinatorProxy.h: * UIProcess/RemoteLayerTree/RemoteScrollingTree.cpp: (WebKit::RemoteScrollingTree::createScrollingTreeNode): * UIProcess/RemoteLayerTree/RemoteScrollingTree.h: * UIProcess/RemoteLayerTree/ios/RemoteLayerTreeHostIOS.mm: * UIProcess/RemoteLayerTree/ios/RemoteScrollingCoordinatorProxyIOS.mm: * UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.h: * UIProcess/RemoteLayerTree/ios/ScrollingTreeOverflowScrollingNodeIOS.mm: * UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.h: * UIProcess/RemoteLayerTree/ios/ScrollingTreeScrollingNodeDelegateIOS.mm: * UIProcess/ResourceLoadStatisticsPersistentStorage.cpp: * UIProcess/WKImagePreviewViewController.h: * UIProcess/WKImagePreviewViewController.mm: * UIProcess/WKInspectorHighlightView.h: * UIProcess/WKInspectorHighlightView.mm: * UIProcess/WebAuthentication/Cocoa/LocalAuthenticator.mm: (WebKit::LocalAuthenticatorInternal::buildAuthData): (WebKit::LocalAuthenticator::makeCredential): (WebKit::LocalAuthenticator::continueMakeCredentialAfterUserConsented): (WebKit::LocalAuthenticator::continueMakeCredentialAfterAttested): (WebKit::LocalAuthenticator::getAssertion): (WebKit::LocalAuthenticator::continueGetAssertionAfterUserConsented): * UIProcess/WebAuthentication/Cocoa/LocalConnection.mm: (WebKit::LocalConnection::getUserConsent const): (WebKit::LocalConnection::getAttestation const): * UIProcess/WebAuthentication/Cocoa/LocalService.mm: (WebKit::LocalService::isAvailable): * UIProcess/WebFullScreenManagerProxy.cpp: (WebKit::WebFullScreenManagerProxy::supportsFullScreen): * UIProcess/WebGeolocationManagerProxy.cpp: * UIProcess/WebGeolocationManagerProxy.h: * UIProcess/WebInspectorProxy.cpp: * UIProcess/WebOpenPanelResultListenerProxy.cpp: * UIProcess/WebOpenPanelResultListenerProxy.h: * UIProcess/WebPageProxy.cpp: (WebKit::m_resetRecentCrashCountTimer): (WebKit::WebPageProxy::finishAttachingToWebProcess): (WebKit::WebPageProxy::initializeWebPage): (WebKit::WebPageProxy::close): (WebKit::WebPageProxy::viewDidLeaveWindow): (WebKit::WebPageProxy::updateThrottleState): (WebKit::WebPageProxy::waitForDidUpdateActivityState): (WebKit::WebPageProxy::didCommitLoadForFrame): (WebKit::WebPageProxy::exitFullscreenImmediately): (WebKit::WebPageProxy::runJavaScriptAlert): (WebKit::WebPageProxy::runJavaScriptConfirm): (WebKit::WebPageProxy::runJavaScriptPrompt): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::processDidTerminate): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::resetStateAfterProcessExited): (WebKit::WebPageProxy::creationParameters): (WebKit::WebPageProxy::requestGeolocationPermissionForFrame): (WebKit::WebPageProxy::hasActiveVideoForControlsManager const): (WebKit::WebPageProxy::requestControlledElementID const): (WebKit::WebPageProxy::isPlayingVideoInEnhancedFullscreen const): * UIProcess/WebPageProxy.h: * UIProcess/WebPageProxy.messages.in: * UIProcess/WebPasteboardProxy.h: * UIProcess/WebPasteboardProxy.messages.in: * UIProcess/WebProcessPool.cpp: (WebKit::WebProcessPool::ensureNetworkProcess): (WebKit::WebProcessPool::initializeNewWebProcess): (WebKit::WebProcessPool::updateProcessAssertions): (WebKit::WebProcessPool::reinstateNetworkProcessAssertionState): * UIProcess/WebProcessPool.h: * UIProcess/WebProcessProxy.cpp: (WebKit::isMainThreadOrCheckDisabled): (WebKit::WebProcessProxy::didFinishLaunching): (WebKit::WebProcessProxy::didSetAssertionState): * UIProcess/WebProcessProxy.h: * UIProcess/WebStorage/LocalStorageDatabaseTracker.cpp: (WebKit::LocalStorageDatabaseTracker::databasePath const): * UIProcess/WebStorage/LocalStorageDatabaseTracker.h: * UIProcess/WebStorage/ios/LocalStorageDatabaseTrackerIOS.mm: * UIProcess/WebsiteData/Cocoa/WebsiteDataStoreCocoa.mm: * UIProcess/_WKWebViewPrintFormatter.mm: * UIProcess/_WKWebViewPrintFormatterInternal.h: * UIProcess/ios/DragDropInteractionState.h: * UIProcess/ios/DragDropInteractionState.mm: * UIProcess/ios/InputViewUpdateDeferrer.h: * UIProcess/ios/InputViewUpdateDeferrer.mm: * UIProcess/ios/LayerRepresentation.mm: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: * UIProcess/ios/ProcessAssertionIOS.mm: * UIProcess/ios/ResourceLoadStatisticsPersistentStorageIOS.mm: * UIProcess/ios/SmartMagnificationController.h: * UIProcess/ios/SmartMagnificationController.messages.in: * UIProcess/ios/SmartMagnificationController.mm: * UIProcess/ios/TextCheckerIOS.mm: * UIProcess/ios/ViewGestureControllerIOS.mm: * UIProcess/ios/WKActionSheet.h: * UIProcess/ios/WKActionSheet.mm: * UIProcess/ios/WKActionSheetAssistant.h: * UIProcess/ios/WKActionSheetAssistant.mm: * UIProcess/ios/WKApplicationStateTrackingView.h: * UIProcess/ios/WKApplicationStateTrackingView.mm: * UIProcess/ios/WKContentView.mm: * UIProcess/ios/WKContentViewInteraction.h: * UIProcess/ios/WKContentViewInteraction.mm: * UIProcess/ios/WKGeolocationProviderIOS.h: * UIProcess/ios/WKGeolocationProviderIOS.mm: * UIProcess/ios/WKGeolocationProviderIOSObjCSecurityOrigin.mm: * UIProcess/ios/WKInspectorNodeSearchGestureRecognizer.h: * UIProcess/ios/WKInspectorNodeSearchGestureRecognizer.mm: * UIProcess/ios/WKKeyboardScrollingAnimator.h: * UIProcess/ios/WKKeyboardScrollingAnimator.mm: * UIProcess/ios/WKPDFPageNumberIndicator.h: * UIProcess/ios/WKPDFPageNumberIndicator.mm: * UIProcess/ios/WKPasswordView.h: * UIProcess/ios/WKPasswordView.mm: * UIProcess/ios/WKScrollView.h: * UIProcess/ios/WKScrollView.mm: * UIProcess/ios/WKSyntheticClickTapGestureRecognizer.h: * UIProcess/ios/WKSyntheticClickTapGestureRecognizer.m: * UIProcess/ios/WKWebEvent.h: * UIProcess/ios/WKWebEvent.mm: * UIProcess/ios/WebDataListSuggestionsDropdownIOS.h: * UIProcess/ios/WebDataListSuggestionsDropdownIOS.mm: * UIProcess/ios/WebPageProxyIOS.mm: * UIProcess/ios/WebProcessProxyIOS.mm: * UIProcess/ios/forms/WKAirPlayRoutePicker.h: * UIProcess/ios/forms/WKAirPlayRoutePicker.mm: * UIProcess/ios/forms/WKFileUploadPanel.h: * UIProcess/ios/forms/WKFileUploadPanel.mm: * UIProcess/ios/forms/WKFormColorControl.h: * UIProcess/ios/forms/WKFormColorControl.mm: * UIProcess/ios/forms/WKFormColorPicker.h: * UIProcess/ios/forms/WKFormColorPicker.mm: * UIProcess/ios/forms/WKFormInputControl.h: * UIProcess/ios/forms/WKFormInputControl.mm: * UIProcess/ios/forms/WKFormPopover.h: * UIProcess/ios/forms/WKFormPopover.mm: * UIProcess/ios/forms/WKFormSelectControl.h: * UIProcess/ios/forms/WKFormSelectControl.mm: * UIProcess/ios/forms/WKFormSelectPicker.h: * UIProcess/ios/forms/WKFormSelectPicker.mm: * UIProcess/ios/forms/WKFormSelectPopover.h: * UIProcess/ios/forms/WKFormSelectPopover.mm: * UIProcess/ios/fullscreen/FullscreenTouchSecheuristic.cpp: * UIProcess/ios/fullscreen/FullscreenTouchSecheuristic.h: * UIProcess/ios/fullscreen/WKFullScreenViewController.h: * UIProcess/ios/fullscreen/WKFullScreenViewController.mm: * UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.h: * UIProcess/ios/fullscreen/WKFullScreenWindowControllerIOS.mm: * UIProcess/ios/fullscreen/WKFullscreenStackView.h: * UIProcess/ios/fullscreen/WKFullscreenStackView.mm: * UIProcess/mac/LegacySessionStateCoding.cpp: (WebKit::encodeFrameStateNode): (WebKit::decodeBackForwardTreeNode): * UIProcess/mac/PageClientImplMac.h: * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.h: * UIProcess/mac/TiledCoreAnimationDrawingAreaProxy.mm: * UIProcess/mac/ViewSnapshotStore.mm: * UIProcess/mac/WKFullScreenWindowController.mm: * WebProcess/EntryPoint/mac/XPCService/WebContentServiceEntryPoint.mm: (WebContentServiceInitializer): * WebProcess/FullScreen/WebFullScreenManager.cpp: (WebKit::WebFullScreenManager::videoControlsManagerDidChange): (WebKit::WebFullScreenManager::willEnterFullScreen): (WebKit::WebFullScreenManager::didEnterFullScreen): (WebKit::WebFullScreenManager::willExitFullScreen): * WebProcess/Geolocation/WebGeolocationManager.cpp: * WebProcess/Geolocation/WebGeolocationManager.h: * WebProcess/Geolocation/WebGeolocationManager.messages.in: * WebProcess/InjectedBundle/API/Cocoa/WKWebProcessPlugInNodeHandle.mm: * WebProcess/InjectedBundle/API/c/WKBundlePage.cpp: * WebProcess/InjectedBundle/API/c/mac/WKBundlePageBannerMac.mm: * WebProcess/InjectedBundle/API/mac/WKDOMInternals.mm: * WebProcess/InjectedBundle/API/mac/WKWebProcessPlugInBrowserContextController.mm: (-[WKWebProcessPlugInBrowserContextController _setEditingDelegate:]): * WebProcess/WebCoreSupport/SessionStateConversion.cpp: (WebKit::toFrameState): (WebKit::applyFrameState): * WebProcess/WebCoreSupport/WebAlternativeTextClient.h: * WebProcess/WebCoreSupport/WebChromeClient.cpp: (WebKit::WebChromeClient::windowRect): (WebKit::WebChromeClient::enterVideoFullscreenForVideoElement): * WebProcess/WebCoreSupport/WebChromeClient.h: * WebProcess/WebCoreSupport/WebEditorClient.cpp: * WebProcess/WebCoreSupport/WebEditorClient.h: * WebProcess/WebCoreSupport/WebFrameLoaderClient.cpp: (WebKit::WebFrameLoaderClient::dispatchDidLayout): (WebKit::WebFrameLoaderClient::saveViewStateToItem): (WebKit::WebFrameLoaderClient::restoreViewState): (WebKit::WebFrameLoaderClient::transitionToCommittedForNewPage): (WebKit::WebFrameLoaderClient::objectContentType): * WebProcess/WebCoreSupport/WebFrameLoaderClient.h: * WebProcess/WebCoreSupport/WebInspectorClient.cpp: (WebKit::WebInspectorClient::highlight): (WebKit::WebInspectorClient::hideHighlight): * WebProcess/WebCoreSupport/WebInspectorClient.h: * WebProcess/WebCoreSupport/WebPlatformStrategies.cpp: * WebProcess/WebCoreSupport/WebPlatformStrategies.h: * WebProcess/WebCoreSupport/ios/WebChromeClientIOS.mm: * WebProcess/WebCoreSupport/ios/WebEditorClientIOS.mm: * WebProcess/WebCoreSupport/ios/WebFrameLoaderClientIOS.mm: * WebProcess/WebCoreSupport/mac/WebDragClientMac.mm: * WebProcess/WebPage/DrawingArea.cpp: (WebKit::DrawingArea::create): * WebProcess/WebPage/DrawingArea.h: * WebProcess/WebPage/FindController.cpp: (WebKit::FindController::findString): * WebProcess/WebPage/FindController.h: * WebProcess/WebPage/RemoteLayerTree/PlatformCALayerRemoteCustom.mm: (WebKit::PlatformCALayerRemoteCustom::PlatformCALayerRemoteCustom): * WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.h: * WebProcess/WebPage/RemoteLayerTree/RemoteLayerTreeDrawingArea.mm: (WebKit::RemoteLayerTreeDrawingArea::RemoteLayerTreeDrawingArea): (WebKit::RemoteLayerTreeDrawingArea::updateScrolledExposedRect): * WebProcess/WebPage/ViewGestureGeometryCollector.cpp: (WebKit::ViewGestureGeometryCollector::dispatchDidCollectGeometryForSmartMagnificationGesture): (WebKit::ViewGestureGeometryCollector::collectGeometryForSmartMagnificationGesture): (WebKit::ViewGestureGeometryCollector::mainFrameDidLayout): * WebProcess/WebPage/ViewGestureGeometryCollector.h: * WebProcess/WebPage/ViewGestureGeometryCollector.messages.in: * WebProcess/WebPage/ViewUpdateDispatcher.cpp: * WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.h: * WebProcess/WebPage/WKAccessibilityWebPageObjectIOS.mm: * WebProcess/WebPage/WebFrame.h: * WebProcess/WebPage/WebOpenPanelResultListener.cpp: * WebProcess/WebPage/WebOpenPanelResultListener.h: * WebProcess/WebPage/WebPage.cpp: (WebKit::m_cpuLimit): (WebKit::WebPage::~WebPage): (WebKit::WebPage::scalePage): (WebKit::WebPage::setUseFixedLayout): (WebKit::WebPage::disabledAdaptationsDidChange): (WebKit::WebPage::viewportPropertiesDidChange): (WebKit::WebPage::pageDidScroll): (WebKit::WebPage::mouseEvent): (WebKit::WebPage::updatePreferences): (WebKit::WebPage::willCommitLayerTree): (WebKit::WebPage::didFlushLayerTreeAtTime): (WebKit::WebPage::mainFrameDidLayout): (WebKit::WebPage::resetAssistedNodeForFrame): (WebKit::WebPage::elementDidFocus): (WebKit::WebPage::elementDidBlur): (WebKit::WebPage::willReplaceMultipartContent): (WebKit::WebPage::didReplaceMultipartContent): (WebKit::WebPage::didCommitLoad): * WebProcess/WebPage/WebPage.h: * WebProcess/WebPage/WebPage.messages.in: * WebProcess/WebPage/ios/FindControllerIOS.mm: * WebProcess/WebPage/ios/WebPageIOS.mm: * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.h: * WebProcess/WebPage/mac/TiledCoreAnimationDrawingArea.mm: (WebKit::TiledCoreAnimationDrawingArea::updateScrolledExposedRect): * WebProcess/WebPage/mac/WebPageMac.mm: * WebProcess/WebProcess.cpp: (WebKit::WebProcess::WebProcess): (WebKit::WebProcess::initializeConnection): (WebKit::WebProcess::initializeWebProcess): (WebKit::WebProcess::actualPrepareToSuspend): (WebKit::WebProcess::cancelPrepareToSuspend): (WebKit::WebProcess::processDidResume): * WebProcess/WebProcess.h: * WebProcess/cocoa/PlaybackSessionManager.h: * WebProcess/cocoa/PlaybackSessionManager.messages.in: * WebProcess/cocoa/PlaybackSessionManager.mm: * WebProcess/cocoa/VideoFullscreenManager.h: * WebProcess/cocoa/VideoFullscreenManager.messages.in: * WebProcess/cocoa/VideoFullscreenManager.mm: (WebKit::VideoFullscreenManager::supportsVideoFullscreen const): (WebKit::VideoFullscreenManager::supportsVideoFullscreenStandby const): (WebKit::VideoFullscreenManager::didSetupFullscreen): (WebKit::VideoFullscreenManager::didExitFullscreen): * WebProcess/cocoa/WebProcessCocoa.mm: (WebKit::WebProcess::platformInitializeWebProcess): (WebKit::WebProcess::initializeProcessName): (WebKit::registerWithAccessibility): (WebKit::WebProcess::sourceApplicationAuditData const): (WebKit::WebProcess::initializeSandbox): * WebProcess/mac/SecItemShimLibrary.mm: * config.h: Source/WebKitLegacy: * Storage/StorageTracker.cpp: (WebKit::StorageTracker::syncDeleteAllOrigins): (WebKit::StorageTracker::syncDeleteOrigin): * WebCoreSupport/WebResourceLoadScheduler.cpp: (WebResourceLoadScheduler::loadResource): (WebResourceLoadScheduler::scheduleLoad): (WebResourceLoadScheduler::remove): (WebResourceLoadScheduler::servePendingRequests): Source/WebKitLegacy/ios: * DefaultDelegates/WebDefaultFormDelegate.m: * DefaultDelegates/WebDefaultFrameLoadDelegate.m: * DefaultDelegates/WebDefaultResourceLoadDelegate.m: * DefaultDelegates/WebDefaultUIKitDelegate.m: * Misc/MemoryMeasure.mm: * Misc/WebGeolocationCoreLocationProvider.mm: * Misc/WebGeolocationProviderIOS.mm: * Misc/WebNSStringExtrasIOS.m: * Misc/WebUIKitSupport.mm: (WebKitPlatformSystemRootDirectory): * WebCoreSupport/PopupMenuIOS.mm: * WebCoreSupport/SearchPopupMenuIOS.cpp: * WebCoreSupport/WebChromeClientIOS.h: * WebCoreSupport/WebChromeClientIOS.mm: * WebCoreSupport/WebFixedPositionContent.mm: * WebCoreSupport/WebFrameIOS.mm: * WebCoreSupport/WebGeolocation.mm: * WebCoreSupport/WebInspectorClientIOS.mm: * WebCoreSupport/WebMIMETypeRegistry.mm: * WebCoreSupport/WebSelectionRect.m: * WebCoreSupport/WebVisiblePosition.mm: * WebView/WebFrameViewWAKCompatibility.m: * WebView/WebPDFViewIOS.mm: * WebView/WebPDFViewPlaceholder.mm: * WebView/WebPlainWhiteView.h: * WebView/WebPlainWhiteView.mm: Source/WebKitLegacy/mac: * DOM/DOM.mm: (-[DOMNode boundingBox]): * DOM/DOMElement.mm: * DOM/DOMHTML.mm: * DOM/DOMInternal.mm: * DOM/DOMUIKitExtensions.mm: * DOM/WebDOMOperations.mm: * DefaultDelegates/WebDefaultContextMenuDelegate.mm: * DefaultDelegates/WebDefaultEditingDelegate.m: * DefaultDelegates/WebDefaultPolicyDelegate.m: (-[WebDefaultPolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): * DefaultDelegates/WebDefaultUIDelegate.h: * DefaultDelegates/WebDefaultUIDelegate.mm: (-[WebDefaultUIDelegate webViewClose:]): (-[WebDefaultUIDelegate webViewFocus:]): (-[WebDefaultUIDelegate webViewUnfocus:]): (-[WebDefaultUIDelegate webViewIsResizable:]): (-[WebDefaultUIDelegate webView:setResizable:]): (-[WebDefaultUIDelegate webView:setFrame:]): (-[WebDefaultUIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]): * History/BackForwardList.h: * History/BackForwardList.mm: * History/WebBackForwardList.mm: (+[WebBackForwardList initialize]): (bumperCarBackForwardHackNeeded): * History/WebHistory.mm: (-[WebHistoryPrivate addItem:discardDuplicate:]): (-[WebHistory _sendNotification:entries:]): (-[WebHistory loadFromURL:error:]): (-[WebHistory saveToURL:error:]): * History/WebHistoryItem.mm: (WKNotifyHistoryItemChanged): (+[WebHistoryItem initialize]): (-[WebHistoryItem initFromDictionaryRepresentation:]): * History/WebURLsWithTitles.m: * Misc/WebCache.mm: (+[WebCache initialize]): * Misc/WebDownload.mm: (-[WebDownloadInternal download:didReceiveAuthenticationChallenge:]): * Misc/WebElementDictionary.mm: (+[WebElementDictionary initialize]): (+[WebElementDictionary initializeLookupTable]): * Misc/WebIconDatabase.mm: * Misc/WebKitNSStringExtras.mm: (+[NSString _webkit_localCacheDirectoryWithBundleIdentifier:]): * Misc/WebKitVersionChecks.h: * Misc/WebKitVersionChecks.mm: (WebKitLinkedOnOrAfter): (WebKitLinkTimeVersion): * Misc/WebLocalizableStrings.mm: * Misc/WebNSControlExtras.h: * Misc/WebNSControlExtras.m: * Misc/WebNSEventExtras.m: * Misc/WebNSFileManagerExtras.mm: * Misc/WebNSImageExtras.h: * Misc/WebNSImageExtras.m: * Misc/WebNSPasteboardExtras.mm: * Misc/WebNSPrintOperationExtras.h: * Misc/WebNSPrintOperationExtras.m: * Misc/WebNSViewExtras.m: * Misc/WebNSWindowExtras.m: * Panels/WebAuthenticationPanel.h: * Panels/WebAuthenticationPanel.m: * Panels/WebPanelAuthenticationHandler.m: * Plugins/Hosted/WebHostedNetscapePluginView.mm: (+[WebHostedNetscapePluginView initialize]): * Plugins/WebBasePluginPackage.h: * Plugins/WebBasePluginPackage.mm: * Plugins/WebJavaPlugIn.h: * Plugins/WebPluginContainerCheck.mm: * Plugins/WebPluginController.h: * Plugins/WebPluginController.mm: (-[WebPluginController plugInViewWithArguments:fromPluginPackage:]): (-[WebPluginController addPlugin:]): (-[WebPluginController destroyPlugin:]): (-[WebPluginController destroyAllPlugins]): * Plugins/WebPluginDatabase.mm: (+[WebPluginDatabase _defaultPlugInPaths]): * Plugins/WebPluginPackage.mm: (-[WebPluginPackage initWithPath:]): * Storage/WebDatabaseManager.mm: (-[WebDatabaseManager deleteAllDatabases]): * Storage/WebDatabaseManagerClient.h: * Storage/WebDatabaseManagerClient.mm: (WebDatabaseManagerClient::WebDatabaseManagerClient): (WebDatabaseManagerClient::~WebDatabaseManagerClient): * Storage/WebStorageManager.mm: (-[WebStorageManager deleteAllOrigins]): (WebKitInitializeStorageIfNecessary): * WebCoreSupport/WebAlternativeTextClient.h: * WebCoreSupport/WebApplicationCache.mm: (applicationCacheBundleIdentifier): * WebCoreSupport/WebChromeClient.h: * WebCoreSupport/WebChromeClient.mm: (WebChromeClient::setWindowRect): (WebChromeClient::windowRect): (WebChromeClient::takeFocus): (WebChromeClient::addMessageToConsole): (WebChromeClient::enableSuddenTermination): (WebChromeClient::disableSuddenTermination): (WebChromeClient::createPopupMenu const): (WebChromeClient::createSearchPopupMenu const): (WebChromeClient::shouldPaintEntireContents const): (WebChromeClient::supportsVideoFullscreen): (WebChromeClient::supportsFullScreenForElement): (WebChromeClient::enterFullScreenForElement): (WebChromeClient::exitFullScreenForElement): * WebCoreSupport/WebContextMenuClient.mm: * WebCoreSupport/WebDragClient.mm: * WebCoreSupport/WebEditorClient.h: * WebCoreSupport/WebEditorClient.mm: (+[WebUndoStep initialize]): (updateFontPanel): (WebEditorClient::didBeginEditing): (WebEditorClient::respondToChangedContents): (WebEditorClient::respondToChangedSelection): (WebEditorClient::canceledComposition): (WebEditorClient::didEndEditing): (WebEditorClient::didWriteSelectionToPasteboard): (attributesForAttributedStringConversion): (WebEditorClient::setInsertionPasteboard): (WebEditorClient::registerUndoOrRedoStep): (WebEditorClient::handleKeyboardEvent): (WebEditorClient::handleInputMethodKeydown): (WebEditorClient::textDidChangeInTextField): (WebEditorClient::requestCheckingOfString): * WebCoreSupport/WebFrameLoaderClient.h: * WebCoreSupport/WebFrameLoaderClient.mm: (WebFrameLoaderClient::detachedFromParent2): (WebFrameLoaderClient::dispatchDidLoadResourceFromMemoryCache): (WebFrameLoaderClient::assignIdentifierToInitialRequest): (WebFrameLoaderClient::dispatchWillSendRequest): (WebFrameLoaderClient::dispatchDidReceiveAuthenticationChallenge): (WebFrameLoaderClient::dispatchDidReceiveResponse): (WebFrameLoaderClient::willCacheResponse const): (WebFrameLoaderClient::dispatchDidReceiveContentLength): (WebFrameLoaderClient::dispatchDidFinishLoading): (WebFrameLoaderClient::dispatchDidFailLoading): (WebFrameLoaderClient::dispatchDidChangeLocationWithinPage): (WebFrameLoaderClient::dispatchWillClose): (WebFrameLoaderClient::dispatchDidStartProvisionalLoad): (WebFrameLoaderClient::dispatchDidCommitLoad): (WebFrameLoaderClient::dispatchDidFailProvisionalLoad): (WebFrameLoaderClient::dispatchDidFailLoad): (WebFrameLoaderClient::dispatchDidFinishDocumentLoad): (WebFrameLoaderClient::dispatchDidFinishLoad): (WebFrameLoaderClient::dispatchDidReachLayoutMilestone): (WebFrameLoaderClient::willChangeTitle): (WebFrameLoaderClient::didChangeTitle): (WebFrameLoaderClient::didReplaceMultipartContent): (WebFrameLoaderClient::updateGlobalHistory): (WebFrameLoaderClient::saveViewStateToItem): (WebFrameLoaderClient::restoreViewState): (WebFrameLoaderClient::provisionalLoadStarted): (WebFrameLoaderClient::prepareForDataSourceReplacement): (WebFrameLoaderClient::setTitle): (WebFrameLoaderClient::savePlatformDataToCachedFrame): (WebFrameLoaderClient::transitionToCommittedFromCachedFrame): (WebFrameLoaderClient::transitionToCommittedForNewPage): (WebFrameLoaderClient::didRestoreFromPageCache): (WebFrameLoaderClient::actionDictionary const): (WebFrameLoaderClient::createPlugin): (WebFrameLoaderClient::getLoadDecisionForIcons): (WebFrameLoaderClient::finishedLoadingIcon): (+[WebFramePolicyListener initialize]): * WebCoreSupport/WebFrameNetworkingContext.mm: * WebCoreSupport/WebGeolocationClient.h: * WebCoreSupport/WebGeolocationClient.mm: (WebGeolocationClient::requestPermission): * WebCoreSupport/WebInspectorClient.h: * WebCoreSupport/WebJavaScriptTextInputPanel.m: * WebCoreSupport/WebNotificationClient.mm: * WebCoreSupport/WebOpenPanelResultListener.mm: * WebCoreSupport/WebPlatformStrategies.h: * WebCoreSupport/WebPlatformStrategies.mm: * WebCoreSupport/WebProgressTrackerClient.h: * WebCoreSupport/WebProgressTrackerClient.mm: (WebProgressTrackerClient::progressStarted): (WebProgressTrackerClient::progressEstimateChanged): (WebProgressTrackerClient::progressFinished): * WebCoreSupport/WebSecurityOrigin.mm: * WebInspector/WebNodeHighlight.h: * WebInspector/WebNodeHighlight.mm: (-[WebNodeHighlight initWithTargetView:inspectorController:]): (-[WebNodeHighlight dealloc]): (-[WebNodeHighlight attach]): * WebInspector/WebNodeHighlightView.h: * WebInspector/WebNodeHighlightView.mm: (-[WebNodeHighlightView initWithWebNodeHighlight:]): (-[WebNodeHighlightView dealloc]): * WebInspector/WebNodeHighlighter.mm: (-[WebNodeHighlighter highlight]): * WebView/WebArchive.mm: (+[WebArchivePrivate initialize]): * WebView/WebClipView.h: * WebView/WebDataSource.mm: (WebDataSourcePrivate::WebDataSourcePrivate): (+[WebDataSource initialize]): (+[WebDataSource _repTypesAllowImageTypeOmission:]): (-[WebDataSource _makeRepresentation]): * WebView/WebDelegateImplementationCaching.h: * WebView/WebDelegateImplementationCaching.mm: (CallDelegate): (CallDelegateReturningFloat): (CallDelegateReturningBoolean): (CallUIDelegate): (CallUIDelegateReturningFloat): (CallUIDelegateReturningBoolean): (CallFrameLoadDelegate): (CallFrameLoadDelegateReturningBoolean): (CallResourceLoadDelegate): (CallScriptDebugDelegate): (CallFormDelegate): (CallFormDelegateReturningBoolean): * WebView/WebDeviceOrientation.mm: (-[WebDeviceOrientation initWithCanProvideAlpha:alpha:canProvideBeta:beta:canProvideGamma:gamma:]): * WebView/WebDocumentInternal.h: * WebView/WebDocumentLoaderMac.mm: (needsDataLoadWorkaround): * WebView/WebDynamicScrollBarsViewInternal.h: * WebView/WebFormDelegate.m: * WebView/WebFrame.mm: (-[WebFrame _updateBackgroundAndUpdatesWhileOffscreen]): (-[WebFrame _unmarkAllMisspellings]): (-[WebFrame _paintBehaviorForDestinationContext:]): (-[WebFrame _drawRect:contentsOnly:]): (-[WebFrame _stringByEvaluatingJavaScriptFromString:forceUserGesture:]): (-[WebFrame _scrollDOMRangeToVisible:]): (-[WebFrame _bodyBackgroundColor]): (-[WebFrame accessibilityRoot]): (needsMicrosoftMessengerDOMDocumentWorkaround): * WebView/WebFrameInternal.h: * WebView/WebFrameView.mm: (-[WebFrameView _setDocumentView:]): (+[WebFrameView _viewTypesAllowImageTypeOmission:]): (-[WebFrameView _viewClassForMIMEType:]): (-[WebFrameView initWithFrame:]): (-[WebFrameView drawRect:]): (-[WebFrameView _firstResponderIsFormControl]): (-[WebFrameView keyDown:keyDown:]): (-[WebFrameView _isScrollable]): * WebView/WebFullScreenController.h: * WebView/WebFullScreenController.mm: * WebView/WebHTMLRepresentation.mm: * WebView/WebHTMLView.mm: (-[WebHTMLView hitTest:]): (-[WebHTMLView initWithFrame:]): (-[WebHTMLView dealloc]): (-[WebHTMLView addSubview:]): (-[WebHTMLView mouseDown:]): (-[WebHTMLView mouseUp:]): (-[WebHTMLView resignFirstResponder]): (-[WebHTMLView accessibilityHitTest:]): (-[WebHTMLView selectionImageForcingBlackText:selectionImageForcingBlackText:]): * WebView/WebHTMLViewInternal.h: * WebView/WebIndicateLayer.h: * WebView/WebIndicateLayer.mm: * WebView/WebMediaPlaybackTargetPicker.h: * WebView/WebMediaPlaybackTargetPicker.mm: * WebView/WebPDFDocumentExtras.h: * WebView/WebPDFDocumentExtras.mm: * WebView/WebPDFRepresentation.h: * WebView/WebPDFRepresentation.mm: * WebView/WebPDFView.h: * WebView/WebPreferences.mm: (cacheModelForMainBundle): (WebPreferencesPrivate::WebPreferencesPrivate): (-[WebPreferences initWithIdentifier:sendChangeNotification:initWithIdentifier:]): (-[WebPreferences encodeWithCoder:]): (+[WebPreferences standardPreferences]): (+[WebPreferences initialize]): (-[WebPreferences _valueForKey:]): (-[WebPreferences _setStringValue:forKey:]): (-[WebPreferences _setIntegerValue:forKey:]): (-[WebPreferences _setUnsignedIntValue:forKey:]): (-[WebPreferences _setFloatValue:forKey:]): (-[WebPreferences _setBoolValue:forKey:]): (-[WebPreferences _setLongLongValue:forKey:]): (-[WebPreferences _setUnsignedLongLongValue:forKey:]): (-[WebPreferences _postCacheModelChangedNotification]): (-[WebPreferences _postPreferencesChangedNotification]): (+[WebPreferences _switchNetworkLoaderToNewTestingSession]): (-[WebPreferences setStorageBlockingPolicy:]): * WebView/WebResource.mm: (+[WebResourcePrivate initialize]): * WebView/WebTextCompletionController.h: * WebView/WebTextIterator.mm: (+[WebTextIteratorPrivate initialize]): * WebView/WebView.mm: (shouldEnableLoadDeferring): (shouldRestrictWindowFocus): (shouldRespectPriorityInCSSAttributeSetters): (shouldUseLegacyBackgroundSizeShorthandBehavior): (shouldAllowPictureInPictureMediaPlayback): (shouldAllowContentSecurityPolicySourceStarToMatchAnyProtocol): (shouldAllowWindowOpenWithoutUserGesture): (shouldConvertInvalidURLsToBlank): (shouldRequireUserGestureToLoadVideo): (-[WebView _commonInitializationWithFrameName:groupName:]): (+[WebView _viewClass:andRepresentationClass:forMIMEType:allowingPlugins:]): (-[WebView _viewClass:andRepresentationClass:forMIMEType:]): (-[WebView _closePluginDatabases]): (-[WebView _closeWithFastTeardown]): (-[WebView _close]): (+[WebView _MIMETypeForFile:]): (-[WebView setShowingInspectorIndication:]): (-[WebView _setFormDelegate:]): (-[WebView _needsPreHTML5ParserQuirks]): (-[WebView _preferencesChangedNotification:]): (-[WebView _preferencesChanged:]): (-[WebView _cacheResourceLoadDelegateImplementations]): (-[WebView _cacheFrameLoadDelegateImplementations]): (-[WebView _policyDelegateForwarder]): (-[WebView _UIDelegateForwarder]): (-[WebView _editingDelegateForwarder]): (-[WebView _updateActiveState]): (-[_WebSafeForwarder forwardInvocation:]): (+[WebView initialize]): (-[WebView _pluginForMIMEType:]): (-[WebView _pluginForExtension:]): (-[WebView _isMIMETypeRegisteredAsPlugin:]): (+[WebView canShowMIMETypeAsHTML:]): (-[WebView _initWithArguments:]): (-[WebView initWithFrame:frameName:groupName:]): (-[WebView dealloc]): (-[WebView close]): (-[WebView viewDidMoveToWindow]): (-[WebView setUIDelegate:]): (-[WebView setResourceLoadDelegate:]): (-[WebView setPolicyDelegate:]): (-[WebView setFrameLoadDelegate:]): (-[WebView goBack]): (-[WebView goForward]): (-[WebView stringByEvaluatingJavaScriptFromString:]): (-[WebView setHostWindow:]): (-[WebView becomeFirstResponder]): (+[WebView _cacheModelChangedNotification:]): (-[WebView _frameViewAtWindowPoint:]): (+[WebView _preflightSpellCheckerNow:]): (+[WebView _preflightSpellChecker]): (-[WebView canGoBack]): (-[WebView canGoForward]): (-[WebView stopLoading:]): (-[WebView reload:]): (-[WebView setMainFrameDocumentReady:]): (-[WebView _shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): (-[WebView setContinuousSpellCheckingEnabled:]): (-[WebView undoManager]): (-[WebView isAutomaticQuoteSubstitutionEnabled]): (-[WebView isAutomaticLinkDetectionEnabled]): (-[WebView isAutomaticDashSubstitutionEnabled]): (-[WebView isAutomaticTextReplacementEnabled]): (-[WebView isAutomaticSpellingCorrectionEnabled]): (+[WebView _setCacheModel:]): (-[WebView _retrieveKeyboardUIModeFromPreferences:]): (-[WebView _keyboardUIMode]): (LayerFlushController::flushLayers): (-[WebView _scheduleCompositingLayerFlush]): (-[WebView _enterVideoFullscreenForVideoElement:mode:]): (-[WebView fullScreenPlaceholderView]): (WebInstallMemoryPressureHandler): * WebView/WebViewData.h: * WebView/WebViewData.mm: (+[WebViewPrivate initialize]): (-[WebViewPrivate init]): (-[WebViewPrivate dealloc]): * WebView/WebViewInternal.h: Source/WTF: * wtf/Assertions.h: * wtf/FeatureDefines.h: * wtf/InlineASM.h: * wtf/MemoryPressureHandler.cpp: (WTF::thresholdForPolicy): * wtf/Platform.h: * wtf/cocoa/MemoryPressureHandlerCocoa.mm: (WTF::MemoryPressureHandler::install): (WTF::MemoryPressureHandler::respondToMemoryPressure): * wtf/spi/cocoa/NSMapTableSPI.h: * wtf/spi/darwin/XPCSPI.h: * wtf/text/StringCommon.h: * wtf/text/TextBreakIterator.cpp: * wtf/text/TextBreakIterator.h: * wtf/unicode/icu/CollatorICU.cpp: (WTF::copyDefaultLocale): Tools: * DumpRenderTree/AccessibilityController.h: * DumpRenderTree/AccessibilityTextMarker.h: * DumpRenderTree/AccessibilityUIElement.cpp: (AccessibilityUIElement::getJSClass): * DumpRenderTree/AccessibilityUIElement.h: * DumpRenderTree/DumpRenderTreeFileDraggingSource.h: * DumpRenderTree/TestRunner.cpp: (getSecureEventInputIsEnabledCallback): (TestRunner::staticFunctions): (TestRunner::callUIScriptCallback): * DumpRenderTree/TestRunner.h: * DumpRenderTree/cg/PixelDumpSupportCG.cpp: * DumpRenderTree/ios/AccessibilityTextMarkerIOS.mm: * DumpRenderTree/ios/AccessibilityUIElementIOS.mm: * DumpRenderTree/ios/DumpRenderTreeAppMain.mm: * DumpRenderTree/ios/DumpRenderTreeBrowserView.mm: * DumpRenderTree/ios/TextInputControllerIOS.m: * DumpRenderTree/ios/UIScriptControllerIOS.mm: * DumpRenderTree/mac/AppleScriptController.m: * DumpRenderTree/mac/DumpRenderTree.mm: (createWebViewAndOffscreenWindow): (destroyWebViewAndOffscreenWindow): (resetWebPreferencesToConsistentValues): (setDefaultsToConsistentValuesForTesting): (allocateGlobalControllers): (releaseGlobalControllers): (addTestPluginsToPluginSearchPath): (prepareConsistentTestingEnvironment): (dumpRenderTree): (DumpRenderTreeMain): (dumpFrameAsPDF): (dumpBackForwardListForAllWindows): (updateDisplay): (dump): (resetWebViewToConsistentStateBeforeTesting): (runTest): (displayWebView): (displayAndTrackRepaintsWebView): * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: * DumpRenderTree/mac/DumpRenderTreeMac.h: * DumpRenderTree/mac/DumpRenderTreePasteboard.h: * DumpRenderTree/mac/DumpRenderTreeWindow.h: * DumpRenderTree/mac/DumpRenderTreeWindow.mm: (-[DumpRenderTreeWindow close]): (-[DumpRenderTreeWindow webView]): (-[DumpRenderTreeWindow webViewStartedAcceleratedCompositing:]): * DumpRenderTree/mac/EventSendingController.h: * DumpRenderTree/mac/EventSendingController.mm: (+[EventSendingController isSelectorExcludedFromWebScript:]): (+[EventSendingController webScriptNameForSelector:]): (-[EventSendingController dealloc]): (-[EventSendingController currentEventTime]): (-[EventSendingController clearKillRing]): (modifierFlags): (-[EventSendingController mouseDown:withModifiers:]): (-[EventSendingController scalePageBy:atX:andY:]): (-[EventSendingController mouseUp:withModifiers:]): (-[EventSendingController mouseMoveToX:Y:]): (-[EventSendingController mouseScrollByX:andY:continuously:]): (-[EventSendingController keyDown:withModifiers:withLocation:]): * DumpRenderTree/mac/FrameLoadDelegate.mm: (-[FrameLoadDelegate init]): (-[FrameLoadDelegate dealloc]): (-[FrameLoadDelegate processWork:]): (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): (-[FrameLoadDelegate webView:didCommitLoadForFrame:]): (-[FrameLoadDelegate didClearWindowObjectInStandardWorldForFrame:]): * DumpRenderTree/mac/LayoutTestHelper.m: * DumpRenderTree/mac/MockGeolocationProvider.mm: (-[MockGeolocationProvider timerFired]): * DumpRenderTree/mac/TestRunnerMac.mm: (TestRunner::setMainFrameIsFirstResponder): (TestRunner::setAutomaticLinkDetectionEnabled): (TestRunner::setUseDashboardCompatibilityMode): (TestRunner::isCommandEnabled): (TestRunner::inspectorTestStubURL): (TestRunner::apiTestNewWindowDataLoadBaseURL): (TestRunner::abortModal): (TestRunner::setTextDirection): (TestRunner::addChromeInputField): (TestRunner::removeChromeInputField): (TestRunner::focusWebView): (TestRunner::setBackingScaleFactor): (TestRunner::imageCountInGeneralPasteboard const): * DumpRenderTree/mac/UIDelegate.h: * DumpRenderTree/mac/UIDelegate.mm: (-[UIDelegate modalWindowWillClose:]): (-[UIDelegate webViewRunModal:]): (-[UIDelegate webView:supportsFullScreenForElement:withKeyboard:]): (-[UIDelegate dealloc]): * Scripts/check-for-inappropriate-objc-class-names: * TestRunnerShared/UIScriptContext/UIScriptController.cpp: * TestRunnerShared/spi/UIKitTestSPI.h: * TestWebKitAPI/Tests/WTF/darwin/WeakLinking.cpp: * TestWebKitAPI/Tests/WebCore/MarkedText.cpp: (WebCore::operator<<): * TestWebKitAPI/Tests/WebCore/cocoa/DatabaseTrackerTest.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebCore/cocoa/WebCoreNSURLSession.mm: (TestWebKitAPI::WebCoreNSURLSessionTest::SetUp): * TestWebKitAPI/Tests/WebCore/ios/PreviewLoader.cpp: * TestWebKitAPI/Tests/WebKit/NoHistoryItemScrollToFragment.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKit/WKPreferences.cpp: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKitCocoa/AdditionalReadAccessAllowedURLs.mm: * TestWebKitAPI/Tests/WebKitCocoa/AnimatedResize.mm: * TestWebKitAPI/Tests/WebKitCocoa/BundleEditingDelegate.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandle.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/BundleRangeHandlePlugIn.mm: (-[BundleRangeHandlePlugIn webProcessPlugInBrowserContextController:didFinishDocumentLoadForFrame:]): * TestWebKitAPI/Tests/WebKitCocoa/Coding.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/CopyHTML.mm: * TestWebKitAPI/Tests/WebKitCocoa/CopyURL.mm: (createWebViewWithCustomPasteboardDataEnabled): * TestWebKitAPI/Tests/WebKitCocoa/Copying.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/DataDetection.mm: * TestWebKitAPI/Tests/WebKitCocoa/DoAfterNextPresentationUpdateAfterCrash.mm: * TestWebKitAPI/Tests/WebKitCocoa/EditorStateTests.mm: * TestWebKitAPI/Tests/WebKitCocoa/ExitFullscreenOnEnterPiP.mm: * TestWebKitAPI/Tests/WebKitCocoa/FindInPage.mm: * TestWebKitAPI/Tests/WebKitCocoa/FixedLayoutSize.mm: * TestWebKitAPI/Tests/WebKitCocoa/FontAttributes.mm: * TestWebKitAPI/Tests/WebKitCocoa/Geolocation.mm: * TestWebKitAPI/Tests/WebKitCocoa/InteractionDeadlockAfterCrash.mm: * TestWebKitAPI/Tests/WebKitCocoa/LocalStorageClear.mm: (defaultWebsiteCacheDirectory): (defaultApplicationCacheDirectory): (TEST): * TestWebKitAPI/Tests/WebKitCocoa/NSFileManagerExtras.mm: * TestWebKitAPI/Tests/WebKitCocoa/NowPlaying.mm: * TestWebKitAPI/Tests/WebKitCocoa/NowPlayingControlsTests.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteHTML.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteImage.mm: * TestWebKitAPI/Tests/WebKitCocoa/PasteMixedContent.mm: (TestWebKitAPI::TEST): * TestWebKitAPI/Tests/WebKitCocoa/PasteRTFD.mm: * TestWebKitAPI/Tests/WebKitCocoa/QuickLook.mm: * TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptions.mm: (runTestWithWidth): * TestWebKitAPI/Tests/WebKitCocoa/RenderedImageWithOptionsPlugIn.mm: (-[RenderedImageWithOptionsPlugIn renderImageWithWidth:completionHandler:]): * TestWebKitAPI/Tests/WebKitCocoa/SafeBrowsing.mm: * TestWebKitAPI/Tests/WebKitCocoa/ShrinkToFit.mm: * TestWebKitAPI/Tests/WebKitCocoa/UserContentController.mm: * TestWebKitAPI/Tests/WebKitCocoa/VisibleContentRect.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKAttachmentTests.mm: (platformCopyRichTextWithMultipleAttachments): (platformCopyRichTextWithImage): (platformCopyPNG): * TestWebKitAPI/Tests/WebKitCocoa/WKContentViewEditingActions.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKContentViewTargetForAction.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKHTTPCookieStore.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKPDFViewStablePresentationUpdateCallback.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKRequestActivatedElementInfo.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKURLSchemeHandler-leaks.mm: * TestWebKitAPI/Tests/WebKitCocoa/WKWebViewSnapshot.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/WebsiteDataStoreCustomPaths.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/WebsitePolicies.mm: (TEST): * TestWebKitAPI/Tests/WebKitCocoa/_WKInputDelegate.mm: * TestWebKitAPI/Tests/WebKitLegacy/ios/AudioSessionCategoryIOS.mm: * TestWebKitAPI/Tests/WebKitLegacy/ios/SnapshotViaRenderInContext.mm: * TestWebKitAPI/Tests/WebKitLegacy/mac/AccessingPastedImage.mm: * TestWebKitAPI/Tests/ios/AccessibilityTestsIOS.mm: * TestWebKitAPI/Tests/ios/ActionSheetTests.mm: * TestWebKitAPI/Tests/ios/DragAndDropTestsIOS.mm: * TestWebKitAPI/Tests/ios/FocusPreservationTests.mm: * TestWebKitAPI/Tests/ios/KeyboardInputTestsIOS.mm: * TestWebKitAPI/Tests/ios/RenderingProgressTests.mm: * TestWebKitAPI/Tests/ios/ScrollViewInsetTests.mm: * TestWebKitAPI/Tests/ios/SetTimeoutFunction.mm: * TestWebKitAPI/Tests/ios/SynchronousTimeoutTests.mm: * TestWebKitAPI/Tests/ios/TestInputDelegate.h: * TestWebKitAPI/Tests/ios/TestInputDelegate.mm: * TestWebKitAPI/Tests/ios/TextAutosizingBoost.mm: * TestWebKitAPI/Tests/ios/UIPasteboardTests.mm: * TestWebKitAPI/Tests/ios/WKScrollViewDelegate.mm: * TestWebKitAPI/Tests/ios/WKScrollViewTests.mm: * TestWebKitAPI/Tests/ios/WKWebViewAutofillTests.mm: * TestWebKitAPI/Tests/ios/WKWebViewEditActions.mm: * TestWebKitAPI/cocoa/DragAndDropSimulator.h: * TestWebKitAPI/cocoa/TestNavigationDelegate.mm: (-[WKWebView _test_waitForDidFinishNavigation]): * TestWebKitAPI/cocoa/TestWKWebView.h: * TestWebKitAPI/cocoa/TestWKWebView.mm: * TestWebKitAPI/config.h: * TestWebKitAPI/ios/DragAndDropSimulatorIOS.mm: * TestWebKitAPI/ios/TestWKWebViewController.h: * TestWebKitAPI/ios/TestWKWebViewController.mm: * TestWebKitAPI/ios/UIKitSPI.h: * WebKitTestRunner/InjectedBundle/AccessibilityUIElement.cpp: * WebKitTestRunner/InjectedBundle/InjectedBundle.cpp: (WTR::InjectedBundle::beginTesting): * WebKitTestRunner/InjectedBundle/mac/TestRunnerMac.mm: (WTR::TestRunner::inspectorTestStubURL): * WebKitTestRunner/TestController.cpp: (WTR::TestController::webProcessName): (WTR::TestController::networkProcessName): * WebKitTestRunner/TestInvocation.cpp: (WTR::TestInvocation::invoke): (WTR::TestInvocation::didReceiveSynchronousMessageFromInjectedBundle): * WebKitTestRunner/cg/TestInvocationCG.cpp: * WebKitTestRunner/cocoa/TestControllerCocoa.mm: (WTR::initializeWebViewConfiguration): (WTR::TestController::platformCreateWebView): (WTR::TestController::imageCountInGeneralPasteboard const): (WTR::TestController::addTestKeyToKeychain): (WTR::TestController::cleanUpKeychain): (WTR::TestController::keyExistsInKeychain): * WebKitTestRunner/cocoa/TestRunnerWKWebView.h: * WebKitTestRunner/cocoa/TestRunnerWKWebView.mm: * WebKitTestRunner/ios/UIScriptControllerIOS.mm: Canonical link: https://commits.webkit.org/205631@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@237266 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2018-10-18 21:38:50 +00:00
#elif PLATFORM(IOS_FAMILY)
[iOS] Ugly and misaligned form validation bubble https://bugs.webkit.org/show_bug.cgi?id=208472 <rdar://problem/59984027> Reviewed by Tim Horton. In iOS 13, the view of a `UIViewController` that is presented as a popover encompasses the arrow (connected to the popover) that points to the target rect. This means that our current logic for laying out the inner text label of a form validation bubble on iOS no longer works, since it sets a frame that is offset vertically and horizontally from the bounds of the view controller's view. To fix this, we need to respect the safe area insets of the view controller's view when laying out the label. The idiomatic way to do this is to subclass -viewSafeAreaInsetsDidChange and -viewWillLayoutSubviews on the view controller, and update the subview's (i.e. label's) frame; unfortunately, since ValidationBubble is implemented in WebCore, we can't explicitly link against UIKit, so we need to dynamically create a UIViewController subclass and override these subclassing hooks to get our desired behavior. * platform/ValidationBubble.h: * platform/ios/ValidationBubbleIOS.mm: (invokeUIViewControllerSelector): (WebValidationBubbleViewController_dealloc): (WebValidationBubbleViewController_viewDidLoad): (WebValidationBubbleViewController_viewWillLayoutSubviews): (WebValidationBubbleViewController_viewSafeAreaInsetsDidChange): (WebValidationBubbleViewController_labelFrame): (WebValidationBubbleViewController_label): (allocWebValidationBubbleViewControllerInstance): Subclass and create a custom UIViewController to ensure that the label is vertically centered in its popover. See above for more details. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::show): Minor style fixes: remove extraneous `.get()`s on `RetainPtr`, and use property syntax when possible. (WebCore::ValidationBubble::setAnchorRect): Additionally remove a line of code that currently forces the form validation popover to present below its target rect (and therefore have an arrow pointing up). It wasn't apparent why this logic was added in r208361, but it seems the intention wasn't to restrict the popover to presenting below the target. This allows the form validation popover to show up in the case where the input element is aligned to the very bottom of the web view, such that there isn't enough space below the field to show the validation bubble. Canonical link: https://commits.webkit.org/222941@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@259550 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2020-04-05 16:34:39 +00:00
RetainPtr<WebValidationBubbleViewController> m_popoverController;
RetainPtr<WebValidationBubbleTapRecognizer> m_tapRecognizer;
RetainPtr<WebValidationBubbleDelegate> m_popoverDelegate;
WeakObjCPtr<UIViewController> m_presentingViewController;
[WK2][Cocoa] Implement user interface for HTML form validation https://bugs.webkit.org/show_bug.cgi?id=164143 <rdar://problem/28944652> Reviewed by Simon Fraser. Source/WebCore: Add ValidationBubble class to show HTML form validation messages using native dialogs. It currently has an implementation for both Mac and iOS. It is in WebCore under platform/ so that it can be used by both WebKit1 and WebKit2. Update ownership of ValidationMessageClient so that is is owned by the Page using a unique_ptr<>, which seems to be the modern way of handling lifetime for page clients. Test: fast/forms/validation-messages.html * WebCore.xcodeproj/project.pbxproj: * html/HTMLFormControlElement.cpp: (WebCore::HTMLFormControlElement::focusAndShowValidationMessage): * html/ValidationMessage.cpp: (WebCore::ValidationMessage::updateValidationMessage): * page/Page.cpp: (WebCore::Page::Page): (WebCore::Page::~Page): * page/Page.h: (WebCore::Page::validationMessageClient): * page/PageConfiguration.cpp: * page/PageConfiguration.h: * platform/ValidationBubble.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebCore::ValidationBubble::message): * platform/ios/ValidationBubbleIOS.mm: Added. (-[WebValidationBubbleDelegate adaptivePresentationStyleForPresentationController:traitCollection:]): (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::show): (WebCore::ValidationBubble::setAnchorRect): * platform/mac/ValidationBubbleMac.mm: Added. (WebCore::ValidationBubble::ValidationBubble): (WebCore::ValidationBubble::~ValidationBubble): (WebCore::ValidationBubble::showRelativeTo): Source/WebKit2: Implement the ValidationMessageClient in WebKit2 and have it display a ValidationBubble on Cocoa. ValidationBubble is implemented using native popovers on both Mac and iOS. As a result, Mac and iOS WK2 now use native popover for HTML form validation instead of the old Shadow DOM based UI in WebCore. The native popover shows at the bottom (or top) of the input and it disapears as soon as the user starts typing or interacts with the view (e.g. tap / scroll / zoom). The feature is still disabled at runtime. * UIProcess/API/Cocoa/WKWebView.mm: (-[WKWebView _initializeWithConfiguration:]): (-[WKWebView _keyboardWillShow:]): (-[WKWebView _keyboardDidShow:]): (-[WKWebView _contentsOfUserInterfaceItem:]): * UIProcess/API/Cocoa/WKWebViewPrivate.h: * UIProcess/Cocoa/WebPageProxyCocoa.mm: * UIProcess/PageClient.h: * UIProcess/WebPageProxy.cpp: (WebKit::WebPageProxy::handleWheelEvent): (WebKit::WebPageProxy::setPageZoomFactor): (WebKit::WebPageProxy::setPageAndTextZoomFactors): (WebKit::WebPageProxy::pageDidScroll): (WebKit::WebPageProxy::resetState): (WebKit::WebPageProxy::hideValidationMessage): * UIProcess/WebPageProxy.h: (WebKit::WebPageProxy::validationBubble): (WebKit::WebPageProxy::setIsKeyboardAnimatingIn): * UIProcess/WebPageProxy.messages.in: * UIProcess/ios/PageClientImplIOS.h: * UIProcess/ios/PageClientImplIOS.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/ios/WKContentViewInteraction.mm: (-[WKContentView _willStartScrollingOrZooming]): (-[WKContentView scrollViewWillStartPanOrPinchGesture]): (-[WKContentView _didEndScrollingOrZooming]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::dynamicViewportSizeUpdate): (WebKit::WebPageProxy::potentialTapAtPosition): (WebKit::WebPageProxy::showValidationMessage): (WebKit::WebPageProxy::setIsScrollingOrZooming): * UIProcess/mac/PageClientImpl.h: * UIProcess/mac/PageClientImpl.mm: (WebKit::PageClientImpl::createValidationBubble): * UIProcess/mac/WebPageProxyMac.mm: (WebKit::WebPageProxy::showValidationMessage): * WebKit2.xcodeproj/project.pbxproj: * WebProcess/WebCoreSupport/WebValidationMessageClient.cpp: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. (WebKit::WebValidationMessageClient::WebValidationMessageClient): (WebKit::WebValidationMessageClient::~WebValidationMessageClient): (WebKit::WebValidationMessageClient::showValidationMessage): (WebKit::WebValidationMessageClient::hideValidationMessage): (WebKit::WebValidationMessageClient::isValidationMessageVisible): * WebProcess/WebCoreSupport/WebValidationMessageClient.h: Copied from Tools/DumpRenderTree/mac/UIScriptControllerMac.mm. * WebProcess/WebPage/WebPage.cpp: (WebKit::m_userInterfaceLayoutDirection): Tools: Add support for UIScriptController::contentsOfUserInterfaceItem("validationBubble") on both Mac and iOS to retrieve the currently displayed validation message. * DumpRenderTree/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): * TestRunnerShared/UIScriptContext/UIScriptController.cpp: (WTR::UIScriptController::contentsOfUserInterfaceItem): (WTR::UIScriptController::selectFormAccessoryPickerRow): * WebKitTestRunner/mac/UIScriptControllerMac.mm: (WTR::UIScriptController::contentsOfUserInterfaceItem): LayoutTests: * fast/forms/validation-messages-expected.txt: Added. * fast/forms/validation-messages.html: Added. Add layout test coverage for checking that the right validation messages are displayed when submitting forms with constraint violations. More testing will be landed in follow up to cover other things besides the messages (e.g. when does the bubble disappear). * platform/mac-wk1/TestExpectations: Skip new test on WebKit1 because the feature is WebKit2 only at the moment. * platform/ios-simulator-wk2/TestExpectations: * platform/mac-wk2/TestExpectations: Skip tests for the Shadow DOM based HTML form validation UI on Mac and iOS WK2 now that those ports use native popovers instead. Canonical link: https://commits.webkit.org/182108@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@208361 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2016-11-04 01:38:31 +00:00
#endif
};
}