Title: [262315] trunk/Tools
- Revision
- 262315
- Author
- [email protected]
- Date
- 2020-05-29 13:28:30 -0700 (Fri, 29 May 2020)
Log Message
[Win] Allow compiling with the TOUCH_EVENTS enabled
https://bugs.webkit.org/show_bug.cgi?id=212528
Patch by Pavel <[email protected]> on 2020-05-29
Reviewed by Fujii Hironori.
Aligning Win with GTK, adding missing EventSenderProxy stubs.
This allows compiling Win with TOUCH_EVENTS and unlocks event
injection / processing by the automation drivers
* WebKitTestRunner/win/EventSenderProxyWin.cpp:
(WTR::EventSenderProxy::addTouchPoint):
(WTR::EventSenderProxy::updateTouchPoint):
(WTR::EventSenderProxy::setTouchModifier):
(WTR::EventSenderProxy::setTouchPointRadius):
(WTR::EventSenderProxy::touchStart):
(WTR::EventSenderProxy::touchMove):
(WTR::EventSenderProxy::touchEnd):
(WTR::EventSenderProxy::touchCancel):
(WTR::EventSenderProxy::clearTouchPoints):
(WTR::EventSenderProxy::releaseTouchPoint):
(WTR::EventSenderProxy::cancelTouchPoint):
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (262314 => 262315)
--- trunk/Tools/ChangeLog 2020-05-29 20:23:33 UTC (rev 262314)
+++ trunk/Tools/ChangeLog 2020-05-29 20:28:30 UTC (rev 262315)
@@ -1,3 +1,27 @@
+2020-05-29 Pavel <[email protected]>
+
+ [Win] Allow compiling with the TOUCH_EVENTS enabled
+ https://bugs.webkit.org/show_bug.cgi?id=212528
+
+ Reviewed by Fujii Hironori.
+
+ Aligning Win with GTK, adding missing EventSenderProxy stubs.
+ This allows compiling Win with TOUCH_EVENTS and unlocks event
+ injection / processing by the automation drivers
+
+ * WebKitTestRunner/win/EventSenderProxyWin.cpp:
+ (WTR::EventSenderProxy::addTouchPoint):
+ (WTR::EventSenderProxy::updateTouchPoint):
+ (WTR::EventSenderProxy::setTouchModifier):
+ (WTR::EventSenderProxy::setTouchPointRadius):
+ (WTR::EventSenderProxy::touchStart):
+ (WTR::EventSenderProxy::touchMove):
+ (WTR::EventSenderProxy::touchEnd):
+ (WTR::EventSenderProxy::touchCancel):
+ (WTR::EventSenderProxy::clearTouchPoints):
+ (WTR::EventSenderProxy::releaseTouchPoint):
+ (WTR::EventSenderProxy::cancelTouchPoint):
+
2020-05-27 Darin Adler <[email protected]>
Remove things from FeatureDefines.xcconfig that are covered by PlatformEnableCocoa.h
Modified: trunk/Tools/WebKitTestRunner/win/EventSenderProxyWin.cpp (262314 => 262315)
--- trunk/Tools/WebKitTestRunner/win/EventSenderProxyWin.cpp 2020-05-29 20:23:33 UTC (rev 262314)
+++ trunk/Tools/WebKitTestRunner/win/EventSenderProxyWin.cpp 2020-05-29 20:28:30 UTC (rev 262315)
@@ -312,4 +312,50 @@
SetKeyboardState(keyState);
}
+#if ENABLE(TOUCH_EVENTS)
+void EventSenderProxy::addTouchPoint(int, int)
+{
+}
+
+void EventSenderProxy::updateTouchPoint(int, int, int)
+{
+}
+
+void EventSenderProxy::setTouchModifier(WKEventModifiers, bool)
+{
+}
+
+void EventSenderProxy::setTouchPointRadius(int, int)
+{
+}
+
+void EventSenderProxy::touchStart()
+{
+}
+
+void EventSenderProxy::touchMove()
+{
+}
+
+void EventSenderProxy::touchEnd()
+{
+}
+
+void EventSenderProxy::touchCancel()
+{
+}
+
+void EventSenderProxy::clearTouchPoints()
+{
+}
+
+void EventSenderProxy::releaseTouchPoint(int)
+{
+}
+
+void EventSenderProxy::cancelTouchPoint(int)
+{
+}
+#endif // ENABLE(TOUCH_EVENTS)
+
} // namespace WTR
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes