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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java

Issue 1760183002: Fixed missing pointerTypes for touch events. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed line-lengths, added a bug ref. Created 4 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: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
index 9c2105f3bd45379ce2bc120de6f6bc7a2b4b6be5..4db52f45ca4f9dd740fdf8bb2003516846e5ea5d 100644
--- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
+++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java
@@ -1677,7 +1677,7 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Screen
mContainerView.removeCallbacks(mFakeMouseMoveRunnable);
if (mNativeContentViewCore != 0) {
nativeSendMouseMoveEvent(mNativeContentViewCore, offset.getEventTime(),
- offset.getX(), offset.getY());
+ offset.getX(), offset.getY(), event.getToolType(0));
}
return true;
} finally {
@@ -3248,7 +3248,7 @@ public class ContentViewCore implements AccessibilityStateChangeListener, Screen
boolean isTouchHandleEvent);
private native int nativeSendMouseMoveEvent(
- long nativeContentViewCoreImpl, long timeMs, float x, float y);
+ long nativeContentViewCoreImpl, long timeMs, float x, float y, int toolType);
private native int nativeSendMouseWheelEvent(long nativeContentViewCoreImpl, long timeMs,
float x, float y, float ticksX, float ticksY, float pixelsPerTick);
« no previous file with comments | « content/browser/renderer_host/input/web_input_event_builders_android.cc ('k') | content/renderer/pepper/event_conversion.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698