[webkit-changes] [WebKit/WebKit] bb91f7: Add <input type=checkbox switch> macOS haptic feed...
Anne van Kesteren
noreply at github.com
Thu Dec 7 11:36:34 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: bb91f7ea979b47b2d2097d6a423b461c4d37d8ec
https://github.com/WebKit/WebKit/commit/bb91f7ea979b47b2d2097d6a423b461c4d37d8ec
Author: Anne van Kesteren <annevk at annevk.nl>
Date: 2023-12-07 (Thu, 07 Dec 2023)
Changed paths:
M Source/WebCore/html/CheckboxInputType.cpp
M Source/WebCore/page/ChromeClient.h
M Source/WebCore/rendering/RenderThemeMac.h
M Source/WebKit/UIProcess/PageClient.h
M Source/WebKit/UIProcess/WebPageProxy.cpp
M Source/WebKit/UIProcess/WebPageProxy.h
M Source/WebKit/UIProcess/WebPageProxy.messages.in
M Source/WebKit/UIProcess/mac/PageClientImplMac.h
M Source/WebKit/UIProcess/mac/PageClientImplMac.mm
M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp
M Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h
Log Message:
-----------
Add <input type=checkbox switch> macOS haptic feedback
https://bugs.webkit.org/show_bug.cgi?id=265991
Reviewed by Aditya Keerthi.
During pointer tracking when the visually on state changes the switch
control is to provide haptic feedback.
* Source/WebCore/html/CheckboxInputType.cpp:
(WebCore::CheckboxInputType::updateIsSwitchVisuallyOnFromAbsoluteLocation):
* Source/WebCore/page/ChromeClient.h:
(WebCore::ChromeClient::inputElementDidResignStrongPasswordAppearance):
Remove a trailing semicolon here for consistency.
(WebCore::ChromeClient::performSwitchHapticFeedback):
* Source/WebCore/rendering/RenderThemeMac.h:
Drive-by fix to mark this method private.
* Source/WebKit/UIProcess/PageClient.h:
(WebKit::PageClient::performSwitchHapticFeedback):
* Source/WebKit/UIProcess/WebPageProxy.cpp:
(WebKit::WebPageProxy::performSwitchHapticFeedback):
* Source/WebKit/UIProcess/WebPageProxy.h:
* Source/WebKit/UIProcess/WebPageProxy.messages.in:
* Source/WebKit/UIProcess/mac/PageClientImplMac.h:
* Source/WebKit/UIProcess/mac/PageClientImplMac.mm:
(WebKit::PageClientImpl::performSwitchHapticFeedback):
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.cpp:
(WebKit::WebChromeClient::performSwitchHapticFeedback):
* Source/WebKit/WebProcess/WebCoreSupport/WebChromeClient.h:
Canonical link: https://commits.webkit.org/271686@main
More information about the webkit-changes
mailing list