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

Unified Diff: content/browser/renderer_host/input/web_input_event_builders_android.h

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
Index: content/browser/renderer_host/input/web_input_event_builders_android.h
diff --git a/content/browser/renderer_host/input/web_input_event_builders_android.h b/content/browser/renderer_host/input/web_input_event_builders_android.h
index d4394b0cfb0570b0a6f5580fb3bff42568ec87a0..1d8e0bc02f64a8a1da751b8454ad5e4b6861fb29 100644
--- a/content/browser/renderer_host/input/web_input_event_builders_android.h
+++ b/content/browser/renderer_host/input/web_input_event_builders_android.h
@@ -17,13 +17,17 @@ class WebMouseEventBuilder {
public:
static blink::WebMouseEvent Build(
blink::WebInputEvent::Type type,
- blink::WebMouseEvent::Button button,
double time_sec,
int window_x,
int window_y,
int modifiers,
int click_count,
- blink::WebPointerProperties::PointerType pointer_type);
+ int pointer_id,
+ float pressure,
+ float orientation_rad,
+ float tilt_rad,
+ int changed_button,
+ int tool_type);
};
class WebMouseWheelEventBuilder {

Powered by Google App Engine
This is Rietveld 408576698