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

Unified Diff: blimp/client/core/contents/android/blimp_view.cc

Issue 2054193002: Android mouse events shouldn't appear as TouchEvents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a test, etc. Created 4 years, 1 month 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 | « blimp/client/app/android/blimp_view.cc ('k') | content/browser/android/content_view_core_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/core/contents/android/blimp_view.cc
diff --git a/blimp/client/core/contents/android/blimp_view.cc b/blimp/client/core/contents/android/blimp_view.cc
index d7e0fd0bdcc0129f9a04e29c35df60c119f9aacd..16eeb557fc88184bc943c92a3a94337b8359cadb 100644
--- a/blimp/client/core/contents/android/blimp_view.cc
+++ b/blimp/client/core/contents/android/blimp_view.cc
@@ -91,7 +91,7 @@ jboolean BlimpView::OnTouchEvent(
1.f / device_scale_factor_dp_to_px, env, motion_event, time_ms,
android_action, pointer_count, history_size, action_index,
android_button_state, android_meta_state, raw_pos_x - pos_x_0,
- raw_pos_y - pos_y_0, pointer0, pointer1);
+ raw_pos_y - pos_y_0, &pointer0, &pointer1);
return blimp_contents_view_->OnTouchEvent(event);
}
« no previous file with comments | « blimp/client/app/android/blimp_view.cc ('k') | content/browser/android/content_view_core_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698