Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(213)

Unified Diff: ui/events/win/events_win.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: Added logic to detect whether Tilt, TiltDirection are supported (use NaN value, if not) Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/events/win/events_win.cc
diff --git a/ui/events/win/events_win.cc b/ui/events/win/events_win.cc
index 98f4775826eb1bfc57d9b56e0cecfdf58248cc6b..cdc472e722420c8a4e57a26653200e15af3dec2a 100644
--- a/ui/events/win/events_win.cc
+++ b/ui/events/win/events_win.cc
@@ -331,6 +331,16 @@ float GetTouchAngle(const base::NativeEvent& native_event) {
return 0.0;
}
+float GetTouchTilt(const base::NativeEvent& native_event) {
+ NOTIMPLEMENTED();
+ return 0.0;
+}
+
+float GetTouchTiltDirection(const base::NativeEvent& native_event) {
+ NOTIMPLEMENTED();
+ return 0.0;
+}
+
float GetTouchForce(const base::NativeEvent& native_event) {
NOTIMPLEMENTED();
return 0.0;

Powered by Google App Engine
This is Rietveld 408576698