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

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: Added meta_state plumbing. Created 4 years, 3 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: 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 9e7e4656ddd1fd4c16a1b6dcebf3ef4db1dda5e8..87525d8000c60461b8180e972502e223ddde8712 100644
--- a/blimp/client/core/contents/android/blimp_view.cc
+++ b/blimp/client/core/contents/android/blimp_view.cc
@@ -92,7 +92,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 | « no previous file | content/browser/android/content_view_core_impl.h » ('j') | content/browser/android/content_view_core_impl.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698