3697b18261
https://bugs.webkit.org/show_bug.cgi?id=212060 <rdar://problem/47653578> Reviewed by Wenson Hsieh. Source/WebCore: When the screen is being captured, turn off the password echo. * editing/InsertIntoTextNodeCommand.cpp: (WebCore::InsertIntoTextNodeCommand::doApply): * page/EditorClient.h: (WebCore::EditorClient::isScreenCaptured const): Source/WebKit: Use the UIScreen state and notification to determine if the screen is being shared or captured. This flag is for all capture methods, Air Play, Screen Recording, etc. If the screen is being captured, turn off the password echo to prevent the password from being leaked. * UIProcess/WebPageProxy.h: * UIProcess/ios/WKContentView.mm: (-[WKContentView _commonInitializationWithProcessPool:configuration:]): (-[WKContentView _screenCapturedDidChange:]): * UIProcess/ios/WebPageProxyIOS.mm: (WebKit::WebPageProxy::setIsScreenCaptured): * WebProcess/WebCoreSupport/WebEditorClient.h: * WebProcess/WebCoreSupport/ios/WebEditorClientIOS.mm: (WebKit::WebEditorClient::isScreenCaptured const): * WebProcess/WebPage/WebPage.h: (WebKit::WebPage::isScreenCaptured const): * WebProcess/WebPage/WebPage.messages.in: * WebProcess/WebPage/ios/WebPageIOS.mm: (WebKit::WebPage::setIsScreenCaptured): Canonical link: https://commits.webkit.org/225038@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@261966 268f45cc-cd09-0410-ab3c-d52691b4dbfc |
||
---|---|---|
.. | ||
WebDefaultFormDelegate.h | ||
WebDefaultFormDelegate.m | ||
WebDefaultFrameLoadDelegate.h | ||
WebDefaultFrameLoadDelegate.m | ||
WebDefaultResourceLoadDelegate.h | ||
WebDefaultResourceLoadDelegate.m | ||
WebDefaultUIKitDelegate.h | ||
WebDefaultUIKitDelegate.m |