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

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: Remove unused code (event_sender.cc) Created 5 years, 9 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
« no previous file with comments | « ui/events/event_utils.h ('k') | ui/events/gesture_detection/motion_event.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/events_stub.cc
diff --git a/ui/events/events_stub.cc b/ui/events/events_stub.cc
index a5a4fbdbf02bf75ff672c18f0e1d751a6dd48d04..36da96303979ed961ae6830e0553473b7a64fb5f 100644
--- a/ui/events/events_stub.cc
+++ b/ui/events/events_stub.cc
@@ -94,6 +94,16 @@ float GetTouchAngle(const base::NativeEvent& native_event) {
return 0.f;
}
+float GetTouchTilt(const base::NativeEvent& native_event) {
+ NOTIMPLEMENTED();
+ return std::numeric_limits<float>::quiet_NaN();
+}
+
+float GetTouchTiltDirection(const base::NativeEvent& native_event) {
+ NOTIMPLEMENTED();
+ return std::numeric_limits<float>::quiet_NaN();
+}
+
float GetTouchForce(const base::NativeEvent& native_event) {
NOTIMPLEMENTED();
return 0.f;
« no previous file with comments | « ui/events/event_utils.h ('k') | ui/events/gesture_detection/motion_event.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698