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

Unified Diff: blimp/client/app/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: Kept old touch-like behavior in pre-M. 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
Index: blimp/client/app/android/blimp_view.cc
diff --git a/blimp/client/app/android/blimp_view.cc b/blimp/client/app/android/blimp_view.cc
index 3c59192d4cfa188c67bd47073a6bf08307c66ba3..5e447f2e10f5c1548ff843ffb9e4f3c3050db380 100644
--- a/blimp/client/app/android/blimp_view.cc
+++ b/blimp/client/app/android/blimp_view.cc
@@ -206,8 +206,8 @@ jboolean BlimpView::OnTouchEvent(
android_meta_state,
raw_pos_x - pos_x_0,
raw_pos_y - pos_y_0,
- pointer0,
- pointer1);
+ &pointer0,
+ &pointer1);
return document_manager_->OnTouchEvent(event);
}

Powered by Google App Engine
This is Rietveld 408576698