Chromium Code Reviews

Unified Diff: ui/events/cocoa/events_mac.mm

Issue 755403006: Added experimental Touch.tilt, Touch.tiltDirection support for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added param 'set_state_moved' to EventSender::SetTouchPointTilt() Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ui/events/cocoa/events_mac.mm
diff --git a/ui/events/cocoa/events_mac.mm b/ui/events/cocoa/events_mac.mm
index 64eb972e15e25c225ed9ba2ca939444ec572025e..b9a46ba0217ea65c9273a8b6448ef94db28f01ed 100644
--- a/ui/events/cocoa/events_mac.mm
+++ b/ui/events/cocoa/events_mac.mm
@@ -185,6 +185,16 @@ float GetTouchAngle(const base::NativeEvent& native_event) {
return 0.f;
}
+float GetTouchTilt(const base::NativeEvent& native_event) {
+ NOTIMPLEMENTED();
+ return 0.f;
+}
+
+float GetTouchTiltDirection(const base::NativeEvent& native_event) {
+ NOTIMPLEMENTED();
+ return 0.f;
+}
+
float GetTouchForce(const base::NativeEvent& native_event) {
NOTIMPLEMENTED();
return 0.f;

Powered by Google App Engine