Chromium Code Reviews

Unified Diff: ui/events/events_stub.cc

Issue 755403006: Added experimental Touch.tilt, Touch.tiltDirection support for Android (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/events_stub.cc
diff --git a/ui/events/events_stub.cc b/ui/events/events_stub.cc
index 5c8397400a5d4e4e64979a931d4a1ce8ff7748c7..65b6281ad15a4ae32e28ebd7d6922cd61c60952d 100644
--- a/ui/events/events_stub.cc
+++ b/ui/events/events_stub.cc
@@ -97,6 +97,11 @@ float GetTouchAngle(const base::NativeEvent& native_event) {
return 0.f;
}
+float GetTouchTilt(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