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

Unified Diff: services/native_viewport/platform_viewport_android.h

Issue 1029753002: Plumbs through android supplying multipe touch points (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: no pointer 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
Index: services/native_viewport/platform_viewport_android.h
diff --git a/services/native_viewport/platform_viewport_android.h b/services/native_viewport/platform_viewport_android.h
index 85f837b1e64eccadbdc5d03563fc8a243f51dfae..75ed03829a295d2c7664e822fa45205a3662ed88 100644
--- a/services/native_viewport/platform_viewport_android.h
+++ b/services/native_viewport/platform_viewport_android.h
@@ -38,8 +38,19 @@ class PlatformViewportAndroid : public PlatformViewport {
jint width,
jint height,
jfloat density);
- bool TouchEvent(JNIEnv* env, jobject obj, jint pointer_id, jint action,
- jfloat x, jfloat y, jlong time_ms);
+ bool TouchEvent(JNIEnv* env,
+ jobject obj,
+ jlong time_ms,
+ jint masked_action,
+ jint pointer_id,
+ jfloat x,
+ jfloat y,
+ jfloat pressure,
+ jfloat touch_major,
+ jfloat touch_minor,
+ jfloat orientation,
+ jfloat h_wheel,
+ jfloat v_wheel);
bool KeyEvent(JNIEnv* env,
jobject obj,
bool pressed,
« no previous file with comments | « services/native_viewport/native_viewport_impl.cc ('k') | services/native_viewport/platform_viewport_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698